/** * Stores the last few successful briefs per document-type + field-name. * Used to show "Recently used" suggestion chips in the GenerateDialog. * Tracks usage count so frequently-used briefs sort higher (#61). */ export interface RecentBrief { brief: string; timestamp: number; appId?: string; /** Number of times this brief has been used successfully. */ useCount: number; } export declare function getRecentBriefs(documentType?: string, fieldName?: string): RecentBrief[]; export declare function saveRecentBrief(documentType: string | undefined, fieldName: string | undefined, brief: string, appId?: string): void; export declare function clearRecentBriefs(documentType?: string, fieldName?: string): void;