import { list } from './list.ts'; import { type GatewayState, type HandleResult, type HostCall, type Inbound } from './types.ts'; export declare function emptyState(): GatewayState; export { list }; /** Host restart cannot resume an in-flight turn. Idle the session and drain work queued behind it. */ export declare function recoverTurns(state: GatewayState): { state: GatewayState; hostCalls: HostCall[]; }; export declare function handle(state: GatewayState, inbound: Inbound): HandleResult;