interface ModeInfo {
    id: string;
    name: string;
    description: string;
}
declare const CODE_EXECUTION_MODES: readonly ["default", "acceptEdits", "plan", "bypassPermissions", "auto"];
type CodeExecutionMode = (typeof CODE_EXECUTION_MODES)[number];
declare function isCodeExecutionMode(mode: string): mode is CodeExecutionMode;
declare function getAvailableModes(): ModeInfo[];
declare const CODEX_NATIVE_MODES: readonly ["auto", "read-only", "full-access"];
type CodexNativeMode = (typeof CODEX_NATIVE_MODES)[number];
/** Union of all permission mode IDs across adapters */
type PermissionMode = CodeExecutionMode | CodexNativeMode;
declare function isCodexNativeMode(mode: string): mode is CodexNativeMode;
declare function getAvailableCodexModes(): ModeInfo[];

export { CODEX_NATIVE_MODES, CODE_EXECUTION_MODES, type CodeExecutionMode, type CodexNativeMode, type ModeInfo, type PermissionMode, getAvailableCodexModes, getAvailableModes, isCodeExecutionMode, isCodexNativeMode };
