export type PromptCategory = "create" | "edit" | "summarize" | "analyze" | "question" | "other"; export interface SafePromptMetadata { prompt_category: PromptCategory; prompt_length_bucket: string; prompt_hash?: string; } /** * Derives coarse prompt metadata without returning or persisting the prompt. * The HMAC key stays in tab-local sessionStorage and rotates with the analytics * session, so prompt hashes cannot be joined across browser sessions. */ export declare function summarizePrompt(prompt: string): Omit; export declare function buildSafePromptHash(prompt: string): Promise; export declare function buildSafePromptMetadata(prompt: string): Promise;