export declare const LIVE_CONTACT_OPERATIONS: readonly ["conductor-session", "worker-session", "opposite-engine-grade", "bounded-reflection", "github-event-sync", "git-branch-push", "github-review-read", "github-pr-create"]; export declare const PRE_DISPATCH_ADVICE_OPERATION: "pre-dispatch-advice"; export type BaseLiveContactOperation = (typeof LIVE_CONTACT_OPERATIONS)[number]; export type LiveContactOperation = BaseLiveContactOperation | typeof PRE_DISPATCH_ADVICE_OPERATION; export type LiveContactSurface = "claude-interactive" | "codex-goal" | "codex-exec" | "github-api-via-gh" | "git-origin"; export interface LiveDeliveryAuthorization { readonly schema_version: 1; readonly authorization_id: string; readonly conductor_session_id: string; readonly repository: string; readonly human_confirmed: true; readonly expected_provider_spend: "subscription"; readonly expected_github_spend: "none"; readonly allowed_operations: readonly BaseLiveContactOperation[]; readonly created_at: string; } export interface PreDispatchAdviceAuthorization { readonly schema_version: 1; readonly authorization_id: string; readonly live_delivery_authorization_id: string; readonly conductor_session_id: string; readonly repository: string; readonly operation: typeof PRE_DISPATCH_ADVICE_OPERATION; readonly human_confirmed: true; readonly expected_provider_spend: "subscription"; readonly created_at: string; } export interface LiveContactDisclosure { readonly schema_version: 1; readonly contact_id: string; readonly authorization_id: string; readonly conductor_session_id: string; readonly repository: string; readonly operation: LiveContactOperation; readonly contact_surface: LiveContactSurface; readonly subject_id: string; readonly request_sha256: string; readonly expected_spend: "none" | "subscription"; readonly disclosed_at: string; } export interface LiveContactReference { readonly contact_id: string; readonly sha256: string; readonly file_name: string; } export declare function authorizeLiveDelivery(options: { readonly stateRoot: string; readonly conductorSessionId: string; readonly repository: string; readonly createdAt: string; }): LiveDeliveryAuthorization; export declare function readLiveDeliveryAuthorization(stateRoot: string): LiveDeliveryAuthorization | undefined; export declare function authorizePreDispatchAdvice(options: { readonly stateRoot: string; readonly authorization: LiveDeliveryAuthorization; readonly createdAt: string; }): PreDispatchAdviceAuthorization; export declare function readPreDispatchAdviceAuthorization(stateRoot: string): PreDispatchAdviceAuthorization | undefined; export declare function discloseLiveContact(options: { readonly stateRoot: string; readonly authorization: LiveDeliveryAuthorization; readonly adviceAuthorization?: PreDispatchAdviceAuthorization; readonly operation: LiveContactOperation; readonly contactSurface: LiveContactSurface; readonly subjectId: string; readonly request: unknown; readonly disclosedAt: string; }): LiveContactReference; export declare function readLiveContact(stateRoot: string, ref: LiveContactReference): LiveContactDisclosure; export declare function listLiveContacts(stateRoot: string): readonly Readonly<{ reference: LiveContactReference; disclosure: LiveContactDisclosure; }>[];