import { type ExecutionHostTerminalEvent } from '../contracts/index.js'; import { type DurableHostedConversationTurnServiceConfig, type DurableHostedConversationTurnServiceOptions, type HostedConversationPersistenceScope, type HostedConversationTerminalProjection, type HostedConversationTurnLifecycleStore, type HostedConversationTurnReconciliationOptions } from './lifecycle-types.js'; import type { HostedConversationTurnRunner } from './types.js'; /** * Applies one reusable durable lifecycle around an Execution Host turn. * * Requested state is written before execution starts. Accepted and terminal * writes complete before their corresponding public events are released. A * persistence failure therefore fails closed instead of acknowledging state * that the adopter cannot later recover. */ export declare class DurableHostedConversationTurnService implements HostedConversationTurnRunner { #private; constructor(config: DurableHostedConversationTurnServiceConfig, options?: DurableHostedConversationTurnServiceOptions); streamTurn(rawInput: Parameters[0]): ReturnType; /** Reconciles only expired open turns within one already-authorized scope. */ interruptExpiredTurns(scope: HostedConversationPersistenceScope): Promise; } export declare function interruptExpiredHostedConversationTurns(store: HostedConversationTurnLifecycleStore, scope: HostedConversationPersistenceScope, options?: HostedConversationTurnReconciliationOptions): Promise; export declare function projectHostedConversationTerminalEvent(event: ExecutionHostTerminalEvent, options?: { maxSummaryCharacters?: number; }): HostedConversationTerminalProjection; //# sourceMappingURL=durable-hosted-conversation-turn-service.d.ts.map