/** This is a host-private mutation journal, not a broker lease/token store. * A terminal receipt proves that this acquire cannot later grant; it does not * prove that an already granted reservation or CUDA allocation has gone away. * No elapsed timeout or empty telemetry snapshot changes a pending record. */ export interface NolCudaMutationRequest { ownerId: string; gpuUuid: string; requestedMiB: number; modelId: string; expectedDurationSeconds: number; } export interface NolCudaMutationSummary { schema: "omnius.nol.cuda-mutation-summary.v1"; ownerPrefix: string; complete: boolean; matching: number; terminal: number; pending: number; unknown: string[]; } type State = "may_have_been_sent" | "not_sent" | "refused" | "granted"; export interface NolCudaMutationTicket { readonly mutationId: string; } export interface NolCudaMutationJournal { begin(request: NolCudaMutationRequest): Promise; finish(ticket: NolCudaMutationTicket, state: Exclude): Promise; inspect(ownerPrefix: string, signal?: AbortSignal): Promise; } /** Inert construction. Storage is bounded to 4096 8-KiB records plus one * fixed-size atomic update per record. Exhaustion fails before another send. * No records are discarded merely because leases disappeared or time elapsed. */ export declare function createNolCudaMutationJournal(root?: string): NolCudaMutationJournal; export {};