import { type ManagedSessionState } from "./managed-session.js"; import type { ModelControlAvailabilityDecision } from "./terminal-model-control-availability.js"; import type { ManagedTurnListActionDecision } from "./terminal-managed-turn-list-action-policy.js"; type JsonRecord = Record; export declare function renderManagedTurnListEntry(task: JsonRecord, options: { approvalState?: JsonRecord; actionDecision: ManagedTurnListActionDecision; }): JsonRecord; export declare function listActionContracts(): JsonRecord; export declare function renderAvailableListActions(entry: JsonRecord): JsonRecord; /** Format an already-authorized model-control decision without policy reads. */ export declare function renderTerminalModelControlActions(input: { readonly renderedActions: JsonRecord; readonly availability: ModelControlAvailabilityDecision; readonly mutationScope?: unknown; }): JsonRecord; export declare function terminalWatchDiscoveryHint(terminalId: string): JsonRecord; export declare function exactTerminalWatchAction(entry: unknown, terminalId: string): JsonRecord | undefined; export declare function currentTerminalActions(currentTurn: JsonRecord | undefined): JsonRecord; export declare function safeTerminalActionsDuringConflict(rawActions: JsonRecord): JsonRecord; export declare function sendActionForManagedSession(action: JsonRecord, sessionId: string): JsonRecord; export declare function actionsForManagedSessionBinding(actions: JsonRecord, session: ManagedSessionState): JsonRecord; export declare function safeUnavailableManagedTurnActions(actionsValue: JsonRecord): JsonRecord; export declare function withoutInspectionActionsDuringNativeTransition(actions: JsonRecord): JsonRecord; export declare function renderHistoricalManagedTurn(managedTurn: JsonRecord): JsonRecord; export declare function renderCurrentManagedTurn(managedTurn: JsonRecord, facts: { isCodex: boolean; ownerId: string; rawApproval?: JsonRecord; terminalApprovalState?: () => JsonRecord | undefined; }): JsonRecord; export declare function readOnlyListActions(actionsValue: JsonRecord): JsonRecord; /** * A deferred transfer may suppress every mutation except the user's explicit * request to release AKK management. Close never sends terminal input or stops * the coding agent, so it remains available while transfer cleanup is pending. */ export declare function userReleaseListActions(actionsValue: JsonRecord, turnId?: string): JsonRecord; export declare function readOnlyManagedTurn(managedTurn: JsonRecord): JsonRecord; export declare function userReleasableManagedTurn(managedTurn: JsonRecord): JsonRecord; export declare function withoutGenericHandoffSourceClose(managedTurn: JsonRecord, _blockingHandoffTurnIds: ReadonlySet): JsonRecord; export declare function retargetConversationAction(action: JsonRecord, conversationId: string): JsonRecord; export {};