import type { AssertionAuthority, AssertionKind, AssertionVolatility, UserModelScopeType } from '../domain.js'; export interface OwnerSupport { allowed: boolean; direct: boolean; reason?: 'non_owner_content' | 'temporary_context' | 'local_instruction' | 'unsupported_attribution'; fingerprint: string; } /** Extraction can only name operations supported by the execution-context consumer. */ export declare function supportsResponseApplicability(applicability?: Record): boolean; /** Read scope qualifiers in the containing owner clause, including words outside the selected quote. */ export declare function ownerMemoryScope(text: string, quote: string): UserModelScopeType | undefined; export declare function ownerExcludesGlobalScope(text: string, quote: string): boolean; export declare function isStandingToolInstruction(text: string, quote: string): boolean; /** A durable tool instruction can cover every matching operation in just one project. */ export declare function standingToolScope(text: string, quote: string, hasProject: boolean): UserModelScopeType | undefined; /** Inspect the source clause, not merely the extractor's chosen substring or authority label. */ export declare function assessOwnerSupport(input: { text: string; quote: string; kind?: AssertionKind; authority?: AssertionAuthority; volatility?: AssertionVolatility; validTo?: number; observedAt?: number; }): OwnerSupport; export declare function hasOwnerMemoryDirective(text: string, command: 'remember' | 'correct' | 'forget' | 'confirm'): boolean; /** Re-evaluate authority and independent support at both parse and commit boundaries. */ export declare function assessAssertionSupport(input: { kind: AssertionKind; authority: AssertionAuthority; volatility: AssertionVolatility; validTo?: number; observedAt: number; action: 'create' | 'merge' | 'replace'; sources: Array<{ ref: string; role: string; text: string; quote: string; }>; }): { allowed: boolean; authority: AssertionAuthority; reasonCode?: string; }; /** Source attribution for work facts does not require a first-person user statement. */ export declare function isOwnerAuthoredSpan(text: string, quote: string): boolean; /** Mutating an existing memory requires an entirely owned span, not mixed quoted and owned text. */ export declare function isFullyOwnerAuthoredSpan(text: string, quote: string): boolean; /** A bounded repair hint; these clauses remain subject to normal model and host admission. */ export declare function directPreferenceClauses(text: string): string[]; /** Choices remain observations; these hints never authorize an explicit user fact. */ export declare function observedChoiceClauses(text: string): string[];