import type { Context } from '@deepseek-ai/cordis'; import type { GenerateOptions } from '@deepseek-ai/dsh-llm'; import type { Session, SessionEvent } from '@deepseek-ai/dsh-session'; /** The durable DSH boundary, never a session-wide credit exemption. */ export declare function turnOperationId(session: Pick, start: SessionEvent<'turn/start'>): string; export declare class ManagedTurnFunding { private readonly session; private readonly close; private readonly failed; private readonly credentials; constructor(session: (id: NonNullable) => Session | undefined, close: (operationUid: string, bearer: string) => Promise, failed: () => void); prepare(request: GenerateOptions, bearer: string): string | undefined; ended(session: Session, event: SessionEvent): Promise; dispose(): void; } export declare function registerManagedTurnFunding(ctx: Context, intelligentBaseUrl: string): ManagedTurnFunding; //# sourceMappingURL=operation.d.ts.map