package channel

import "github.com/tidbcloud/AgentTeam/internal/unread"

// ChannelUnreadReader is the owner-local unread runtime event surface used by channel routes.
type ChannelUnreadReader interface {
	WorkspaceHasUnread(workspaceID string, memberID string) bool
	WorkspaceUnreadConversationCount(workspaceID string, memberID string) int64
	ApplyScopeInvalidated(event unread.ScopeInvalidated) error
}
