export type RetrievalTimeHint = 'current' | 'recent' | 'historical' | 'future'; export interface RetrievalScope { sessionKey?: string; workspaceId?: string; projectId?: string; } export interface RetrievalQueryProfile { normalized: string; expanded: string; terms: string[]; cjkBigrams: string[]; identifiers: string[]; intentKinds: string[]; timeHints: RetrievalTimeHint[]; selfReview: boolean; scope: RetrievalScope; } export declare function isSelfReviewQuery(query: string): boolean; export declare function buildRetrievalQueryProfile(query: string, scope?: RetrievalScope): RetrievalQueryProfile;