export declare const DISPATCH_PROVENANCE_ENV = "PEAKS_SUB_AGENT_DISPATCH_PROVENANCE"; export type DispatchProvenance = { readonly schemaVersion: 1; readonly token: string; readonly sessionId: string; readonly requestId: string; readonly leaseId: string; readonly isolation: 'worktree'; readonly issuedAt: string; }; export declare function createDispatchProvenanceToken(input: { readonly sessionId: string; readonly requestId: string; readonly leaseId: string; }): string; export declare function dispatchProvenanceFilePath(projectRoot: string, sessionId: string, token: string): string; export declare function writeDispatchProvenance(input: { readonly projectRoot: string; readonly record: DispatchProvenance; }): void; export declare function readDispatchProvenance(input: { readonly projectRoot: string; readonly sessionId: string; readonly token: string; }): DispatchProvenance | null;