import { type ICodexCreationRuntime, type IControllerCodexCreationDocument } from './classes.codexcreationmodels.js'; import type { IControllerCodexModelChoice } from '../dist_ts_interfaces/index.js'; export interface ICodexCreationScope { projectIdentityId: string; operationId: string; } export interface IBeginCodexCreationInput extends ICodexCreationScope { connection?: IControllerCodexCreationDocument['connection']; title: string; model?: IControllerCodexModelChoice; } /** Durable pre-ID intent. This store never retries a provider operation. */ export declare class ControllerCodexCreationStore { private readonly issuerId; constructor(issuerId: string); begin(inputArg: IBeginCodexCreationInput): Promise; get(scopeArg: ICodexCreationScope): Promise; listOutstanding(projectIdArg: string, signalArg?: AbortSignal): Promise; findUnmaterialized(projectIdArg: string, nativeIdArg: string): Promise; completeDeletion(scopeArg: ICodexCreationScope): Promise; dispatch(scopeArg: ICodexCreationScope, runtimeArg: ICodexCreationRuntime): Promise; bind(scopeArg: ICodexCreationScope, generationArg: string, nativeIdArg: string, createdAtArg: number): Promise; admit(scopeArg: ICodexCreationScope, identityIdArg: string): Promise; finalizeMetadata(scopeArg: ICodexCreationScope): Promise; recordTurnDispatch(scopeArg: ICodexCreationScope): Promise; /** Only called while the admission lock proves no first-turn frame was dispatched. */ cancelUndispatchedTurn(scopeArg: ICodexCreationScope): Promise; materialize(scopeArg: ICodexCreationScope): Promise; /** Caller must prove any dispatch runtime ended, and retire partial managed identity first. */ retireUnmaterialized(scopeArg: ICodexCreationScope, endedGenerationArg?: string): Promise; private transition; private id; private assertProject; private body; }