import type { OwnerSignal } from "./owner-session-state.js"; type TurnFacts = { channelId: string | null; ownerSignal: OwnerSignal; }; export declare function beginDispatchedTurn(sessionKey: string, facts: TurnFacts): number; export declare function endDispatchedTurn(sessionKey: string, token: number): void; export declare function runWithDispatchedTurnContext(context: TurnFacts, callback: () => T): T; export declare function turnAttribution(sessionKey?: string): "attributed" | "concurrent" | "unattributed"; export declare function _resetHookHasWrittenForTesting(): void; export declare function setCurrentTurnChannelId(channelId: string | null): void; export declare function setCurrentTurnOwnerSignalForTools(signal: OwnerSignal): void; export declare function recordHookTurn(sessionKey: string, facts: TurnFacts): void; export declare function getCurrentTurnChannelId(sessionKey?: string): string | null; export declare function getCurrentTurnIsOwnerNonConsuming(sessionKey?: string): boolean; export declare function getCurrentTurnOwnerSignal(sessionKey?: string): OwnerSignal; export {}; //# sourceMappingURL=turn-context.d.ts.map