/** Canonical durable turn-result DTOs. */ export declare const TURN_RESULT_VERSION: 1; export declare const TURN_RESULT_CONTENT_MAX_BYTES = 16384; export declare const TURN_RESULT_ERROR_MESSAGE_MAX_LENGTH = 512; export type TurnResultSelector = { kind: "prompt" | "skill"; clientRef: string; } | { kind: "prompt" | "skill"; commandId: string; turnId: string; }; export type TurnResultStatus = "unknown" | "accepted" | "in_flight" | "terminal_ok" | "failed"; export interface TurnResultContent { version: typeof TURN_RESULT_VERSION; type: "text"; text: string; byteLength: number; truncated: boolean; } export interface TurnResultError { code: string; message: string; } export interface TurnResultPage { status: TurnResultStatus; kind?: "prompt" | "skill"; commandId?: string; turnId?: string; clientRef?: string; acceptedAt?: number; startedAt?: number; terminalAt?: number; content?: TurnResultContent; error?: TurnResultError; } export declare function sanitizeTurnResultContent(text: unknown): TurnResultContent | undefined;