import type { DatabaseSync } from 'node:sqlite'; import type { PersonaJob, PersonaParagraph, PersonaSource, PersonaView } from './types.js'; export declare function initializePersona(db: DatabaseSync): void; /** Bounded user evidence only: never derive a user profile from assistant prose. */ export declare function personaSources(db: DatabaseSync, companionId: string, scopeId: string, now?: number): PersonaSource[]; export declare function readPersona(db: DatabaseSync, companionId: string, scopeId: string, now?: number, sources?: PersonaSource[]): PersonaView; export declare function claimPersona(db: DatabaseSync, companionId: string, scopeId: string, now?: number): PersonaJob | undefined; export declare function finishPersona(db: DatabaseSync, job: PersonaJob, paragraphs: PersonaParagraph[], now?: number): void; export declare function failPersona(db: DatabaseSync, job: PersonaJob, error: string, now?: number): void; export declare function requestPersona(db: DatabaseSync, scopeId: string, version: string, companionId: string, paragraphId?: string, correction?: string): void; //# sourceMappingURL=store.d.ts.map