import type { Config } from '../config/schema.js'; import type { CaptureScopeContext } from '../user-model/capture/executor.js'; /** Automatic recall keeps a strict same-agent, same-workspace, same-project source boundary. */ export declare function canRecallConversation(config: Config | undefined, context: CaptureScopeContext, conversationId: string): boolean; /** Reading raw evidence in automatic recall cannot widen the scope of its associated saved fact. */ export declare function canRecallHistoryEntry(context: CaptureScopeContext, conversationId: string, entryId: string | null, text: string): boolean; /** * Explicit cross-session tool access allows owner direct conversations across agents, * projects, and workspaces (including Ada's personal conversation), while preserving * privacy boundaries (owner-only, non-temporary, session-only markers, and session-scoped facts). */ export declare function canSearchConversation(config: Config | undefined, context: CaptureScopeContext, conversationId: string): boolean; export declare function canShareConversationHistory(config: Config, conversationId: string, sourceConversationId?: string): boolean; /** Explicit cross-session reads still withhold session-only markers and session-scoped facts. */ export declare function canSearchHistoryEntry(context: Partial, conversationId: string, entryId: string | null, text: string): boolean;