/** * Create a PreCompact hook function for a conversation. * * Archives the transcript to: * local-server/data/conversations/{conversationKey}/YYYY-MM-DD-{timestamp}.md * * The SDK passes PreCompactHookInput which includes `transcript_path` (a file path * to a JSONL file), NOT the transcript content itself. */ export declare function createPreCompactHook(conversationKey: string): (params: { transcript_path: string; session_id: string; [key: string]: unknown; }) => Promise<{}>;