export declare const GJC_MCP_DELEGATE_FLOW_ACTIVATION = "$gjc-mcp-delegate-flow"; export interface McpDelegateHostContextV1 { schema_version: 1; activation: typeof GJC_MCP_DELEGATE_FLOW_ACTIVATION; session_id: string | null; thread_id: string | null; turn_id: string | null; cwd: string; source: "user_prompt_submit"; recorded_at: string; prompt_excerpt: string; } export declare function detectMcpDelegateFlowActivation(prompt: string): boolean; export declare function mcpDelegateHostContextPath(cwd: string, sessionId: string): string; export declare function persistMcpDelegateHostContext(input: { cwd: string; sessionId?: string; threadId?: string; turnId?: string; prompt: string; }): Promise<{ path: string; context: McpDelegateHostContextV1; } | null>; export declare function readMcpDelegateHostContext(cwd: string, sessionId: string): Promise; export declare function listMcpDelegateHostContexts(cwd: string): Promise<{ contexts: McpDelegateHostContextV1[]; failures: number; }>;