import type { PermissionMode } from '../../../agent/types/sdk-types.js'; export interface TurnState { turnInFlight: boolean; lastSigintAt: number; activeCompositor?: import('../../terminal-compositor.js').TerminalCompositor | null; tryAbortShellForeground?: (() => boolean) | null; notifyInterrupting?: ((active: boolean) => void) | null; requestSoftStop?: (() => void) | null; interruptPickerAbort?: AbortController | null; } export declare function buildPrompt(mode: PermissionMode, buffer?: string): string;