import EventEmitter$1, { EventEmitter } from 'events';
import { Socket } from 'net';
import { z } from 'zod';

/**
 * RooCodeEventName
 */
declare enum RooCodeEventName {
    TaskCreated = "taskCreated",
    TaskStarted = "taskStarted",
    TaskCompleted = "taskCompleted",
    TaskAborted = "taskAborted",
    TaskFocused = "taskFocused",
    TaskUnfocused = "taskUnfocused",
    TaskActive = "taskActive",
    TaskInteractive = "taskInteractive",
    TaskResumable = "taskResumable",
    TaskIdle = "taskIdle",
    TaskPaused = "taskPaused",
    TaskUnpaused = "taskUnpaused",
    TaskSpawned = "taskSpawned",
    Message = "message",
    TaskModeSwitched = "taskModeSwitched",
    TaskAskResponded = "taskAskResponded",
    TaskUserMessage = "taskUserMessage",
    TaskTokenUsageUpdated = "taskTokenUsageUpdated",
    TaskToolFailed = "taskToolFailed",
    ModeChanged = "modeChanged",
    ProviderProfileChanged = "providerProfileChanged",
    EvalPass = "evalPass",
    EvalFail = "evalFail"
}
/**
 * RooCodeEvents
 */
declare const rooCodeEventsSchema: z.ZodObject<{
    taskCreated: z.ZodTuple<[z.ZodString], null>;
    taskStarted: z.ZodTuple<[z.ZodString], null>;
    taskCompleted: z.ZodTuple<[z.ZodString, z.ZodObject<{
        totalTokensIn: z.ZodNumber;
        totalTokensOut: z.ZodNumber;
        totalCacheWrites: z.ZodOptional<z.ZodNumber>;
        totalCacheReads: z.ZodOptional<z.ZodNumber>;
        totalCost: z.ZodNumber;
        contextTokens: z.ZodNumber;
    }, "strip", z.ZodTypeAny, {
        totalTokensIn: number;
        totalTokensOut: number;
        totalCost: number;
        contextTokens: number;
        totalCacheWrites?: number | undefined;
        totalCacheReads?: number | undefined;
    }, {
        totalTokensIn: number;
        totalTokensOut: number;
        totalCost: number;
        contextTokens: number;
        totalCacheWrites?: number | undefined;
        totalCacheReads?: number | undefined;
    }>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodObject<{
        attempts: z.ZodNumber;
        failures: z.ZodNumber;
    }, "strip", z.ZodTypeAny, {
        attempts: number;
        failures: number;
    }, {
        attempts: number;
        failures: number;
    }>>, z.ZodObject<{
        isSubtask: z.ZodBoolean;
    }, "strip", z.ZodTypeAny, {
        isSubtask: boolean;
    }, {
        isSubtask: boolean;
    }>], null>;
    taskAborted: z.ZodTuple<[z.ZodString], null>;
    taskFocused: z.ZodTuple<[z.ZodString], null>;
    taskUnfocused: z.ZodTuple<[z.ZodString], null>;
    taskActive: z.ZodTuple<[z.ZodString], null>;
    taskInteractive: z.ZodTuple<[z.ZodString], null>;
    taskResumable: z.ZodTuple<[z.ZodString], null>;
    taskIdle: z.ZodTuple<[z.ZodString], null>;
    taskPaused: z.ZodTuple<[z.ZodString], null>;
    taskUnpaused: z.ZodTuple<[z.ZodString], null>;
    taskSpawned: z.ZodTuple<[z.ZodString, z.ZodString], null>;
    message: z.ZodTuple<[z.ZodObject<{
        taskId: z.ZodString;
        action: z.ZodUnion<[z.ZodLiteral<"created">, z.ZodLiteral<"updated">]>;
        message: z.ZodObject<{
            ts: z.ZodNumber;
            type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
            ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
            say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
            text: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            partial: z.ZodOptional<z.ZodBoolean>;
            reasoning: z.ZodOptional<z.ZodString>;
            conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
            checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            progressStatus: z.ZodOptional<z.ZodObject<{
                icon: z.ZodOptional<z.ZodString>;
                text: z.ZodOptional<z.ZodString>;
            }, "strip", z.ZodTypeAny, {
                text?: string | undefined;
                icon?: string | undefined;
            }, {
                text?: string | undefined;
                icon?: string | undefined;
            }>>;
            contextCondense: z.ZodOptional<z.ZodObject<{
                cost: z.ZodNumber;
                prevContextTokens: z.ZodNumber;
                newContextTokens: z.ZodNumber;
                summary: z.ZodString;
            }, "strip", z.ZodTypeAny, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }>>;
            isProtected: z.ZodOptional<z.ZodBoolean>;
            apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
            isAnswered: z.ZodOptional<z.ZodBoolean>;
        }, "strip", z.ZodTypeAny, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }>;
    }, "strip", z.ZodTypeAny, {
        message: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        };
        taskId: string;
        action: "created" | "updated";
    }, {
        message: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        };
        taskId: string;
        action: "created" | "updated";
    }>], null>;
    taskModeSwitched: z.ZodTuple<[z.ZodString, z.ZodString], null>;
    taskAskResponded: z.ZodTuple<[z.ZodString], null>;
    taskUserMessage: z.ZodTuple<[z.ZodString], null>;
    taskToolFailed: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodString], null>;
    taskTokenUsageUpdated: z.ZodTuple<[z.ZodString, z.ZodObject<{
        totalTokensIn: z.ZodNumber;
        totalTokensOut: z.ZodNumber;
        totalCacheWrites: z.ZodOptional<z.ZodNumber>;
        totalCacheReads: z.ZodOptional<z.ZodNumber>;
        totalCost: z.ZodNumber;
        contextTokens: z.ZodNumber;
    }, "strip", z.ZodTypeAny, {
        totalTokensIn: number;
        totalTokensOut: number;
        totalCost: number;
        contextTokens: number;
        totalCacheWrites?: number | undefined;
        totalCacheReads?: number | undefined;
    }, {
        totalTokensIn: number;
        totalTokensOut: number;
        totalCost: number;
        contextTokens: number;
        totalCacheWrites?: number | undefined;
        totalCacheReads?: number | undefined;
    }>], null>;
    modeChanged: z.ZodTuple<[z.ZodString], null>;
    providerProfileChanged: z.ZodTuple<[z.ZodObject<{
        name: z.ZodString;
        provider: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        name: string;
        provider: string;
    }, {
        name: string;
        provider: string;
    }>], null>;
}, "strip", z.ZodTypeAny, {
    taskCreated: [string];
    taskStarted: [string];
    taskCompleted: [string, {
        totalTokensIn: number;
        totalTokensOut: number;
        totalCost: number;
        contextTokens: number;
        totalCacheWrites?: number | undefined;
        totalCacheReads?: number | undefined;
    }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
        attempts: number;
        failures: number;
    }>>, {
        isSubtask: boolean;
    }];
    taskAborted: [string];
    taskFocused: [string];
    taskUnfocused: [string];
    taskActive: [string];
    taskInteractive: [string];
    taskResumable: [string];
    taskIdle: [string];
    taskPaused: [string];
    taskUnpaused: [string];
    taskSpawned: [string, string];
    message: [{
        message: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        };
        taskId: string;
        action: "created" | "updated";
    }];
    taskModeSwitched: [string, string];
    taskAskResponded: [string];
    taskUserMessage: [string];
    taskTokenUsageUpdated: [string, {
        totalTokensIn: number;
        totalTokensOut: number;
        totalCost: number;
        contextTokens: number;
        totalCacheWrites?: number | undefined;
        totalCacheReads?: number | undefined;
    }];
    taskToolFailed: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
    modeChanged: [string];
    providerProfileChanged: [{
        name: string;
        provider: string;
    }];
}, {
    taskCreated: [string];
    taskStarted: [string];
    taskCompleted: [string, {
        totalTokensIn: number;
        totalTokensOut: number;
        totalCost: number;
        contextTokens: number;
        totalCacheWrites?: number | undefined;
        totalCacheReads?: number | undefined;
    }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
        attempts: number;
        failures: number;
    }>>, {
        isSubtask: boolean;
    }];
    taskAborted: [string];
    taskFocused: [string];
    taskUnfocused: [string];
    taskActive: [string];
    taskInteractive: [string];
    taskResumable: [string];
    taskIdle: [string];
    taskPaused: [string];
    taskUnpaused: [string];
    taskSpawned: [string, string];
    message: [{
        message: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        };
        taskId: string;
        action: "created" | "updated";
    }];
    taskModeSwitched: [string, string];
    taskAskResponded: [string];
    taskUserMessage: [string];
    taskTokenUsageUpdated: [string, {
        totalTokensIn: number;
        totalTokensOut: number;
        totalCost: number;
        contextTokens: number;
        totalCacheWrites?: number | undefined;
        totalCacheReads?: number | undefined;
    }];
    taskToolFailed: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
    modeChanged: [string];
    providerProfileChanged: [{
        name: string;
        provider: string;
    }];
}>;
type RooCodeEvents = z.infer<typeof rooCodeEventsSchema>;
/**
 * TaskEvent
 */
declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject<{
    eventName: z.ZodLiteral<RooCodeEventName.TaskCreated>;
    payload: z.ZodTuple<[z.ZodString], null>;
    taskId: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
    eventName: RooCodeEventName.TaskCreated;
    payload: [string];
    taskId?: number | undefined;
}, {
    eventName: RooCodeEventName.TaskCreated;
    payload: [string];
    taskId?: number | undefined;
}>, z.ZodObject<{
    eventName: z.ZodLiteral<RooCodeEventName.TaskStarted>;
    payload: z.ZodTuple<[z.ZodString], null>;
    taskId: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
    eventName: RooCodeEventName.TaskStarted;
    payload: [string];
    taskId?: number | undefined;
}, {
    eventName: RooCodeEventName.TaskStarted;
    payload: [string];
    taskId?: number | undefined;
}>, z.ZodObject<{
    eventName: z.ZodLiteral<RooCodeEventName.TaskCompleted>;
    payload: z.ZodTuple<[z.ZodString, z.ZodObject<{
        totalTokensIn: z.ZodNumber;
        totalTokensOut: z.ZodNumber;
        totalCacheWrites: z.ZodOptional<z.ZodNumber>;
        totalCacheReads: z.ZodOptional<z.ZodNumber>;
        totalCost: z.ZodNumber;
        contextTokens: z.ZodNumber;
    }, "strip", z.ZodTypeAny, {
        totalTokensIn: number;
        totalTokensOut: number;
        totalCost: number;
        contextTokens: number;
        totalCacheWrites?: number | undefined;
        totalCacheReads?: number | undefined;
    }, {
        totalTokensIn: number;
        totalTokensOut: number;
        totalCost: number;
        contextTokens: number;
        totalCacheWrites?: number | undefined;
        totalCacheReads?: number | undefined;
    }>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodObject<{
        attempts: z.ZodNumber;
        failures: z.ZodNumber;
    }, "strip", z.ZodTypeAny, {
        attempts: number;
        failures: number;
    }, {
        attempts: number;
        failures: number;
    }>>, z.ZodObject<{
        isSubtask: z.ZodBoolean;
    }, "strip", z.ZodTypeAny, {
        isSubtask: boolean;
    }, {
        isSubtask: boolean;
    }>], null>;
    taskId: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
    eventName: RooCodeEventName.TaskCompleted;
    payload: [string, {
        totalTokensIn: number;
        totalTokensOut: number;
        totalCost: number;
        contextTokens: number;
        totalCacheWrites?: number | undefined;
        totalCacheReads?: number | undefined;
    }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
        attempts: number;
        failures: number;
    }>>, {
        isSubtask: boolean;
    }];
    taskId?: number | undefined;
}, {
    eventName: RooCodeEventName.TaskCompleted;
    payload: [string, {
        totalTokensIn: number;
        totalTokensOut: number;
        totalCost: number;
        contextTokens: number;
        totalCacheWrites?: number | undefined;
        totalCacheReads?: number | undefined;
    }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
        attempts: number;
        failures: number;
    }>>, {
        isSubtask: boolean;
    }];
    taskId?: number | undefined;
}>, z.ZodObject<{
    eventName: z.ZodLiteral<RooCodeEventName.TaskAborted>;
    payload: z.ZodTuple<[z.ZodString], null>;
    taskId: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
    eventName: RooCodeEventName.TaskAborted;
    payload: [string];
    taskId?: number | undefined;
}, {
    eventName: RooCodeEventName.TaskAborted;
    payload: [string];
    taskId?: number | undefined;
}>, z.ZodObject<{
    eventName: z.ZodLiteral<RooCodeEventName.TaskFocused>;
    payload: z.ZodTuple<[z.ZodString], null>;
    taskId: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
    eventName: RooCodeEventName.TaskFocused;
    payload: [string];
    taskId?: number | undefined;
}, {
    eventName: RooCodeEventName.TaskFocused;
    payload: [string];
    taskId?: number | undefined;
}>, z.ZodObject<{
    eventName: z.ZodLiteral<RooCodeEventName.TaskUnfocused>;
    payload: z.ZodTuple<[z.ZodString], null>;
    taskId: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
    eventName: RooCodeEventName.TaskUnfocused;
    payload: [string];
    taskId?: number | undefined;
}, {
    eventName: RooCodeEventName.TaskUnfocused;
    payload: [string];
    taskId?: number | undefined;
}>, z.ZodObject<{
    eventName: z.ZodLiteral<RooCodeEventName.TaskActive>;
    payload: z.ZodTuple<[z.ZodString], null>;
    taskId: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
    eventName: RooCodeEventName.TaskActive;
    payload: [string];
    taskId?: number | undefined;
}, {
    eventName: RooCodeEventName.TaskActive;
    payload: [string];
    taskId?: number | undefined;
}>, z.ZodObject<{
    eventName: z.ZodLiteral<RooCodeEventName.TaskInteractive>;
    payload: z.ZodTuple<[z.ZodString], null>;
    taskId: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
    eventName: RooCodeEventName.TaskInteractive;
    payload: [string];
    taskId?: number | undefined;
}, {
    eventName: RooCodeEventName.TaskInteractive;
    payload: [string];
    taskId?: number | undefined;
}>, z.ZodObject<{
    eventName: z.ZodLiteral<RooCodeEventName.TaskResumable>;
    payload: z.ZodTuple<[z.ZodString], null>;
    taskId: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
    eventName: RooCodeEventName.TaskResumable;
    payload: [string];
    taskId?: number | undefined;
}, {
    eventName: RooCodeEventName.TaskResumable;
    payload: [string];
    taskId?: number | undefined;
}>, z.ZodObject<{
    eventName: z.ZodLiteral<RooCodeEventName.TaskIdle>;
    payload: z.ZodTuple<[z.ZodString], null>;
    taskId: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
    eventName: RooCodeEventName.TaskIdle;
    payload: [string];
    taskId?: number | undefined;
}, {
    eventName: RooCodeEventName.TaskIdle;
    payload: [string];
    taskId?: number | undefined;
}>, z.ZodObject<{
    eventName: z.ZodLiteral<RooCodeEventName.TaskPaused>;
    payload: z.ZodTuple<[z.ZodString], null>;
    taskId: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
    eventName: RooCodeEventName.TaskPaused;
    payload: [string];
    taskId?: number | undefined;
}, {
    eventName: RooCodeEventName.TaskPaused;
    payload: [string];
    taskId?: number | undefined;
}>, z.ZodObject<{
    eventName: z.ZodLiteral<RooCodeEventName.TaskUnpaused>;
    payload: z.ZodTuple<[z.ZodString], null>;
    taskId: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
    eventName: RooCodeEventName.TaskUnpaused;
    payload: [string];
    taskId?: number | undefined;
}, {
    eventName: RooCodeEventName.TaskUnpaused;
    payload: [string];
    taskId?: number | undefined;
}>, z.ZodObject<{
    eventName: z.ZodLiteral<RooCodeEventName.TaskSpawned>;
    payload: z.ZodTuple<[z.ZodString, z.ZodString], null>;
    taskId: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
    eventName: RooCodeEventName.TaskSpawned;
    payload: [string, string];
    taskId?: number | undefined;
}, {
    eventName: RooCodeEventName.TaskSpawned;
    payload: [string, string];
    taskId?: number | undefined;
}>, z.ZodObject<{
    eventName: z.ZodLiteral<RooCodeEventName.Message>;
    payload: z.ZodTuple<[z.ZodObject<{
        taskId: z.ZodString;
        action: z.ZodUnion<[z.ZodLiteral<"created">, z.ZodLiteral<"updated">]>;
        message: z.ZodObject<{
            ts: z.ZodNumber;
            type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
            ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
            say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
            text: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            partial: z.ZodOptional<z.ZodBoolean>;
            reasoning: z.ZodOptional<z.ZodString>;
            conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
            checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            progressStatus: z.ZodOptional<z.ZodObject<{
                icon: z.ZodOptional<z.ZodString>;
                text: z.ZodOptional<z.ZodString>;
            }, "strip", z.ZodTypeAny, {
                text?: string | undefined;
                icon?: string | undefined;
            }, {
                text?: string | undefined;
                icon?: string | undefined;
            }>>;
            contextCondense: z.ZodOptional<z.ZodObject<{
                cost: z.ZodNumber;
                prevContextTokens: z.ZodNumber;
                newContextTokens: z.ZodNumber;
                summary: z.ZodString;
            }, "strip", z.ZodTypeAny, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }>>;
            isProtected: z.ZodOptional<z.ZodBoolean>;
            apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
            isAnswered: z.ZodOptional<z.ZodBoolean>;
        }, "strip", z.ZodTypeAny, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }>;
    }, "strip", z.ZodTypeAny, {
        message: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        };
        taskId: string;
        action: "created" | "updated";
    }, {
        message: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        };
        taskId: string;
        action: "created" | "updated";
    }>], null>;
    taskId: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
    eventName: RooCodeEventName.Message;
    payload: [{
        message: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        };
        taskId: string;
        action: "created" | "updated";
    }];
    taskId?: number | undefined;
}, {
    eventName: RooCodeEventName.Message;
    payload: [{
        message: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        };
        taskId: string;
        action: "created" | "updated";
    }];
    taskId?: number | undefined;
}>, z.ZodObject<{
    eventName: z.ZodLiteral<RooCodeEventName.TaskModeSwitched>;
    payload: z.ZodTuple<[z.ZodString, z.ZodString], null>;
    taskId: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
    eventName: RooCodeEventName.TaskModeSwitched;
    payload: [string, string];
    taskId?: number | undefined;
}, {
    eventName: RooCodeEventName.TaskModeSwitched;
    payload: [string, string];
    taskId?: number | undefined;
}>, z.ZodObject<{
    eventName: z.ZodLiteral<RooCodeEventName.TaskAskResponded>;
    payload: z.ZodTuple<[z.ZodString], null>;
    taskId: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
    eventName: RooCodeEventName.TaskAskResponded;
    payload: [string];
    taskId?: number | undefined;
}, {
    eventName: RooCodeEventName.TaskAskResponded;
    payload: [string];
    taskId?: number | undefined;
}>, z.ZodObject<{
    eventName: z.ZodLiteral<RooCodeEventName.TaskToolFailed>;
    payload: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodString], null>;
    taskId: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
    eventName: RooCodeEventName.TaskToolFailed;
    payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
    taskId?: number | undefined;
}, {
    eventName: RooCodeEventName.TaskToolFailed;
    payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
    taskId?: number | undefined;
}>, z.ZodObject<{
    eventName: z.ZodLiteral<RooCodeEventName.TaskTokenUsageUpdated>;
    payload: z.ZodTuple<[z.ZodString, z.ZodObject<{
        totalTokensIn: z.ZodNumber;
        totalTokensOut: z.ZodNumber;
        totalCacheWrites: z.ZodOptional<z.ZodNumber>;
        totalCacheReads: z.ZodOptional<z.ZodNumber>;
        totalCost: z.ZodNumber;
        contextTokens: z.ZodNumber;
    }, "strip", z.ZodTypeAny, {
        totalTokensIn: number;
        totalTokensOut: number;
        totalCost: number;
        contextTokens: number;
        totalCacheWrites?: number | undefined;
        totalCacheReads?: number | undefined;
    }, {
        totalTokensIn: number;
        totalTokensOut: number;
        totalCost: number;
        contextTokens: number;
        totalCacheWrites?: number | undefined;
        totalCacheReads?: number | undefined;
    }>], null>;
    taskId: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
    eventName: RooCodeEventName.TaskTokenUsageUpdated;
    payload: [string, {
        totalTokensIn: number;
        totalTokensOut: number;
        totalCost: number;
        contextTokens: number;
        totalCacheWrites?: number | undefined;
        totalCacheReads?: number | undefined;
    }];
    taskId?: number | undefined;
}, {
    eventName: RooCodeEventName.TaskTokenUsageUpdated;
    payload: [string, {
        totalTokensIn: number;
        totalTokensOut: number;
        totalCost: number;
        contextTokens: number;
        totalCacheWrites?: number | undefined;
        totalCacheReads?: number | undefined;
    }];
    taskId?: number | undefined;
}>, z.ZodObject<{
    eventName: z.ZodLiteral<RooCodeEventName.EvalPass>;
    payload: z.ZodUndefined;
    taskId: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    taskId: number;
    eventName: RooCodeEventName.EvalPass;
    payload?: undefined;
}, {
    taskId: number;
    eventName: RooCodeEventName.EvalPass;
    payload?: undefined;
}>, z.ZodObject<{
    eventName: z.ZodLiteral<RooCodeEventName.EvalFail>;
    payload: z.ZodUndefined;
    taskId: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    taskId: number;
    eventName: RooCodeEventName.EvalFail;
    payload?: undefined;
}, {
    taskId: number;
    eventName: RooCodeEventName.EvalFail;
    payload?: undefined;
}>]>;
type TaskEvent = z.infer<typeof taskEventSchema>;

/**
 * TS
 */
type Keys<T> = keyof T;
type Values<T> = T[keyof T];
type Equals<X, Y> = (<T>() => T extends X ? 1 : 2) extends <T>() => T extends Y ? 1 : 2 ? true : false;
type AssertEqual<T extends true> = T;

/**
 * constants
 */
declare const DEFAULT_CONSECUTIVE_MISTAKE_LIMIT = 3;
/**
 * DynamicProvider
 *
 * Dynamic provider requires external API calls in order to get the model list.
 */
declare const dynamicProviders: readonly ["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "roo", "chutes"];
type DynamicProvider = (typeof dynamicProviders)[number];
declare const isDynamicProvider: (key: string) => key is DynamicProvider;
/**
 * LocalProvider
 *
 * Local providers require localhost API calls in order to get the model list.
 */
declare const localProviders: readonly ["ollama", "lmstudio"];
type LocalProvider = (typeof localProviders)[number];
declare const isLocalProvider: (key: string) => key is LocalProvider;
/**
 * InternalProvider
 *
 * Internal providers require internal VSCode API calls in order to get the
 * model list.
 */
declare const internalProviders: readonly ["vscode-lm"];
type InternalProvider = (typeof internalProviders)[number];
declare const isInternalProvider: (key: string) => key is InternalProvider;
/**
 * CustomProvider
 *
 * Custom providers are completely configurable within Roo Code settings.
 */
declare const customProviders: readonly ["openai"];
type CustomProvider = (typeof customProviders)[number];
declare const isCustomProvider: (key: string) => key is CustomProvider;
/**
 * FauxProvider
 *
 * Faux providers do not make external inference calls and therefore do not have
 * model lists.
 */
declare const fauxProviders: readonly ["fake-ai", "human-relay"];
type FauxProvider = (typeof fauxProviders)[number];
declare const isFauxProvider: (key: string) => key is FauxProvider;
/**
 * ProviderName
 */
declare const providerNames: readonly ["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "roo", "chutes", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "minimax", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"];
declare const providerNamesSchema: z.ZodEnum<["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "roo", "chutes", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "minimax", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"]>;
type ProviderName = z.infer<typeof providerNamesSchema>;
declare const isProviderName: (key: unknown) => key is ProviderName;
/**
 * ProviderSettingsEntry
 */
declare const providerSettingsEntrySchema: z.ZodObject<{
    id: z.ZodString;
    name: z.ZodString;
    apiProvider: z.ZodOptional<z.ZodEnum<["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "roo", "chutes", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "minimax", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"]>>;
    modelId: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    id: string;
    name: string;
    apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
    modelId?: string | undefined;
}, {
    id: string;
    name: string;
    apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
    modelId?: string | undefined;
}>;
type ProviderSettingsEntry = z.infer<typeof providerSettingsEntrySchema>;
declare const zaiApiLineSchema: z.ZodEnum<["international_coding", "china_coding"]>;
type ZaiApiLine = z.infer<typeof zaiApiLineSchema>;
declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiProvider", [z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    apiKey: z.ZodOptional<z.ZodString>;
    anthropicBaseUrl: z.ZodOptional<z.ZodString>;
    anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
    anthropicBeta1MContext: z.ZodOptional<z.ZodBoolean>;
} & {
    apiProvider: z.ZodLiteral<"anthropic">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "anthropic";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    apiKey?: string | undefined;
    anthropicBaseUrl?: string | undefined;
    anthropicUseAuthToken?: boolean | undefined;
    anthropicBeta1MContext?: boolean | undefined;
}, {
    apiProvider: "anthropic";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    apiKey?: string | undefined;
    anthropicBaseUrl?: string | undefined;
    anthropicUseAuthToken?: boolean | undefined;
    anthropicBeta1MContext?: boolean | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    claudeCodePath: z.ZodOptional<z.ZodString>;
    claudeCodeMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
} & {
    apiProvider: z.ZodLiteral<"claude-code">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "claude-code";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    claudeCodePath?: string | undefined;
    claudeCodeMaxOutputTokens?: number | undefined;
}, {
    apiProvider: "claude-code";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    claudeCodePath?: string | undefined;
    claudeCodeMaxOutputTokens?: number | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    glamaModelId: z.ZodOptional<z.ZodString>;
    glamaApiKey: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"glama">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "glama";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    glamaModelId?: string | undefined;
    glamaApiKey?: string | undefined;
}, {
    apiProvider: "glama";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    glamaModelId?: string | undefined;
    glamaApiKey?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    openRouterApiKey: z.ZodOptional<z.ZodString>;
    openRouterModelId: z.ZodOptional<z.ZodString>;
    openRouterBaseUrl: z.ZodOptional<z.ZodString>;
    openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
    openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
} & {
    apiProvider: z.ZodLiteral<"openrouter">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "openrouter";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    openRouterApiKey?: string | undefined;
    openRouterModelId?: string | undefined;
    openRouterBaseUrl?: string | undefined;
    openRouterSpecificProvider?: string | undefined;
    openRouterUseMiddleOutTransform?: boolean | undefined;
}, {
    apiProvider: "openrouter";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    openRouterApiKey?: string | undefined;
    openRouterModelId?: string | undefined;
    openRouterBaseUrl?: string | undefined;
    openRouterSpecificProvider?: string | undefined;
    openRouterUseMiddleOutTransform?: boolean | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    awsAccessKey: z.ZodOptional<z.ZodString>;
    awsSecretKey: z.ZodOptional<z.ZodString>;
    awsSessionToken: z.ZodOptional<z.ZodString>;
    awsRegion: z.ZodOptional<z.ZodString>;
    awsUseCrossRegionInference: z.ZodOptional<z.ZodBoolean>;
    awsUseGlobalInference: z.ZodOptional<z.ZodBoolean>;
    awsUsePromptCache: z.ZodOptional<z.ZodBoolean>;
    awsProfile: z.ZodOptional<z.ZodString>;
    awsUseProfile: z.ZodOptional<z.ZodBoolean>;
    awsApiKey: z.ZodOptional<z.ZodString>;
    awsUseApiKey: z.ZodOptional<z.ZodBoolean>;
    awsCustomArn: z.ZodOptional<z.ZodString>;
    awsModelContextWindow: z.ZodOptional<z.ZodNumber>;
    awsBedrockEndpointEnabled: z.ZodOptional<z.ZodBoolean>;
    awsBedrockEndpoint: z.ZodOptional<z.ZodString>;
    awsBedrock1MContext: z.ZodOptional<z.ZodBoolean>;
} & {
    apiProvider: z.ZodLiteral<"bedrock">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "bedrock";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    awsAccessKey?: string | undefined;
    awsSecretKey?: string | undefined;
    awsSessionToken?: string | undefined;
    awsRegion?: string | undefined;
    awsUseCrossRegionInference?: boolean | undefined;
    awsUseGlobalInference?: boolean | undefined;
    awsUsePromptCache?: boolean | undefined;
    awsProfile?: string | undefined;
    awsUseProfile?: boolean | undefined;
    awsApiKey?: string | undefined;
    awsUseApiKey?: boolean | undefined;
    awsCustomArn?: string | undefined;
    awsModelContextWindow?: number | undefined;
    awsBedrockEndpointEnabled?: boolean | undefined;
    awsBedrockEndpoint?: string | undefined;
    awsBedrock1MContext?: boolean | undefined;
}, {
    apiProvider: "bedrock";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    awsAccessKey?: string | undefined;
    awsSecretKey?: string | undefined;
    awsSessionToken?: string | undefined;
    awsRegion?: string | undefined;
    awsUseCrossRegionInference?: boolean | undefined;
    awsUseGlobalInference?: boolean | undefined;
    awsUsePromptCache?: boolean | undefined;
    awsProfile?: string | undefined;
    awsUseProfile?: boolean | undefined;
    awsApiKey?: string | undefined;
    awsUseApiKey?: boolean | undefined;
    awsCustomArn?: string | undefined;
    awsModelContextWindow?: number | undefined;
    awsBedrockEndpointEnabled?: boolean | undefined;
    awsBedrockEndpoint?: string | undefined;
    awsBedrock1MContext?: boolean | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    vertexKeyFile: z.ZodOptional<z.ZodString>;
    vertexJsonCredentials: z.ZodOptional<z.ZodString>;
    vertexProjectId: z.ZodOptional<z.ZodString>;
    vertexRegion: z.ZodOptional<z.ZodString>;
    enableUrlContext: z.ZodOptional<z.ZodBoolean>;
    enableGrounding: z.ZodOptional<z.ZodBoolean>;
} & {
    apiProvider: z.ZodLiteral<"vertex">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "vertex";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    vertexKeyFile?: string | undefined;
    vertexJsonCredentials?: string | undefined;
    vertexProjectId?: string | undefined;
    vertexRegion?: string | undefined;
    enableUrlContext?: boolean | undefined;
    enableGrounding?: boolean | undefined;
}, {
    apiProvider: "vertex";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    vertexKeyFile?: string | undefined;
    vertexJsonCredentials?: string | undefined;
    vertexProjectId?: string | undefined;
    vertexRegion?: string | undefined;
    enableUrlContext?: boolean | undefined;
    enableGrounding?: boolean | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    openAiBaseUrl: z.ZodOptional<z.ZodString>;
    openAiApiKey: z.ZodOptional<z.ZodString>;
    openAiLegacyFormat: z.ZodOptional<z.ZodBoolean>;
    openAiR1FormatEnabled: z.ZodOptional<z.ZodBoolean>;
    openAiModelId: z.ZodOptional<z.ZodString>;
    openAiCustomModelInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
        maxTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        maxThinkingTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        contextWindow: z.ZodNumber;
        supportsImages: z.ZodOptional<z.ZodBoolean>;
        supportsPromptCache: z.ZodBoolean;
        promptCacheRetention: z.ZodOptional<z.ZodEnum<["in_memory", "24h"]>>;
        supportsVerbosity: z.ZodOptional<z.ZodBoolean>;
        supportsReasoningBudget: z.ZodOptional<z.ZodBoolean>;
        supportsReasoningBinary: z.ZodOptional<z.ZodBoolean>;
        supportsTemperature: z.ZodOptional<z.ZodBoolean>;
        defaultTemperature: z.ZodOptional<z.ZodNumber>;
        requiredReasoningBudget: z.ZodOptional<z.ZodBoolean>;
        supportsReasoningEffort: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>, "many">]>>;
        requiredReasoningEffort: z.ZodOptional<z.ZodBoolean>;
        preserveReasoning: z.ZodOptional<z.ZodBoolean>;
        supportedParameters: z.ZodOptional<z.ZodArray<z.ZodEnum<["max_tokens", "temperature", "reasoning", "include_reasoning"]>, "many">>;
        inputPrice: z.ZodOptional<z.ZodNumber>;
        outputPrice: z.ZodOptional<z.ZodNumber>;
        cacheWritesPrice: z.ZodOptional<z.ZodNumber>;
        cacheReadsPrice: z.ZodOptional<z.ZodNumber>;
        description: z.ZodOptional<z.ZodString>;
        reasoningEffort: z.ZodOptional<z.ZodEnum<["none", "minimal", "low", "medium", "high"]>>;
        minTokensPerCachePoint: z.ZodOptional<z.ZodNumber>;
        maxCachePoints: z.ZodOptional<z.ZodNumber>;
        cachableFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        deprecated: z.ZodOptional<z.ZodBoolean>;
        isFree: z.ZodOptional<z.ZodBoolean>;
        supportsNativeTools: z.ZodOptional<z.ZodBoolean>;
        defaultToolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
        tiers: z.ZodOptional<z.ZodArray<z.ZodObject<{
            name: z.ZodOptional<z.ZodEnum<["default", "flex", "priority"]>>;
            contextWindow: z.ZodNumber;
            inputPrice: z.ZodOptional<z.ZodNumber>;
            outputPrice: z.ZodOptional<z.ZodNumber>;
            cacheWritesPrice: z.ZodOptional<z.ZodNumber>;
            cacheReadsPrice: z.ZodOptional<z.ZodNumber>;
        }, "strip", z.ZodTypeAny, {
            contextWindow: number;
            name?: "default" | "flex" | "priority" | undefined;
            inputPrice?: number | undefined;
            outputPrice?: number | undefined;
            cacheWritesPrice?: number | undefined;
            cacheReadsPrice?: number | undefined;
        }, {
            contextWindow: number;
            name?: "default" | "flex" | "priority" | undefined;
            inputPrice?: number | undefined;
            outputPrice?: number | undefined;
            cacheWritesPrice?: number | undefined;
            cacheReadsPrice?: number | undefined;
        }>, "many">>;
    }, "strip", z.ZodTypeAny, {
        contextWindow: number;
        supportsPromptCache: boolean;
        maxTokens?: number | null | undefined;
        maxThinkingTokens?: number | null | undefined;
        supportsImages?: boolean | undefined;
        promptCacheRetention?: "in_memory" | "24h" | undefined;
        supportsVerbosity?: boolean | undefined;
        supportsReasoningBudget?: boolean | undefined;
        supportsReasoningBinary?: boolean | undefined;
        supportsTemperature?: boolean | undefined;
        defaultTemperature?: number | undefined;
        requiredReasoningBudget?: boolean | undefined;
        supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
        requiredReasoningEffort?: boolean | undefined;
        preserveReasoning?: boolean | undefined;
        supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
        inputPrice?: number | undefined;
        outputPrice?: number | undefined;
        cacheWritesPrice?: number | undefined;
        cacheReadsPrice?: number | undefined;
        description?: string | undefined;
        reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
        minTokensPerCachePoint?: number | undefined;
        maxCachePoints?: number | undefined;
        cachableFields?: string[] | undefined;
        deprecated?: boolean | undefined;
        isFree?: boolean | undefined;
        supportsNativeTools?: boolean | undefined;
        defaultToolProtocol?: "xml" | "native" | undefined;
        tiers?: {
            contextWindow: number;
            name?: "default" | "flex" | "priority" | undefined;
            inputPrice?: number | undefined;
            outputPrice?: number | undefined;
            cacheWritesPrice?: number | undefined;
            cacheReadsPrice?: number | undefined;
        }[] | undefined;
    }, {
        contextWindow: number;
        supportsPromptCache: boolean;
        maxTokens?: number | null | undefined;
        maxThinkingTokens?: number | null | undefined;
        supportsImages?: boolean | undefined;
        promptCacheRetention?: "in_memory" | "24h" | undefined;
        supportsVerbosity?: boolean | undefined;
        supportsReasoningBudget?: boolean | undefined;
        supportsReasoningBinary?: boolean | undefined;
        supportsTemperature?: boolean | undefined;
        defaultTemperature?: number | undefined;
        requiredReasoningBudget?: boolean | undefined;
        supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
        requiredReasoningEffort?: boolean | undefined;
        preserveReasoning?: boolean | undefined;
        supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
        inputPrice?: number | undefined;
        outputPrice?: number | undefined;
        cacheWritesPrice?: number | undefined;
        cacheReadsPrice?: number | undefined;
        description?: string | undefined;
        reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
        minTokensPerCachePoint?: number | undefined;
        maxCachePoints?: number | undefined;
        cachableFields?: string[] | undefined;
        deprecated?: boolean | undefined;
        isFree?: boolean | undefined;
        supportsNativeTools?: boolean | undefined;
        defaultToolProtocol?: "xml" | "native" | undefined;
        tiers?: {
            contextWindow: number;
            name?: "default" | "flex" | "priority" | undefined;
            inputPrice?: number | undefined;
            outputPrice?: number | undefined;
            cacheWritesPrice?: number | undefined;
            cacheReadsPrice?: number | undefined;
        }[] | undefined;
    }>>>;
    openAiUseAzure: z.ZodOptional<z.ZodBoolean>;
    azureApiVersion: z.ZodOptional<z.ZodString>;
    openAiStreamingEnabled: z.ZodOptional<z.ZodBoolean>;
    openAiHostHeader: z.ZodOptional<z.ZodString>;
    openAiHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
} & {
    apiProvider: z.ZodLiteral<"openai">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "openai";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    openAiBaseUrl?: string | undefined;
    openAiApiKey?: string | undefined;
    openAiLegacyFormat?: boolean | undefined;
    openAiR1FormatEnabled?: boolean | undefined;
    openAiModelId?: string | undefined;
    openAiCustomModelInfo?: {
        contextWindow: number;
        supportsPromptCache: boolean;
        maxTokens?: number | null | undefined;
        maxThinkingTokens?: number | null | undefined;
        supportsImages?: boolean | undefined;
        promptCacheRetention?: "in_memory" | "24h" | undefined;
        supportsVerbosity?: boolean | undefined;
        supportsReasoningBudget?: boolean | undefined;
        supportsReasoningBinary?: boolean | undefined;
        supportsTemperature?: boolean | undefined;
        defaultTemperature?: number | undefined;
        requiredReasoningBudget?: boolean | undefined;
        supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
        requiredReasoningEffort?: boolean | undefined;
        preserveReasoning?: boolean | undefined;
        supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
        inputPrice?: number | undefined;
        outputPrice?: number | undefined;
        cacheWritesPrice?: number | undefined;
        cacheReadsPrice?: number | undefined;
        description?: string | undefined;
        reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
        minTokensPerCachePoint?: number | undefined;
        maxCachePoints?: number | undefined;
        cachableFields?: string[] | undefined;
        deprecated?: boolean | undefined;
        isFree?: boolean | undefined;
        supportsNativeTools?: boolean | undefined;
        defaultToolProtocol?: "xml" | "native" | undefined;
        tiers?: {
            contextWindow: number;
            name?: "default" | "flex" | "priority" | undefined;
            inputPrice?: number | undefined;
            outputPrice?: number | undefined;
            cacheWritesPrice?: number | undefined;
            cacheReadsPrice?: number | undefined;
        }[] | undefined;
    } | null | undefined;
    openAiUseAzure?: boolean | undefined;
    azureApiVersion?: string | undefined;
    openAiStreamingEnabled?: boolean | undefined;
    openAiHostHeader?: string | undefined;
    openAiHeaders?: Record<string, string> | undefined;
}, {
    apiProvider: "openai";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    openAiBaseUrl?: string | undefined;
    openAiApiKey?: string | undefined;
    openAiLegacyFormat?: boolean | undefined;
    openAiR1FormatEnabled?: boolean | undefined;
    openAiModelId?: string | undefined;
    openAiCustomModelInfo?: {
        contextWindow: number;
        supportsPromptCache: boolean;
        maxTokens?: number | null | undefined;
        maxThinkingTokens?: number | null | undefined;
        supportsImages?: boolean | undefined;
        promptCacheRetention?: "in_memory" | "24h" | undefined;
        supportsVerbosity?: boolean | undefined;
        supportsReasoningBudget?: boolean | undefined;
        supportsReasoningBinary?: boolean | undefined;
        supportsTemperature?: boolean | undefined;
        defaultTemperature?: number | undefined;
        requiredReasoningBudget?: boolean | undefined;
        supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
        requiredReasoningEffort?: boolean | undefined;
        preserveReasoning?: boolean | undefined;
        supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
        inputPrice?: number | undefined;
        outputPrice?: number | undefined;
        cacheWritesPrice?: number | undefined;
        cacheReadsPrice?: number | undefined;
        description?: string | undefined;
        reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
        minTokensPerCachePoint?: number | undefined;
        maxCachePoints?: number | undefined;
        cachableFields?: string[] | undefined;
        deprecated?: boolean | undefined;
        isFree?: boolean | undefined;
        supportsNativeTools?: boolean | undefined;
        defaultToolProtocol?: "xml" | "native" | undefined;
        tiers?: {
            contextWindow: number;
            name?: "default" | "flex" | "priority" | undefined;
            inputPrice?: number | undefined;
            outputPrice?: number | undefined;
            cacheWritesPrice?: number | undefined;
            cacheReadsPrice?: number | undefined;
        }[] | undefined;
    } | null | undefined;
    openAiUseAzure?: boolean | undefined;
    azureApiVersion?: string | undefined;
    openAiStreamingEnabled?: boolean | undefined;
    openAiHostHeader?: string | undefined;
    openAiHeaders?: Record<string, string> | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    ollamaModelId: z.ZodOptional<z.ZodString>;
    ollamaBaseUrl: z.ZodOptional<z.ZodString>;
    ollamaApiKey: z.ZodOptional<z.ZodString>;
    ollamaNumCtx: z.ZodOptional<z.ZodNumber>;
} & {
    apiProvider: z.ZodLiteral<"ollama">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "ollama";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    ollamaModelId?: string | undefined;
    ollamaBaseUrl?: string | undefined;
    ollamaApiKey?: string | undefined;
    ollamaNumCtx?: number | undefined;
}, {
    apiProvider: "ollama";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    ollamaModelId?: string | undefined;
    ollamaBaseUrl?: string | undefined;
    ollamaApiKey?: string | undefined;
    ollamaNumCtx?: number | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    vsCodeLmModelSelector: z.ZodOptional<z.ZodObject<{
        vendor: z.ZodOptional<z.ZodString>;
        family: z.ZodOptional<z.ZodString>;
        version: z.ZodOptional<z.ZodString>;
        id: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        id?: string | undefined;
        family?: string | undefined;
        version?: string | undefined;
        vendor?: string | undefined;
    }, {
        id?: string | undefined;
        family?: string | undefined;
        version?: string | undefined;
        vendor?: string | undefined;
    }>>;
} & {
    apiProvider: z.ZodLiteral<"vscode-lm">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "vscode-lm";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    vsCodeLmModelSelector?: {
        id?: string | undefined;
        family?: string | undefined;
        version?: string | undefined;
        vendor?: string | undefined;
    } | undefined;
}, {
    apiProvider: "vscode-lm";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    vsCodeLmModelSelector?: {
        id?: string | undefined;
        family?: string | undefined;
        version?: string | undefined;
        vendor?: string | undefined;
    } | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    lmStudioModelId: z.ZodOptional<z.ZodString>;
    lmStudioBaseUrl: z.ZodOptional<z.ZodString>;
    lmStudioDraftModelId: z.ZodOptional<z.ZodString>;
    lmStudioSpeculativeDecodingEnabled: z.ZodOptional<z.ZodBoolean>;
} & {
    apiProvider: z.ZodLiteral<"lmstudio">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "lmstudio";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    lmStudioModelId?: string | undefined;
    lmStudioBaseUrl?: string | undefined;
    lmStudioDraftModelId?: string | undefined;
    lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
}, {
    apiProvider: "lmstudio";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    lmStudioModelId?: string | undefined;
    lmStudioBaseUrl?: string | undefined;
    lmStudioDraftModelId?: string | undefined;
    lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    geminiApiKey: z.ZodOptional<z.ZodString>;
    googleGeminiBaseUrl: z.ZodOptional<z.ZodString>;
    enableUrlContext: z.ZodOptional<z.ZodBoolean>;
    enableGrounding: z.ZodOptional<z.ZodBoolean>;
} & {
    apiProvider: z.ZodLiteral<"gemini">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "gemini";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    enableUrlContext?: boolean | undefined;
    enableGrounding?: boolean | undefined;
    geminiApiKey?: string | undefined;
    googleGeminiBaseUrl?: string | undefined;
}, {
    apiProvider: "gemini";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    enableUrlContext?: boolean | undefined;
    enableGrounding?: boolean | undefined;
    geminiApiKey?: string | undefined;
    googleGeminiBaseUrl?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    geminiCliOAuthPath: z.ZodOptional<z.ZodString>;
    geminiCliProjectId: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"gemini-cli">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "gemini-cli";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    geminiCliOAuthPath?: string | undefined;
    geminiCliProjectId?: string | undefined;
}, {
    apiProvider: "gemini-cli";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    geminiCliOAuthPath?: string | undefined;
    geminiCliProjectId?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    openAiNativeApiKey: z.ZodOptional<z.ZodString>;
    openAiNativeBaseUrl: z.ZodOptional<z.ZodString>;
    openAiNativeServiceTier: z.ZodOptional<z.ZodEnum<["default", "flex", "priority"]>>;
} & {
    apiProvider: z.ZodLiteral<"openai-native">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "openai-native";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    openAiNativeApiKey?: string | undefined;
    openAiNativeBaseUrl?: string | undefined;
    openAiNativeServiceTier?: "default" | "flex" | "priority" | undefined;
}, {
    apiProvider: "openai-native";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    openAiNativeApiKey?: string | undefined;
    openAiNativeBaseUrl?: string | undefined;
    openAiNativeServiceTier?: "default" | "flex" | "priority" | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    mistralApiKey: z.ZodOptional<z.ZodString>;
    mistralCodestralUrl: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"mistral">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "mistral";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    mistralApiKey?: string | undefined;
    mistralCodestralUrl?: string | undefined;
}, {
    apiProvider: "mistral";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    mistralApiKey?: string | undefined;
    mistralCodestralUrl?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    deepSeekBaseUrl: z.ZodOptional<z.ZodString>;
    deepSeekApiKey: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"deepseek">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "deepseek";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    deepSeekBaseUrl?: string | undefined;
    deepSeekApiKey?: string | undefined;
}, {
    apiProvider: "deepseek";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    deepSeekBaseUrl?: string | undefined;
    deepSeekApiKey?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    deepInfraBaseUrl: z.ZodOptional<z.ZodString>;
    deepInfraApiKey: z.ZodOptional<z.ZodString>;
    deepInfraModelId: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"deepinfra">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "deepinfra";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    deepInfraBaseUrl?: string | undefined;
    deepInfraApiKey?: string | undefined;
    deepInfraModelId?: string | undefined;
}, {
    apiProvider: "deepinfra";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    deepInfraBaseUrl?: string | undefined;
    deepInfraApiKey?: string | undefined;
    deepInfraModelId?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    doubaoBaseUrl: z.ZodOptional<z.ZodString>;
    doubaoApiKey: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"doubao">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "doubao";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    doubaoBaseUrl?: string | undefined;
    doubaoApiKey?: string | undefined;
}, {
    apiProvider: "doubao";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    doubaoBaseUrl?: string | undefined;
    doubaoApiKey?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    moonshotBaseUrl: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"https://api.moonshot.ai/v1">, z.ZodLiteral<"https://api.moonshot.cn/v1">]>>;
    moonshotApiKey: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"moonshot">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "moonshot";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined;
    moonshotApiKey?: string | undefined;
}, {
    apiProvider: "moonshot";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined;
    moonshotApiKey?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    minimaxBaseUrl: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"https://api.minimax.io/v1">, z.ZodLiteral<"https://api.minimaxi.com/v1">]>>;
    minimaxApiKey: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"minimax">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "minimax";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    minimaxBaseUrl?: "https://api.minimax.io/v1" | "https://api.minimaxi.com/v1" | undefined;
    minimaxApiKey?: string | undefined;
}, {
    apiProvider: "minimax";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    minimaxBaseUrl?: "https://api.minimax.io/v1" | "https://api.minimaxi.com/v1" | undefined;
    minimaxApiKey?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    unboundApiKey: z.ZodOptional<z.ZodString>;
    unboundModelId: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"unbound">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "unbound";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    unboundApiKey?: string | undefined;
    unboundModelId?: string | undefined;
}, {
    apiProvider: "unbound";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    unboundApiKey?: string | undefined;
    unboundModelId?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    requestyBaseUrl: z.ZodOptional<z.ZodString>;
    requestyApiKey: z.ZodOptional<z.ZodString>;
    requestyModelId: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"requesty">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "requesty";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    requestyBaseUrl?: string | undefined;
    requestyApiKey?: string | undefined;
    requestyModelId?: string | undefined;
}, {
    apiProvider: "requesty";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    requestyBaseUrl?: string | undefined;
    requestyApiKey?: string | undefined;
    requestyModelId?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiProvider: z.ZodLiteral<"human-relay">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "human-relay";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
}, {
    apiProvider: "human-relay";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    fakeAi: z.ZodOptional<z.ZodUnknown>;
} & {
    apiProvider: z.ZodLiteral<"fake-ai">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "fake-ai";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    fakeAi?: unknown;
}, {
    apiProvider: "fake-ai";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    fakeAi?: unknown;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    xaiApiKey: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"xai">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "xai";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    xaiApiKey?: string | undefined;
}, {
    apiProvider: "xai";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    xaiApiKey?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    groqApiKey: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"groq">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "groq";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    groqApiKey?: string | undefined;
}, {
    apiProvider: "groq";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    groqApiKey?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    huggingFaceApiKey: z.ZodOptional<z.ZodString>;
    huggingFaceModelId: z.ZodOptional<z.ZodString>;
    huggingFaceInferenceProvider: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"huggingface">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "huggingface";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    huggingFaceApiKey?: string | undefined;
    huggingFaceModelId?: string | undefined;
    huggingFaceInferenceProvider?: string | undefined;
}, {
    apiProvider: "huggingface";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    huggingFaceApiKey?: string | undefined;
    huggingFaceModelId?: string | undefined;
    huggingFaceInferenceProvider?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    chutesApiKey: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"chutes">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "chutes";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    chutesApiKey?: string | undefined;
}, {
    apiProvider: "chutes";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    chutesApiKey?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    litellmBaseUrl: z.ZodOptional<z.ZodString>;
    litellmApiKey: z.ZodOptional<z.ZodString>;
    litellmModelId: z.ZodOptional<z.ZodString>;
    litellmUsePromptCache: z.ZodOptional<z.ZodBoolean>;
} & {
    apiProvider: z.ZodLiteral<"litellm">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "litellm";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    litellmBaseUrl?: string | undefined;
    litellmApiKey?: string | undefined;
    litellmModelId?: string | undefined;
    litellmUsePromptCache?: boolean | undefined;
}, {
    apiProvider: "litellm";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    litellmBaseUrl?: string | undefined;
    litellmApiKey?: string | undefined;
    litellmModelId?: string | undefined;
    litellmUsePromptCache?: boolean | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    cerebrasApiKey: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"cerebras">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "cerebras";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    cerebrasApiKey?: string | undefined;
}, {
    apiProvider: "cerebras";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    cerebrasApiKey?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    sambaNovaApiKey: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"sambanova">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "sambanova";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    sambaNovaApiKey?: string | undefined;
}, {
    apiProvider: "sambanova";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    sambaNovaApiKey?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    zaiApiKey: z.ZodOptional<z.ZodString>;
    zaiApiLine: z.ZodOptional<z.ZodEnum<["international_coding", "china_coding"]>>;
} & {
    apiProvider: z.ZodLiteral<"zai">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "zai";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    zaiApiKey?: string | undefined;
    zaiApiLine?: "international_coding" | "china_coding" | undefined;
}, {
    apiProvider: "zai";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    zaiApiKey?: string | undefined;
    zaiApiLine?: "international_coding" | "china_coding" | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    fireworksApiKey: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"fireworks">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "fireworks";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    fireworksApiKey?: string | undefined;
}, {
    apiProvider: "fireworks";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    fireworksApiKey?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    featherlessApiKey: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"featherless">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "featherless";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    featherlessApiKey?: string | undefined;
}, {
    apiProvider: "featherless";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    featherlessApiKey?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    ioIntelligenceModelId: z.ZodOptional<z.ZodString>;
    ioIntelligenceApiKey: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"io-intelligence">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "io-intelligence";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    ioIntelligenceModelId?: string | undefined;
    ioIntelligenceApiKey?: string | undefined;
}, {
    apiProvider: "io-intelligence";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    ioIntelligenceModelId?: string | undefined;
    ioIntelligenceApiKey?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    qwenCodeOauthPath: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"qwen-code">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "qwen-code";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    qwenCodeOauthPath?: string | undefined;
}, {
    apiProvider: "qwen-code";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    qwenCodeOauthPath?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"roo">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "roo";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
}, {
    apiProvider: "roo";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    vercelAiGatewayApiKey: z.ZodOptional<z.ZodString>;
    vercelAiGatewayModelId: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"vercel-ai-gateway">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "vercel-ai-gateway";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    vercelAiGatewayApiKey?: string | undefined;
    vercelAiGatewayModelId?: string | undefined;
}, {
    apiProvider: "vercel-ai-gateway";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    vercelAiGatewayApiKey?: string | undefined;
    vercelAiGatewayModelId?: string | undefined;
}>, z.ZodObject<{
    apiProvider: z.ZodUndefined;
}, "strip", z.ZodTypeAny, {
    apiProvider?: undefined;
}, {
    apiProvider?: undefined;
}>]>;
declare const providerSettingsSchema: z.ZodObject<{
    codeIndexOpenAiKey: z.ZodOptional<z.ZodString>;
    codeIndexQdrantApiKey: z.ZodOptional<z.ZodString>;
    codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
    codebaseIndexOpenAiCompatibleApiKey: z.ZodOptional<z.ZodString>;
    codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
    codebaseIndexGeminiApiKey: z.ZodOptional<z.ZodString>;
    codebaseIndexMistralApiKey: z.ZodOptional<z.ZodString>;
    codebaseIndexVercelAiGatewayApiKey: z.ZodOptional<z.ZodString>;
    codebaseIndexOpenRouterApiKey: z.ZodOptional<z.ZodString>;
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
    vercelAiGatewayApiKey: z.ZodOptional<z.ZodString>;
    vercelAiGatewayModelId: z.ZodOptional<z.ZodString>;
    apiModelId: z.ZodOptional<z.ZodString>;
    qwenCodeOauthPath: z.ZodOptional<z.ZodString>;
    ioIntelligenceModelId: z.ZodOptional<z.ZodString>;
    ioIntelligenceApiKey: z.ZodOptional<z.ZodString>;
    featherlessApiKey: z.ZodOptional<z.ZodString>;
    fireworksApiKey: z.ZodOptional<z.ZodString>;
    zaiApiKey: z.ZodOptional<z.ZodString>;
    zaiApiLine: z.ZodOptional<z.ZodEnum<["international_coding", "china_coding"]>>;
    sambaNovaApiKey: z.ZodOptional<z.ZodString>;
    cerebrasApiKey: z.ZodOptional<z.ZodString>;
    litellmBaseUrl: z.ZodOptional<z.ZodString>;
    litellmApiKey: z.ZodOptional<z.ZodString>;
    litellmModelId: z.ZodOptional<z.ZodString>;
    litellmUsePromptCache: z.ZodOptional<z.ZodBoolean>;
    chutesApiKey: z.ZodOptional<z.ZodString>;
    huggingFaceApiKey: z.ZodOptional<z.ZodString>;
    huggingFaceModelId: z.ZodOptional<z.ZodString>;
    huggingFaceInferenceProvider: z.ZodOptional<z.ZodString>;
    groqApiKey: z.ZodOptional<z.ZodString>;
    xaiApiKey: z.ZodOptional<z.ZodString>;
    fakeAi: z.ZodOptional<z.ZodUnknown>;
    requestyBaseUrl: z.ZodOptional<z.ZodString>;
    requestyApiKey: z.ZodOptional<z.ZodString>;
    requestyModelId: z.ZodOptional<z.ZodString>;
    unboundApiKey: z.ZodOptional<z.ZodString>;
    unboundModelId: z.ZodOptional<z.ZodString>;
    minimaxBaseUrl: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"https://api.minimax.io/v1">, z.ZodLiteral<"https://api.minimaxi.com/v1">]>>;
    minimaxApiKey: z.ZodOptional<z.ZodString>;
    moonshotBaseUrl: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"https://api.moonshot.ai/v1">, z.ZodLiteral<"https://api.moonshot.cn/v1">]>>;
    moonshotApiKey: z.ZodOptional<z.ZodString>;
    doubaoBaseUrl: z.ZodOptional<z.ZodString>;
    doubaoApiKey: z.ZodOptional<z.ZodString>;
    deepInfraBaseUrl: z.ZodOptional<z.ZodString>;
    deepInfraApiKey: z.ZodOptional<z.ZodString>;
    deepInfraModelId: z.ZodOptional<z.ZodString>;
    deepSeekBaseUrl: z.ZodOptional<z.ZodString>;
    deepSeekApiKey: z.ZodOptional<z.ZodString>;
    mistralApiKey: z.ZodOptional<z.ZodString>;
    mistralCodestralUrl: z.ZodOptional<z.ZodString>;
    openAiNativeApiKey: z.ZodOptional<z.ZodString>;
    openAiNativeBaseUrl: z.ZodOptional<z.ZodString>;
    openAiNativeServiceTier: z.ZodOptional<z.ZodEnum<["default", "flex", "priority"]>>;
    geminiCliOAuthPath: z.ZodOptional<z.ZodString>;
    geminiCliProjectId: z.ZodOptional<z.ZodString>;
    geminiApiKey: z.ZodOptional<z.ZodString>;
    googleGeminiBaseUrl: z.ZodOptional<z.ZodString>;
    enableUrlContext: z.ZodOptional<z.ZodBoolean>;
    enableGrounding: z.ZodOptional<z.ZodBoolean>;
    lmStudioModelId: z.ZodOptional<z.ZodString>;
    lmStudioBaseUrl: z.ZodOptional<z.ZodString>;
    lmStudioDraftModelId: z.ZodOptional<z.ZodString>;
    lmStudioSpeculativeDecodingEnabled: z.ZodOptional<z.ZodBoolean>;
    vsCodeLmModelSelector: z.ZodOptional<z.ZodObject<{
        vendor: z.ZodOptional<z.ZodString>;
        family: z.ZodOptional<z.ZodString>;
        version: z.ZodOptional<z.ZodString>;
        id: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        id?: string | undefined;
        family?: string | undefined;
        version?: string | undefined;
        vendor?: string | undefined;
    }, {
        id?: string | undefined;
        family?: string | undefined;
        version?: string | undefined;
        vendor?: string | undefined;
    }>>;
    ollamaModelId: z.ZodOptional<z.ZodString>;
    ollamaBaseUrl: z.ZodOptional<z.ZodString>;
    ollamaApiKey: z.ZodOptional<z.ZodString>;
    ollamaNumCtx: z.ZodOptional<z.ZodNumber>;
    openAiBaseUrl: z.ZodOptional<z.ZodString>;
    openAiApiKey: z.ZodOptional<z.ZodString>;
    openAiLegacyFormat: z.ZodOptional<z.ZodBoolean>;
    openAiR1FormatEnabled: z.ZodOptional<z.ZodBoolean>;
    openAiModelId: z.ZodOptional<z.ZodString>;
    openAiCustomModelInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
        maxTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        maxThinkingTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        contextWindow: z.ZodNumber;
        supportsImages: z.ZodOptional<z.ZodBoolean>;
        supportsPromptCache: z.ZodBoolean;
        promptCacheRetention: z.ZodOptional<z.ZodEnum<["in_memory", "24h"]>>;
        supportsVerbosity: z.ZodOptional<z.ZodBoolean>;
        supportsReasoningBudget: z.ZodOptional<z.ZodBoolean>;
        supportsReasoningBinary: z.ZodOptional<z.ZodBoolean>;
        supportsTemperature: z.ZodOptional<z.ZodBoolean>;
        defaultTemperature: z.ZodOptional<z.ZodNumber>;
        requiredReasoningBudget: z.ZodOptional<z.ZodBoolean>;
        supportsReasoningEffort: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>, "many">]>>;
        requiredReasoningEffort: z.ZodOptional<z.ZodBoolean>;
        preserveReasoning: z.ZodOptional<z.ZodBoolean>;
        supportedParameters: z.ZodOptional<z.ZodArray<z.ZodEnum<["max_tokens", "temperature", "reasoning", "include_reasoning"]>, "many">>;
        inputPrice: z.ZodOptional<z.ZodNumber>;
        outputPrice: z.ZodOptional<z.ZodNumber>;
        cacheWritesPrice: z.ZodOptional<z.ZodNumber>;
        cacheReadsPrice: z.ZodOptional<z.ZodNumber>;
        description: z.ZodOptional<z.ZodString>;
        reasoningEffort: z.ZodOptional<z.ZodEnum<["none", "minimal", "low", "medium", "high"]>>;
        minTokensPerCachePoint: z.ZodOptional<z.ZodNumber>;
        maxCachePoints: z.ZodOptional<z.ZodNumber>;
        cachableFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        deprecated: z.ZodOptional<z.ZodBoolean>;
        isFree: z.ZodOptional<z.ZodBoolean>;
        supportsNativeTools: z.ZodOptional<z.ZodBoolean>;
        defaultToolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
        tiers: z.ZodOptional<z.ZodArray<z.ZodObject<{
            name: z.ZodOptional<z.ZodEnum<["default", "flex", "priority"]>>;
            contextWindow: z.ZodNumber;
            inputPrice: z.ZodOptional<z.ZodNumber>;
            outputPrice: z.ZodOptional<z.ZodNumber>;
            cacheWritesPrice: z.ZodOptional<z.ZodNumber>;
            cacheReadsPrice: z.ZodOptional<z.ZodNumber>;
        }, "strip", z.ZodTypeAny, {
            contextWindow: number;
            name?: "default" | "flex" | "priority" | undefined;
            inputPrice?: number | undefined;
            outputPrice?: number | undefined;
            cacheWritesPrice?: number | undefined;
            cacheReadsPrice?: number | undefined;
        }, {
            contextWindow: number;
            name?: "default" | "flex" | "priority" | undefined;
            inputPrice?: number | undefined;
            outputPrice?: number | undefined;
            cacheWritesPrice?: number | undefined;
            cacheReadsPrice?: number | undefined;
        }>, "many">>;
    }, "strip", z.ZodTypeAny, {
        contextWindow: number;
        supportsPromptCache: boolean;
        maxTokens?: number | null | undefined;
        maxThinkingTokens?: number | null | undefined;
        supportsImages?: boolean | undefined;
        promptCacheRetention?: "in_memory" | "24h" | undefined;
        supportsVerbosity?: boolean | undefined;
        supportsReasoningBudget?: boolean | undefined;
        supportsReasoningBinary?: boolean | undefined;
        supportsTemperature?: boolean | undefined;
        defaultTemperature?: number | undefined;
        requiredReasoningBudget?: boolean | undefined;
        supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
        requiredReasoningEffort?: boolean | undefined;
        preserveReasoning?: boolean | undefined;
        supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
        inputPrice?: number | undefined;
        outputPrice?: number | undefined;
        cacheWritesPrice?: number | undefined;
        cacheReadsPrice?: number | undefined;
        description?: string | undefined;
        reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
        minTokensPerCachePoint?: number | undefined;
        maxCachePoints?: number | undefined;
        cachableFields?: string[] | undefined;
        deprecated?: boolean | undefined;
        isFree?: boolean | undefined;
        supportsNativeTools?: boolean | undefined;
        defaultToolProtocol?: "xml" | "native" | undefined;
        tiers?: {
            contextWindow: number;
            name?: "default" | "flex" | "priority" | undefined;
            inputPrice?: number | undefined;
            outputPrice?: number | undefined;
            cacheWritesPrice?: number | undefined;
            cacheReadsPrice?: number | undefined;
        }[] | undefined;
    }, {
        contextWindow: number;
        supportsPromptCache: boolean;
        maxTokens?: number | null | undefined;
        maxThinkingTokens?: number | null | undefined;
        supportsImages?: boolean | undefined;
        promptCacheRetention?: "in_memory" | "24h" | undefined;
        supportsVerbosity?: boolean | undefined;
        supportsReasoningBudget?: boolean | undefined;
        supportsReasoningBinary?: boolean | undefined;
        supportsTemperature?: boolean | undefined;
        defaultTemperature?: number | undefined;
        requiredReasoningBudget?: boolean | undefined;
        supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
        requiredReasoningEffort?: boolean | undefined;
        preserveReasoning?: boolean | undefined;
        supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
        inputPrice?: number | undefined;
        outputPrice?: number | undefined;
        cacheWritesPrice?: number | undefined;
        cacheReadsPrice?: number | undefined;
        description?: string | undefined;
        reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
        minTokensPerCachePoint?: number | undefined;
        maxCachePoints?: number | undefined;
        cachableFields?: string[] | undefined;
        deprecated?: boolean | undefined;
        isFree?: boolean | undefined;
        supportsNativeTools?: boolean | undefined;
        defaultToolProtocol?: "xml" | "native" | undefined;
        tiers?: {
            contextWindow: number;
            name?: "default" | "flex" | "priority" | undefined;
            inputPrice?: number | undefined;
            outputPrice?: number | undefined;
            cacheWritesPrice?: number | undefined;
            cacheReadsPrice?: number | undefined;
        }[] | undefined;
    }>>>;
    openAiUseAzure: z.ZodOptional<z.ZodBoolean>;
    azureApiVersion: z.ZodOptional<z.ZodString>;
    openAiStreamingEnabled: z.ZodOptional<z.ZodBoolean>;
    openAiHostHeader: z.ZodOptional<z.ZodString>;
    openAiHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    vertexKeyFile: z.ZodOptional<z.ZodString>;
    vertexJsonCredentials: z.ZodOptional<z.ZodString>;
    vertexProjectId: z.ZodOptional<z.ZodString>;
    vertexRegion: z.ZodOptional<z.ZodString>;
    awsAccessKey: z.ZodOptional<z.ZodString>;
    awsSecretKey: z.ZodOptional<z.ZodString>;
    awsSessionToken: z.ZodOptional<z.ZodString>;
    awsRegion: z.ZodOptional<z.ZodString>;
    awsUseCrossRegionInference: z.ZodOptional<z.ZodBoolean>;
    awsUseGlobalInference: z.ZodOptional<z.ZodBoolean>;
    awsUsePromptCache: z.ZodOptional<z.ZodBoolean>;
    awsProfile: z.ZodOptional<z.ZodString>;
    awsUseProfile: z.ZodOptional<z.ZodBoolean>;
    awsApiKey: z.ZodOptional<z.ZodString>;
    awsUseApiKey: z.ZodOptional<z.ZodBoolean>;
    awsCustomArn: z.ZodOptional<z.ZodString>;
    awsModelContextWindow: z.ZodOptional<z.ZodNumber>;
    awsBedrockEndpointEnabled: z.ZodOptional<z.ZodBoolean>;
    awsBedrockEndpoint: z.ZodOptional<z.ZodString>;
    awsBedrock1MContext: z.ZodOptional<z.ZodBoolean>;
    openRouterApiKey: z.ZodOptional<z.ZodString>;
    openRouterModelId: z.ZodOptional<z.ZodString>;
    openRouterBaseUrl: z.ZodOptional<z.ZodString>;
    openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
    openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
    glamaModelId: z.ZodOptional<z.ZodString>;
    glamaApiKey: z.ZodOptional<z.ZodString>;
    claudeCodePath: z.ZodOptional<z.ZodString>;
    claudeCodeMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
    apiKey: z.ZodOptional<z.ZodString>;
    anthropicBaseUrl: z.ZodOptional<z.ZodString>;
    anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
    anthropicBeta1MContext: z.ZodOptional<z.ZodBoolean>;
    apiProvider: z.ZodOptional<z.ZodEnum<["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "roo", "chutes", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "minimax", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"]>>;
}, "strip", z.ZodTypeAny, {
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
    codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
    codeIndexOpenAiKey?: string | undefined;
    codeIndexQdrantApiKey?: string | undefined;
    codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
    codebaseIndexGeminiApiKey?: string | undefined;
    codebaseIndexMistralApiKey?: string | undefined;
    codebaseIndexVercelAiGatewayApiKey?: string | undefined;
    codebaseIndexOpenRouterApiKey?: string | undefined;
    apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    apiKey?: string | undefined;
    anthropicBaseUrl?: string | undefined;
    anthropicUseAuthToken?: boolean | undefined;
    anthropicBeta1MContext?: boolean | undefined;
    claudeCodePath?: string | undefined;
    claudeCodeMaxOutputTokens?: number | undefined;
    glamaModelId?: string | undefined;
    glamaApiKey?: string | undefined;
    openRouterApiKey?: string | undefined;
    openRouterModelId?: string | undefined;
    openRouterBaseUrl?: string | undefined;
    openRouterSpecificProvider?: string | undefined;
    openRouterUseMiddleOutTransform?: boolean | undefined;
    awsAccessKey?: string | undefined;
    awsSecretKey?: string | undefined;
    awsSessionToken?: string | undefined;
    awsRegion?: string | undefined;
    awsUseCrossRegionInference?: boolean | undefined;
    awsUseGlobalInference?: boolean | undefined;
    awsUsePromptCache?: boolean | undefined;
    awsProfile?: string | undefined;
    awsUseProfile?: boolean | undefined;
    awsApiKey?: string | undefined;
    awsUseApiKey?: boolean | undefined;
    awsCustomArn?: string | undefined;
    awsModelContextWindow?: number | undefined;
    awsBedrockEndpointEnabled?: boolean | undefined;
    awsBedrockEndpoint?: string | undefined;
    awsBedrock1MContext?: boolean | undefined;
    vertexKeyFile?: string | undefined;
    vertexJsonCredentials?: string | undefined;
    vertexProjectId?: string | undefined;
    vertexRegion?: string | undefined;
    enableUrlContext?: boolean | undefined;
    enableGrounding?: boolean | undefined;
    openAiBaseUrl?: string | undefined;
    openAiApiKey?: string | undefined;
    openAiLegacyFormat?: boolean | undefined;
    openAiR1FormatEnabled?: boolean | undefined;
    openAiModelId?: string | undefined;
    openAiCustomModelInfo?: {
        contextWindow: number;
        supportsPromptCache: boolean;
        maxTokens?: number | null | undefined;
        maxThinkingTokens?: number | null | undefined;
        supportsImages?: boolean | undefined;
        promptCacheRetention?: "in_memory" | "24h" | undefined;
        supportsVerbosity?: boolean | undefined;
        supportsReasoningBudget?: boolean | undefined;
        supportsReasoningBinary?: boolean | undefined;
        supportsTemperature?: boolean | undefined;
        defaultTemperature?: number | undefined;
        requiredReasoningBudget?: boolean | undefined;
        supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
        requiredReasoningEffort?: boolean | undefined;
        preserveReasoning?: boolean | undefined;
        supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
        inputPrice?: number | undefined;
        outputPrice?: number | undefined;
        cacheWritesPrice?: number | undefined;
        cacheReadsPrice?: number | undefined;
        description?: string | undefined;
        reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
        minTokensPerCachePoint?: number | undefined;
        maxCachePoints?: number | undefined;
        cachableFields?: string[] | undefined;
        deprecated?: boolean | undefined;
        isFree?: boolean | undefined;
        supportsNativeTools?: boolean | undefined;
        defaultToolProtocol?: "xml" | "native" | undefined;
        tiers?: {
            contextWindow: number;
            name?: "default" | "flex" | "priority" | undefined;
            inputPrice?: number | undefined;
            outputPrice?: number | undefined;
            cacheWritesPrice?: number | undefined;
            cacheReadsPrice?: number | undefined;
        }[] | undefined;
    } | null | undefined;
    openAiUseAzure?: boolean | undefined;
    azureApiVersion?: string | undefined;
    openAiStreamingEnabled?: boolean | undefined;
    openAiHostHeader?: string | undefined;
    openAiHeaders?: Record<string, string> | undefined;
    ollamaModelId?: string | undefined;
    ollamaBaseUrl?: string | undefined;
    ollamaApiKey?: string | undefined;
    ollamaNumCtx?: number | undefined;
    vsCodeLmModelSelector?: {
        id?: string | undefined;
        family?: string | undefined;
        version?: string | undefined;
        vendor?: string | undefined;
    } | undefined;
    lmStudioModelId?: string | undefined;
    lmStudioBaseUrl?: string | undefined;
    lmStudioDraftModelId?: string | undefined;
    lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
    geminiApiKey?: string | undefined;
    googleGeminiBaseUrl?: string | undefined;
    geminiCliOAuthPath?: string | undefined;
    geminiCliProjectId?: string | undefined;
    openAiNativeApiKey?: string | undefined;
    openAiNativeBaseUrl?: string | undefined;
    openAiNativeServiceTier?: "default" | "flex" | "priority" | undefined;
    mistralApiKey?: string | undefined;
    mistralCodestralUrl?: string | undefined;
    deepSeekBaseUrl?: string | undefined;
    deepSeekApiKey?: string | undefined;
    deepInfraBaseUrl?: string | undefined;
    deepInfraApiKey?: string | undefined;
    deepInfraModelId?: string | undefined;
    doubaoBaseUrl?: string | undefined;
    doubaoApiKey?: string | undefined;
    moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined;
    moonshotApiKey?: string | undefined;
    minimaxBaseUrl?: "https://api.minimax.io/v1" | "https://api.minimaxi.com/v1" | undefined;
    minimaxApiKey?: string | undefined;
    unboundApiKey?: string | undefined;
    unboundModelId?: string | undefined;
    requestyBaseUrl?: string | undefined;
    requestyApiKey?: string | undefined;
    requestyModelId?: string | undefined;
    fakeAi?: unknown;
    xaiApiKey?: string | undefined;
    groqApiKey?: string | undefined;
    huggingFaceApiKey?: string | undefined;
    huggingFaceModelId?: string | undefined;
    huggingFaceInferenceProvider?: string | undefined;
    chutesApiKey?: string | undefined;
    litellmBaseUrl?: string | undefined;
    litellmApiKey?: string | undefined;
    litellmModelId?: string | undefined;
    litellmUsePromptCache?: boolean | undefined;
    cerebrasApiKey?: string | undefined;
    sambaNovaApiKey?: string | undefined;
    zaiApiKey?: string | undefined;
    zaiApiLine?: "international_coding" | "china_coding" | undefined;
    fireworksApiKey?: string | undefined;
    featherlessApiKey?: string | undefined;
    ioIntelligenceModelId?: string | undefined;
    ioIntelligenceApiKey?: string | undefined;
    qwenCodeOauthPath?: string | undefined;
    vercelAiGatewayApiKey?: string | undefined;
    vercelAiGatewayModelId?: string | undefined;
}, {
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
    codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
    codeIndexOpenAiKey?: string | undefined;
    codeIndexQdrantApiKey?: string | undefined;
    codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
    codebaseIndexGeminiApiKey?: string | undefined;
    codebaseIndexMistralApiKey?: string | undefined;
    codebaseIndexVercelAiGatewayApiKey?: string | undefined;
    codebaseIndexOpenRouterApiKey?: string | undefined;
    apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    apiKey?: string | undefined;
    anthropicBaseUrl?: string | undefined;
    anthropicUseAuthToken?: boolean | undefined;
    anthropicBeta1MContext?: boolean | undefined;
    claudeCodePath?: string | undefined;
    claudeCodeMaxOutputTokens?: number | undefined;
    glamaModelId?: string | undefined;
    glamaApiKey?: string | undefined;
    openRouterApiKey?: string | undefined;
    openRouterModelId?: string | undefined;
    openRouterBaseUrl?: string | undefined;
    openRouterSpecificProvider?: string | undefined;
    openRouterUseMiddleOutTransform?: boolean | undefined;
    awsAccessKey?: string | undefined;
    awsSecretKey?: string | undefined;
    awsSessionToken?: string | undefined;
    awsRegion?: string | undefined;
    awsUseCrossRegionInference?: boolean | undefined;
    awsUseGlobalInference?: boolean | undefined;
    awsUsePromptCache?: boolean | undefined;
    awsProfile?: string | undefined;
    awsUseProfile?: boolean | undefined;
    awsApiKey?: string | undefined;
    awsUseApiKey?: boolean | undefined;
    awsCustomArn?: string | undefined;
    awsModelContextWindow?: number | undefined;
    awsBedrockEndpointEnabled?: boolean | undefined;
    awsBedrockEndpoint?: string | undefined;
    awsBedrock1MContext?: boolean | undefined;
    vertexKeyFile?: string | undefined;
    vertexJsonCredentials?: string | undefined;
    vertexProjectId?: string | undefined;
    vertexRegion?: string | undefined;
    enableUrlContext?: boolean | undefined;
    enableGrounding?: boolean | undefined;
    openAiBaseUrl?: string | undefined;
    openAiApiKey?: string | undefined;
    openAiLegacyFormat?: boolean | undefined;
    openAiR1FormatEnabled?: boolean | undefined;
    openAiModelId?: string | undefined;
    openAiCustomModelInfo?: {
        contextWindow: number;
        supportsPromptCache: boolean;
        maxTokens?: number | null | undefined;
        maxThinkingTokens?: number | null | undefined;
        supportsImages?: boolean | undefined;
        promptCacheRetention?: "in_memory" | "24h" | undefined;
        supportsVerbosity?: boolean | undefined;
        supportsReasoningBudget?: boolean | undefined;
        supportsReasoningBinary?: boolean | undefined;
        supportsTemperature?: boolean | undefined;
        defaultTemperature?: number | undefined;
        requiredReasoningBudget?: boolean | undefined;
        supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
        requiredReasoningEffort?: boolean | undefined;
        preserveReasoning?: boolean | undefined;
        supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
        inputPrice?: number | undefined;
        outputPrice?: number | undefined;
        cacheWritesPrice?: number | undefined;
        cacheReadsPrice?: number | undefined;
        description?: string | undefined;
        reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
        minTokensPerCachePoint?: number | undefined;
        maxCachePoints?: number | undefined;
        cachableFields?: string[] | undefined;
        deprecated?: boolean | undefined;
        isFree?: boolean | undefined;
        supportsNativeTools?: boolean | undefined;
        defaultToolProtocol?: "xml" | "native" | undefined;
        tiers?: {
            contextWindow: number;
            name?: "default" | "flex" | "priority" | undefined;
            inputPrice?: number | undefined;
            outputPrice?: number | undefined;
            cacheWritesPrice?: number | undefined;
            cacheReadsPrice?: number | undefined;
        }[] | undefined;
    } | null | undefined;
    openAiUseAzure?: boolean | undefined;
    azureApiVersion?: string | undefined;
    openAiStreamingEnabled?: boolean | undefined;
    openAiHostHeader?: string | undefined;
    openAiHeaders?: Record<string, string> | undefined;
    ollamaModelId?: string | undefined;
    ollamaBaseUrl?: string | undefined;
    ollamaApiKey?: string | undefined;
    ollamaNumCtx?: number | undefined;
    vsCodeLmModelSelector?: {
        id?: string | undefined;
        family?: string | undefined;
        version?: string | undefined;
        vendor?: string | undefined;
    } | undefined;
    lmStudioModelId?: string | undefined;
    lmStudioBaseUrl?: string | undefined;
    lmStudioDraftModelId?: string | undefined;
    lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
    geminiApiKey?: string | undefined;
    googleGeminiBaseUrl?: string | undefined;
    geminiCliOAuthPath?: string | undefined;
    geminiCliProjectId?: string | undefined;
    openAiNativeApiKey?: string | undefined;
    openAiNativeBaseUrl?: string | undefined;
    openAiNativeServiceTier?: "default" | "flex" | "priority" | undefined;
    mistralApiKey?: string | undefined;
    mistralCodestralUrl?: string | undefined;
    deepSeekBaseUrl?: string | undefined;
    deepSeekApiKey?: string | undefined;
    deepInfraBaseUrl?: string | undefined;
    deepInfraApiKey?: string | undefined;
    deepInfraModelId?: string | undefined;
    doubaoBaseUrl?: string | undefined;
    doubaoApiKey?: string | undefined;
    moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined;
    moonshotApiKey?: string | undefined;
    minimaxBaseUrl?: "https://api.minimax.io/v1" | "https://api.minimaxi.com/v1" | undefined;
    minimaxApiKey?: string | undefined;
    unboundApiKey?: string | undefined;
    unboundModelId?: string | undefined;
    requestyBaseUrl?: string | undefined;
    requestyApiKey?: string | undefined;
    requestyModelId?: string | undefined;
    fakeAi?: unknown;
    xaiApiKey?: string | undefined;
    groqApiKey?: string | undefined;
    huggingFaceApiKey?: string | undefined;
    huggingFaceModelId?: string | undefined;
    huggingFaceInferenceProvider?: string | undefined;
    chutesApiKey?: string | undefined;
    litellmBaseUrl?: string | undefined;
    litellmApiKey?: string | undefined;
    litellmModelId?: string | undefined;
    litellmUsePromptCache?: boolean | undefined;
    cerebrasApiKey?: string | undefined;
    sambaNovaApiKey?: string | undefined;
    zaiApiKey?: string | undefined;
    zaiApiLine?: "international_coding" | "china_coding" | undefined;
    fireworksApiKey?: string | undefined;
    featherlessApiKey?: string | undefined;
    ioIntelligenceModelId?: string | undefined;
    ioIntelligenceApiKey?: string | undefined;
    qwenCodeOauthPath?: string | undefined;
    vercelAiGatewayApiKey?: string | undefined;
    vercelAiGatewayModelId?: string | undefined;
}>;
type ProviderSettings = z.infer<typeof providerSettingsSchema>;
declare const providerSettingsWithIdSchema: z.ZodObject<{
    codeIndexOpenAiKey: z.ZodOptional<z.ZodString>;
    codeIndexQdrantApiKey: z.ZodOptional<z.ZodString>;
    codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
    codebaseIndexOpenAiCompatibleApiKey: z.ZodOptional<z.ZodString>;
    codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
    codebaseIndexGeminiApiKey: z.ZodOptional<z.ZodString>;
    codebaseIndexMistralApiKey: z.ZodOptional<z.ZodString>;
    codebaseIndexVercelAiGatewayApiKey: z.ZodOptional<z.ZodString>;
    codebaseIndexOpenRouterApiKey: z.ZodOptional<z.ZodString>;
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
    vercelAiGatewayApiKey: z.ZodOptional<z.ZodString>;
    vercelAiGatewayModelId: z.ZodOptional<z.ZodString>;
    apiModelId: z.ZodOptional<z.ZodString>;
    qwenCodeOauthPath: z.ZodOptional<z.ZodString>;
    ioIntelligenceModelId: z.ZodOptional<z.ZodString>;
    ioIntelligenceApiKey: z.ZodOptional<z.ZodString>;
    featherlessApiKey: z.ZodOptional<z.ZodString>;
    fireworksApiKey: z.ZodOptional<z.ZodString>;
    zaiApiKey: z.ZodOptional<z.ZodString>;
    zaiApiLine: z.ZodOptional<z.ZodEnum<["international_coding", "china_coding"]>>;
    sambaNovaApiKey: z.ZodOptional<z.ZodString>;
    cerebrasApiKey: z.ZodOptional<z.ZodString>;
    litellmBaseUrl: z.ZodOptional<z.ZodString>;
    litellmApiKey: z.ZodOptional<z.ZodString>;
    litellmModelId: z.ZodOptional<z.ZodString>;
    litellmUsePromptCache: z.ZodOptional<z.ZodBoolean>;
    chutesApiKey: z.ZodOptional<z.ZodString>;
    huggingFaceApiKey: z.ZodOptional<z.ZodString>;
    huggingFaceModelId: z.ZodOptional<z.ZodString>;
    huggingFaceInferenceProvider: z.ZodOptional<z.ZodString>;
    groqApiKey: z.ZodOptional<z.ZodString>;
    xaiApiKey: z.ZodOptional<z.ZodString>;
    fakeAi: z.ZodOptional<z.ZodUnknown>;
    requestyBaseUrl: z.ZodOptional<z.ZodString>;
    requestyApiKey: z.ZodOptional<z.ZodString>;
    requestyModelId: z.ZodOptional<z.ZodString>;
    unboundApiKey: z.ZodOptional<z.ZodString>;
    unboundModelId: z.ZodOptional<z.ZodString>;
    minimaxBaseUrl: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"https://api.minimax.io/v1">, z.ZodLiteral<"https://api.minimaxi.com/v1">]>>;
    minimaxApiKey: z.ZodOptional<z.ZodString>;
    moonshotBaseUrl: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"https://api.moonshot.ai/v1">, z.ZodLiteral<"https://api.moonshot.cn/v1">]>>;
    moonshotApiKey: z.ZodOptional<z.ZodString>;
    doubaoBaseUrl: z.ZodOptional<z.ZodString>;
    doubaoApiKey: z.ZodOptional<z.ZodString>;
    deepInfraBaseUrl: z.ZodOptional<z.ZodString>;
    deepInfraApiKey: z.ZodOptional<z.ZodString>;
    deepInfraModelId: z.ZodOptional<z.ZodString>;
    deepSeekBaseUrl: z.ZodOptional<z.ZodString>;
    deepSeekApiKey: z.ZodOptional<z.ZodString>;
    mistralApiKey: z.ZodOptional<z.ZodString>;
    mistralCodestralUrl: z.ZodOptional<z.ZodString>;
    openAiNativeApiKey: z.ZodOptional<z.ZodString>;
    openAiNativeBaseUrl: z.ZodOptional<z.ZodString>;
    openAiNativeServiceTier: z.ZodOptional<z.ZodEnum<["default", "flex", "priority"]>>;
    geminiCliOAuthPath: z.ZodOptional<z.ZodString>;
    geminiCliProjectId: z.ZodOptional<z.ZodString>;
    geminiApiKey: z.ZodOptional<z.ZodString>;
    googleGeminiBaseUrl: z.ZodOptional<z.ZodString>;
    enableUrlContext: z.ZodOptional<z.ZodBoolean>;
    enableGrounding: z.ZodOptional<z.ZodBoolean>;
    lmStudioModelId: z.ZodOptional<z.ZodString>;
    lmStudioBaseUrl: z.ZodOptional<z.ZodString>;
    lmStudioDraftModelId: z.ZodOptional<z.ZodString>;
    lmStudioSpeculativeDecodingEnabled: z.ZodOptional<z.ZodBoolean>;
    vsCodeLmModelSelector: z.ZodOptional<z.ZodObject<{
        vendor: z.ZodOptional<z.ZodString>;
        family: z.ZodOptional<z.ZodString>;
        version: z.ZodOptional<z.ZodString>;
        id: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        id?: string | undefined;
        family?: string | undefined;
        version?: string | undefined;
        vendor?: string | undefined;
    }, {
        id?: string | undefined;
        family?: string | undefined;
        version?: string | undefined;
        vendor?: string | undefined;
    }>>;
    ollamaModelId: z.ZodOptional<z.ZodString>;
    ollamaBaseUrl: z.ZodOptional<z.ZodString>;
    ollamaApiKey: z.ZodOptional<z.ZodString>;
    ollamaNumCtx: z.ZodOptional<z.ZodNumber>;
    openAiBaseUrl: z.ZodOptional<z.ZodString>;
    openAiApiKey: z.ZodOptional<z.ZodString>;
    openAiLegacyFormat: z.ZodOptional<z.ZodBoolean>;
    openAiR1FormatEnabled: z.ZodOptional<z.ZodBoolean>;
    openAiModelId: z.ZodOptional<z.ZodString>;
    openAiCustomModelInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
        maxTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        maxThinkingTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        contextWindow: z.ZodNumber;
        supportsImages: z.ZodOptional<z.ZodBoolean>;
        supportsPromptCache: z.ZodBoolean;
        promptCacheRetention: z.ZodOptional<z.ZodEnum<["in_memory", "24h"]>>;
        supportsVerbosity: z.ZodOptional<z.ZodBoolean>;
        supportsReasoningBudget: z.ZodOptional<z.ZodBoolean>;
        supportsReasoningBinary: z.ZodOptional<z.ZodBoolean>;
        supportsTemperature: z.ZodOptional<z.ZodBoolean>;
        defaultTemperature: z.ZodOptional<z.ZodNumber>;
        requiredReasoningBudget: z.ZodOptional<z.ZodBoolean>;
        supportsReasoningEffort: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>, "many">]>>;
        requiredReasoningEffort: z.ZodOptional<z.ZodBoolean>;
        preserveReasoning: z.ZodOptional<z.ZodBoolean>;
        supportedParameters: z.ZodOptional<z.ZodArray<z.ZodEnum<["max_tokens", "temperature", "reasoning", "include_reasoning"]>, "many">>;
        inputPrice: z.ZodOptional<z.ZodNumber>;
        outputPrice: z.ZodOptional<z.ZodNumber>;
        cacheWritesPrice: z.ZodOptional<z.ZodNumber>;
        cacheReadsPrice: z.ZodOptional<z.ZodNumber>;
        description: z.ZodOptional<z.ZodString>;
        reasoningEffort: z.ZodOptional<z.ZodEnum<["none", "minimal", "low", "medium", "high"]>>;
        minTokensPerCachePoint: z.ZodOptional<z.ZodNumber>;
        maxCachePoints: z.ZodOptional<z.ZodNumber>;
        cachableFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        deprecated: z.ZodOptional<z.ZodBoolean>;
        isFree: z.ZodOptional<z.ZodBoolean>;
        supportsNativeTools: z.ZodOptional<z.ZodBoolean>;
        defaultToolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
        tiers: z.ZodOptional<z.ZodArray<z.ZodObject<{
            name: z.ZodOptional<z.ZodEnum<["default", "flex", "priority"]>>;
            contextWindow: z.ZodNumber;
            inputPrice: z.ZodOptional<z.ZodNumber>;
            outputPrice: z.ZodOptional<z.ZodNumber>;
            cacheWritesPrice: z.ZodOptional<z.ZodNumber>;
            cacheReadsPrice: z.ZodOptional<z.ZodNumber>;
        }, "strip", z.ZodTypeAny, {
            contextWindow: number;
            name?: "default" | "flex" | "priority" | undefined;
            inputPrice?: number | undefined;
            outputPrice?: number | undefined;
            cacheWritesPrice?: number | undefined;
            cacheReadsPrice?: number | undefined;
        }, {
            contextWindow: number;
            name?: "default" | "flex" | "priority" | undefined;
            inputPrice?: number | undefined;
            outputPrice?: number | undefined;
            cacheWritesPrice?: number | undefined;
            cacheReadsPrice?: number | undefined;
        }>, "many">>;
    }, "strip", z.ZodTypeAny, {
        contextWindow: number;
        supportsPromptCache: boolean;
        maxTokens?: number | null | undefined;
        maxThinkingTokens?: number | null | undefined;
        supportsImages?: boolean | undefined;
        promptCacheRetention?: "in_memory" | "24h" | undefined;
        supportsVerbosity?: boolean | undefined;
        supportsReasoningBudget?: boolean | undefined;
        supportsReasoningBinary?: boolean | undefined;
        supportsTemperature?: boolean | undefined;
        defaultTemperature?: number | undefined;
        requiredReasoningBudget?: boolean | undefined;
        supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
        requiredReasoningEffort?: boolean | undefined;
        preserveReasoning?: boolean | undefined;
        supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
        inputPrice?: number | undefined;
        outputPrice?: number | undefined;
        cacheWritesPrice?: number | undefined;
        cacheReadsPrice?: number | undefined;
        description?: string | undefined;
        reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
        minTokensPerCachePoint?: number | undefined;
        maxCachePoints?: number | undefined;
        cachableFields?: string[] | undefined;
        deprecated?: boolean | undefined;
        isFree?: boolean | undefined;
        supportsNativeTools?: boolean | undefined;
        defaultToolProtocol?: "xml" | "native" | undefined;
        tiers?: {
            contextWindow: number;
            name?: "default" | "flex" | "priority" | undefined;
            inputPrice?: number | undefined;
            outputPrice?: number | undefined;
            cacheWritesPrice?: number | undefined;
            cacheReadsPrice?: number | undefined;
        }[] | undefined;
    }, {
        contextWindow: number;
        supportsPromptCache: boolean;
        maxTokens?: number | null | undefined;
        maxThinkingTokens?: number | null | undefined;
        supportsImages?: boolean | undefined;
        promptCacheRetention?: "in_memory" | "24h" | undefined;
        supportsVerbosity?: boolean | undefined;
        supportsReasoningBudget?: boolean | undefined;
        supportsReasoningBinary?: boolean | undefined;
        supportsTemperature?: boolean | undefined;
        defaultTemperature?: number | undefined;
        requiredReasoningBudget?: boolean | undefined;
        supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
        requiredReasoningEffort?: boolean | undefined;
        preserveReasoning?: boolean | undefined;
        supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
        inputPrice?: number | undefined;
        outputPrice?: number | undefined;
        cacheWritesPrice?: number | undefined;
        cacheReadsPrice?: number | undefined;
        description?: string | undefined;
        reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
        minTokensPerCachePoint?: number | undefined;
        maxCachePoints?: number | undefined;
        cachableFields?: string[] | undefined;
        deprecated?: boolean | undefined;
        isFree?: boolean | undefined;
        supportsNativeTools?: boolean | undefined;
        defaultToolProtocol?: "xml" | "native" | undefined;
        tiers?: {
            contextWindow: number;
            name?: "default" | "flex" | "priority" | undefined;
            inputPrice?: number | undefined;
            outputPrice?: number | undefined;
            cacheWritesPrice?: number | undefined;
            cacheReadsPrice?: number | undefined;
        }[] | undefined;
    }>>>;
    openAiUseAzure: z.ZodOptional<z.ZodBoolean>;
    azureApiVersion: z.ZodOptional<z.ZodString>;
    openAiStreamingEnabled: z.ZodOptional<z.ZodBoolean>;
    openAiHostHeader: z.ZodOptional<z.ZodString>;
    openAiHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    vertexKeyFile: z.ZodOptional<z.ZodString>;
    vertexJsonCredentials: z.ZodOptional<z.ZodString>;
    vertexProjectId: z.ZodOptional<z.ZodString>;
    vertexRegion: z.ZodOptional<z.ZodString>;
    awsAccessKey: z.ZodOptional<z.ZodString>;
    awsSecretKey: z.ZodOptional<z.ZodString>;
    awsSessionToken: z.ZodOptional<z.ZodString>;
    awsRegion: z.ZodOptional<z.ZodString>;
    awsUseCrossRegionInference: z.ZodOptional<z.ZodBoolean>;
    awsUseGlobalInference: z.ZodOptional<z.ZodBoolean>;
    awsUsePromptCache: z.ZodOptional<z.ZodBoolean>;
    awsProfile: z.ZodOptional<z.ZodString>;
    awsUseProfile: z.ZodOptional<z.ZodBoolean>;
    awsApiKey: z.ZodOptional<z.ZodString>;
    awsUseApiKey: z.ZodOptional<z.ZodBoolean>;
    awsCustomArn: z.ZodOptional<z.ZodString>;
    awsModelContextWindow: z.ZodOptional<z.ZodNumber>;
    awsBedrockEndpointEnabled: z.ZodOptional<z.ZodBoolean>;
    awsBedrockEndpoint: z.ZodOptional<z.ZodString>;
    awsBedrock1MContext: z.ZodOptional<z.ZodBoolean>;
    openRouterApiKey: z.ZodOptional<z.ZodString>;
    openRouterModelId: z.ZodOptional<z.ZodString>;
    openRouterBaseUrl: z.ZodOptional<z.ZodString>;
    openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
    openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
    glamaModelId: z.ZodOptional<z.ZodString>;
    glamaApiKey: z.ZodOptional<z.ZodString>;
    claudeCodePath: z.ZodOptional<z.ZodString>;
    claudeCodeMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
    apiKey: z.ZodOptional<z.ZodString>;
    anthropicBaseUrl: z.ZodOptional<z.ZodString>;
    anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
    anthropicBeta1MContext: z.ZodOptional<z.ZodBoolean>;
    apiProvider: z.ZodOptional<z.ZodEnum<["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "roo", "chutes", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "minimax", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"]>>;
} & {
    id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    id?: string | undefined;
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
    codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
    codeIndexOpenAiKey?: string | undefined;
    codeIndexQdrantApiKey?: string | undefined;
    codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
    codebaseIndexGeminiApiKey?: string | undefined;
    codebaseIndexMistralApiKey?: string | undefined;
    codebaseIndexVercelAiGatewayApiKey?: string | undefined;
    codebaseIndexOpenRouterApiKey?: string | undefined;
    apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    apiKey?: string | undefined;
    anthropicBaseUrl?: string | undefined;
    anthropicUseAuthToken?: boolean | undefined;
    anthropicBeta1MContext?: boolean | undefined;
    claudeCodePath?: string | undefined;
    claudeCodeMaxOutputTokens?: number | undefined;
    glamaModelId?: string | undefined;
    glamaApiKey?: string | undefined;
    openRouterApiKey?: string | undefined;
    openRouterModelId?: string | undefined;
    openRouterBaseUrl?: string | undefined;
    openRouterSpecificProvider?: string | undefined;
    openRouterUseMiddleOutTransform?: boolean | undefined;
    awsAccessKey?: string | undefined;
    awsSecretKey?: string | undefined;
    awsSessionToken?: string | undefined;
    awsRegion?: string | undefined;
    awsUseCrossRegionInference?: boolean | undefined;
    awsUseGlobalInference?: boolean | undefined;
    awsUsePromptCache?: boolean | undefined;
    awsProfile?: string | undefined;
    awsUseProfile?: boolean | undefined;
    awsApiKey?: string | undefined;
    awsUseApiKey?: boolean | undefined;
    awsCustomArn?: string | undefined;
    awsModelContextWindow?: number | undefined;
    awsBedrockEndpointEnabled?: boolean | undefined;
    awsBedrockEndpoint?: string | undefined;
    awsBedrock1MContext?: boolean | undefined;
    vertexKeyFile?: string | undefined;
    vertexJsonCredentials?: string | undefined;
    vertexProjectId?: string | undefined;
    vertexRegion?: string | undefined;
    enableUrlContext?: boolean | undefined;
    enableGrounding?: boolean | undefined;
    openAiBaseUrl?: string | undefined;
    openAiApiKey?: string | undefined;
    openAiLegacyFormat?: boolean | undefined;
    openAiR1FormatEnabled?: boolean | undefined;
    openAiModelId?: string | undefined;
    openAiCustomModelInfo?: {
        contextWindow: number;
        supportsPromptCache: boolean;
        maxTokens?: number | null | undefined;
        maxThinkingTokens?: number | null | undefined;
        supportsImages?: boolean | undefined;
        promptCacheRetention?: "in_memory" | "24h" | undefined;
        supportsVerbosity?: boolean | undefined;
        supportsReasoningBudget?: boolean | undefined;
        supportsReasoningBinary?: boolean | undefined;
        supportsTemperature?: boolean | undefined;
        defaultTemperature?: number | undefined;
        requiredReasoningBudget?: boolean | undefined;
        supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
        requiredReasoningEffort?: boolean | undefined;
        preserveReasoning?: boolean | undefined;
        supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
        inputPrice?: number | undefined;
        outputPrice?: number | undefined;
        cacheWritesPrice?: number | undefined;
        cacheReadsPrice?: number | undefined;
        description?: string | undefined;
        reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
        minTokensPerCachePoint?: number | undefined;
        maxCachePoints?: number | undefined;
        cachableFields?: string[] | undefined;
        deprecated?: boolean | undefined;
        isFree?: boolean | undefined;
        supportsNativeTools?: boolean | undefined;
        defaultToolProtocol?: "xml" | "native" | undefined;
        tiers?: {
            contextWindow: number;
            name?: "default" | "flex" | "priority" | undefined;
            inputPrice?: number | undefined;
            outputPrice?: number | undefined;
            cacheWritesPrice?: number | undefined;
            cacheReadsPrice?: number | undefined;
        }[] | undefined;
    } | null | undefined;
    openAiUseAzure?: boolean | undefined;
    azureApiVersion?: string | undefined;
    openAiStreamingEnabled?: boolean | undefined;
    openAiHostHeader?: string | undefined;
    openAiHeaders?: Record<string, string> | undefined;
    ollamaModelId?: string | undefined;
    ollamaBaseUrl?: string | undefined;
    ollamaApiKey?: string | undefined;
    ollamaNumCtx?: number | undefined;
    vsCodeLmModelSelector?: {
        id?: string | undefined;
        family?: string | undefined;
        version?: string | undefined;
        vendor?: string | undefined;
    } | undefined;
    lmStudioModelId?: string | undefined;
    lmStudioBaseUrl?: string | undefined;
    lmStudioDraftModelId?: string | undefined;
    lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
    geminiApiKey?: string | undefined;
    googleGeminiBaseUrl?: string | undefined;
    geminiCliOAuthPath?: string | undefined;
    geminiCliProjectId?: string | undefined;
    openAiNativeApiKey?: string | undefined;
    openAiNativeBaseUrl?: string | undefined;
    openAiNativeServiceTier?: "default" | "flex" | "priority" | undefined;
    mistralApiKey?: string | undefined;
    mistralCodestralUrl?: string | undefined;
    deepSeekBaseUrl?: string | undefined;
    deepSeekApiKey?: string | undefined;
    deepInfraBaseUrl?: string | undefined;
    deepInfraApiKey?: string | undefined;
    deepInfraModelId?: string | undefined;
    doubaoBaseUrl?: string | undefined;
    doubaoApiKey?: string | undefined;
    moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined;
    moonshotApiKey?: string | undefined;
    minimaxBaseUrl?: "https://api.minimax.io/v1" | "https://api.minimaxi.com/v1" | undefined;
    minimaxApiKey?: string | undefined;
    unboundApiKey?: string | undefined;
    unboundModelId?: string | undefined;
    requestyBaseUrl?: string | undefined;
    requestyApiKey?: string | undefined;
    requestyModelId?: string | undefined;
    fakeAi?: unknown;
    xaiApiKey?: string | undefined;
    groqApiKey?: string | undefined;
    huggingFaceApiKey?: string | undefined;
    huggingFaceModelId?: string | undefined;
    huggingFaceInferenceProvider?: string | undefined;
    chutesApiKey?: string | undefined;
    litellmBaseUrl?: string | undefined;
    litellmApiKey?: string | undefined;
    litellmModelId?: string | undefined;
    litellmUsePromptCache?: boolean | undefined;
    cerebrasApiKey?: string | undefined;
    sambaNovaApiKey?: string | undefined;
    zaiApiKey?: string | undefined;
    zaiApiLine?: "international_coding" | "china_coding" | undefined;
    fireworksApiKey?: string | undefined;
    featherlessApiKey?: string | undefined;
    ioIntelligenceModelId?: string | undefined;
    ioIntelligenceApiKey?: string | undefined;
    qwenCodeOauthPath?: string | undefined;
    vercelAiGatewayApiKey?: string | undefined;
    vercelAiGatewayModelId?: string | undefined;
}, {
    id?: string | undefined;
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
    codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
    codeIndexOpenAiKey?: string | undefined;
    codeIndexQdrantApiKey?: string | undefined;
    codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
    codebaseIndexGeminiApiKey?: string | undefined;
    codebaseIndexMistralApiKey?: string | undefined;
    codebaseIndexVercelAiGatewayApiKey?: string | undefined;
    codebaseIndexOpenRouterApiKey?: string | undefined;
    apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    apiKey?: string | undefined;
    anthropicBaseUrl?: string | undefined;
    anthropicUseAuthToken?: boolean | undefined;
    anthropicBeta1MContext?: boolean | undefined;
    claudeCodePath?: string | undefined;
    claudeCodeMaxOutputTokens?: number | undefined;
    glamaModelId?: string | undefined;
    glamaApiKey?: string | undefined;
    openRouterApiKey?: string | undefined;
    openRouterModelId?: string | undefined;
    openRouterBaseUrl?: string | undefined;
    openRouterSpecificProvider?: string | undefined;
    openRouterUseMiddleOutTransform?: boolean | undefined;
    awsAccessKey?: string | undefined;
    awsSecretKey?: string | undefined;
    awsSessionToken?: string | undefined;
    awsRegion?: string | undefined;
    awsUseCrossRegionInference?: boolean | undefined;
    awsUseGlobalInference?: boolean | undefined;
    awsUsePromptCache?: boolean | undefined;
    awsProfile?: string | undefined;
    awsUseProfile?: boolean | undefined;
    awsApiKey?: string | undefined;
    awsUseApiKey?: boolean | undefined;
    awsCustomArn?: string | undefined;
    awsModelContextWindow?: number | undefined;
    awsBedrockEndpointEnabled?: boolean | undefined;
    awsBedrockEndpoint?: string | undefined;
    awsBedrock1MContext?: boolean | undefined;
    vertexKeyFile?: string | undefined;
    vertexJsonCredentials?: string | undefined;
    vertexProjectId?: string | undefined;
    vertexRegion?: string | undefined;
    enableUrlContext?: boolean | undefined;
    enableGrounding?: boolean | undefined;
    openAiBaseUrl?: string | undefined;
    openAiApiKey?: string | undefined;
    openAiLegacyFormat?: boolean | undefined;
    openAiR1FormatEnabled?: boolean | undefined;
    openAiModelId?: string | undefined;
    openAiCustomModelInfo?: {
        contextWindow: number;
        supportsPromptCache: boolean;
        maxTokens?: number | null | undefined;
        maxThinkingTokens?: number | null | undefined;
        supportsImages?: boolean | undefined;
        promptCacheRetention?: "in_memory" | "24h" | undefined;
        supportsVerbosity?: boolean | undefined;
        supportsReasoningBudget?: boolean | undefined;
        supportsReasoningBinary?: boolean | undefined;
        supportsTemperature?: boolean | undefined;
        defaultTemperature?: number | undefined;
        requiredReasoningBudget?: boolean | undefined;
        supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
        requiredReasoningEffort?: boolean | undefined;
        preserveReasoning?: boolean | undefined;
        supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
        inputPrice?: number | undefined;
        outputPrice?: number | undefined;
        cacheWritesPrice?: number | undefined;
        cacheReadsPrice?: number | undefined;
        description?: string | undefined;
        reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
        minTokensPerCachePoint?: number | undefined;
        maxCachePoints?: number | undefined;
        cachableFields?: string[] | undefined;
        deprecated?: boolean | undefined;
        isFree?: boolean | undefined;
        supportsNativeTools?: boolean | undefined;
        defaultToolProtocol?: "xml" | "native" | undefined;
        tiers?: {
            contextWindow: number;
            name?: "default" | "flex" | "priority" | undefined;
            inputPrice?: number | undefined;
            outputPrice?: number | undefined;
            cacheWritesPrice?: number | undefined;
            cacheReadsPrice?: number | undefined;
        }[] | undefined;
    } | null | undefined;
    openAiUseAzure?: boolean | undefined;
    azureApiVersion?: string | undefined;
    openAiStreamingEnabled?: boolean | undefined;
    openAiHostHeader?: string | undefined;
    openAiHeaders?: Record<string, string> | undefined;
    ollamaModelId?: string | undefined;
    ollamaBaseUrl?: string | undefined;
    ollamaApiKey?: string | undefined;
    ollamaNumCtx?: number | undefined;
    vsCodeLmModelSelector?: {
        id?: string | undefined;
        family?: string | undefined;
        version?: string | undefined;
        vendor?: string | undefined;
    } | undefined;
    lmStudioModelId?: string | undefined;
    lmStudioBaseUrl?: string | undefined;
    lmStudioDraftModelId?: string | undefined;
    lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
    geminiApiKey?: string | undefined;
    googleGeminiBaseUrl?: string | undefined;
    geminiCliOAuthPath?: string | undefined;
    geminiCliProjectId?: string | undefined;
    openAiNativeApiKey?: string | undefined;
    openAiNativeBaseUrl?: string | undefined;
    openAiNativeServiceTier?: "default" | "flex" | "priority" | undefined;
    mistralApiKey?: string | undefined;
    mistralCodestralUrl?: string | undefined;
    deepSeekBaseUrl?: string | undefined;
    deepSeekApiKey?: string | undefined;
    deepInfraBaseUrl?: string | undefined;
    deepInfraApiKey?: string | undefined;
    deepInfraModelId?: string | undefined;
    doubaoBaseUrl?: string | undefined;
    doubaoApiKey?: string | undefined;
    moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined;
    moonshotApiKey?: string | undefined;
    minimaxBaseUrl?: "https://api.minimax.io/v1" | "https://api.minimaxi.com/v1" | undefined;
    minimaxApiKey?: string | undefined;
    unboundApiKey?: string | undefined;
    unboundModelId?: string | undefined;
    requestyBaseUrl?: string | undefined;
    requestyApiKey?: string | undefined;
    requestyModelId?: string | undefined;
    fakeAi?: unknown;
    xaiApiKey?: string | undefined;
    groqApiKey?: string | undefined;
    huggingFaceApiKey?: string | undefined;
    huggingFaceModelId?: string | undefined;
    huggingFaceInferenceProvider?: string | undefined;
    chutesApiKey?: string | undefined;
    litellmBaseUrl?: string | undefined;
    litellmApiKey?: string | undefined;
    litellmModelId?: string | undefined;
    litellmUsePromptCache?: boolean | undefined;
    cerebrasApiKey?: string | undefined;
    sambaNovaApiKey?: string | undefined;
    zaiApiKey?: string | undefined;
    zaiApiLine?: "international_coding" | "china_coding" | undefined;
    fireworksApiKey?: string | undefined;
    featherlessApiKey?: string | undefined;
    ioIntelligenceModelId?: string | undefined;
    ioIntelligenceApiKey?: string | undefined;
    qwenCodeOauthPath?: string | undefined;
    vercelAiGatewayApiKey?: string | undefined;
    vercelAiGatewayModelId?: string | undefined;
}>;
declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"apiProvider", [z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    apiKey: z.ZodOptional<z.ZodString>;
    anthropicBaseUrl: z.ZodOptional<z.ZodString>;
    anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
    anthropicBeta1MContext: z.ZodOptional<z.ZodBoolean>;
} & {
    apiProvider: z.ZodLiteral<"anthropic">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "anthropic";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    apiKey?: string | undefined;
    anthropicBaseUrl?: string | undefined;
    anthropicUseAuthToken?: boolean | undefined;
    anthropicBeta1MContext?: boolean | undefined;
}, {
    apiProvider: "anthropic";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    apiKey?: string | undefined;
    anthropicBaseUrl?: string | undefined;
    anthropicUseAuthToken?: boolean | undefined;
    anthropicBeta1MContext?: boolean | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    claudeCodePath: z.ZodOptional<z.ZodString>;
    claudeCodeMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
} & {
    apiProvider: z.ZodLiteral<"claude-code">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "claude-code";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    claudeCodePath?: string | undefined;
    claudeCodeMaxOutputTokens?: number | undefined;
}, {
    apiProvider: "claude-code";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    claudeCodePath?: string | undefined;
    claudeCodeMaxOutputTokens?: number | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    glamaModelId: z.ZodOptional<z.ZodString>;
    glamaApiKey: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"glama">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "glama";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    glamaModelId?: string | undefined;
    glamaApiKey?: string | undefined;
}, {
    apiProvider: "glama";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    glamaModelId?: string | undefined;
    glamaApiKey?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    openRouterApiKey: z.ZodOptional<z.ZodString>;
    openRouterModelId: z.ZodOptional<z.ZodString>;
    openRouterBaseUrl: z.ZodOptional<z.ZodString>;
    openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
    openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
} & {
    apiProvider: z.ZodLiteral<"openrouter">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "openrouter";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    openRouterApiKey?: string | undefined;
    openRouterModelId?: string | undefined;
    openRouterBaseUrl?: string | undefined;
    openRouterSpecificProvider?: string | undefined;
    openRouterUseMiddleOutTransform?: boolean | undefined;
}, {
    apiProvider: "openrouter";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    openRouterApiKey?: string | undefined;
    openRouterModelId?: string | undefined;
    openRouterBaseUrl?: string | undefined;
    openRouterSpecificProvider?: string | undefined;
    openRouterUseMiddleOutTransform?: boolean | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    awsAccessKey: z.ZodOptional<z.ZodString>;
    awsSecretKey: z.ZodOptional<z.ZodString>;
    awsSessionToken: z.ZodOptional<z.ZodString>;
    awsRegion: z.ZodOptional<z.ZodString>;
    awsUseCrossRegionInference: z.ZodOptional<z.ZodBoolean>;
    awsUseGlobalInference: z.ZodOptional<z.ZodBoolean>;
    awsUsePromptCache: z.ZodOptional<z.ZodBoolean>;
    awsProfile: z.ZodOptional<z.ZodString>;
    awsUseProfile: z.ZodOptional<z.ZodBoolean>;
    awsApiKey: z.ZodOptional<z.ZodString>;
    awsUseApiKey: z.ZodOptional<z.ZodBoolean>;
    awsCustomArn: z.ZodOptional<z.ZodString>;
    awsModelContextWindow: z.ZodOptional<z.ZodNumber>;
    awsBedrockEndpointEnabled: z.ZodOptional<z.ZodBoolean>;
    awsBedrockEndpoint: z.ZodOptional<z.ZodString>;
    awsBedrock1MContext: z.ZodOptional<z.ZodBoolean>;
} & {
    apiProvider: z.ZodLiteral<"bedrock">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "bedrock";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    awsAccessKey?: string | undefined;
    awsSecretKey?: string | undefined;
    awsSessionToken?: string | undefined;
    awsRegion?: string | undefined;
    awsUseCrossRegionInference?: boolean | undefined;
    awsUseGlobalInference?: boolean | undefined;
    awsUsePromptCache?: boolean | undefined;
    awsProfile?: string | undefined;
    awsUseProfile?: boolean | undefined;
    awsApiKey?: string | undefined;
    awsUseApiKey?: boolean | undefined;
    awsCustomArn?: string | undefined;
    awsModelContextWindow?: number | undefined;
    awsBedrockEndpointEnabled?: boolean | undefined;
    awsBedrockEndpoint?: string | undefined;
    awsBedrock1MContext?: boolean | undefined;
}, {
    apiProvider: "bedrock";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    awsAccessKey?: string | undefined;
    awsSecretKey?: string | undefined;
    awsSessionToken?: string | undefined;
    awsRegion?: string | undefined;
    awsUseCrossRegionInference?: boolean | undefined;
    awsUseGlobalInference?: boolean | undefined;
    awsUsePromptCache?: boolean | undefined;
    awsProfile?: string | undefined;
    awsUseProfile?: boolean | undefined;
    awsApiKey?: string | undefined;
    awsUseApiKey?: boolean | undefined;
    awsCustomArn?: string | undefined;
    awsModelContextWindow?: number | undefined;
    awsBedrockEndpointEnabled?: boolean | undefined;
    awsBedrockEndpoint?: string | undefined;
    awsBedrock1MContext?: boolean | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    vertexKeyFile: z.ZodOptional<z.ZodString>;
    vertexJsonCredentials: z.ZodOptional<z.ZodString>;
    vertexProjectId: z.ZodOptional<z.ZodString>;
    vertexRegion: z.ZodOptional<z.ZodString>;
    enableUrlContext: z.ZodOptional<z.ZodBoolean>;
    enableGrounding: z.ZodOptional<z.ZodBoolean>;
} & {
    apiProvider: z.ZodLiteral<"vertex">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "vertex";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    vertexKeyFile?: string | undefined;
    vertexJsonCredentials?: string | undefined;
    vertexProjectId?: string | undefined;
    vertexRegion?: string | undefined;
    enableUrlContext?: boolean | undefined;
    enableGrounding?: boolean | undefined;
}, {
    apiProvider: "vertex";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    vertexKeyFile?: string | undefined;
    vertexJsonCredentials?: string | undefined;
    vertexProjectId?: string | undefined;
    vertexRegion?: string | undefined;
    enableUrlContext?: boolean | undefined;
    enableGrounding?: boolean | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    openAiBaseUrl: z.ZodOptional<z.ZodString>;
    openAiApiKey: z.ZodOptional<z.ZodString>;
    openAiLegacyFormat: z.ZodOptional<z.ZodBoolean>;
    openAiR1FormatEnabled: z.ZodOptional<z.ZodBoolean>;
    openAiModelId: z.ZodOptional<z.ZodString>;
    openAiCustomModelInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
        maxTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        maxThinkingTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        contextWindow: z.ZodNumber;
        supportsImages: z.ZodOptional<z.ZodBoolean>;
        supportsPromptCache: z.ZodBoolean;
        promptCacheRetention: z.ZodOptional<z.ZodEnum<["in_memory", "24h"]>>;
        supportsVerbosity: z.ZodOptional<z.ZodBoolean>;
        supportsReasoningBudget: z.ZodOptional<z.ZodBoolean>;
        supportsReasoningBinary: z.ZodOptional<z.ZodBoolean>;
        supportsTemperature: z.ZodOptional<z.ZodBoolean>;
        defaultTemperature: z.ZodOptional<z.ZodNumber>;
        requiredReasoningBudget: z.ZodOptional<z.ZodBoolean>;
        supportsReasoningEffort: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>, "many">]>>;
        requiredReasoningEffort: z.ZodOptional<z.ZodBoolean>;
        preserveReasoning: z.ZodOptional<z.ZodBoolean>;
        supportedParameters: z.ZodOptional<z.ZodArray<z.ZodEnum<["max_tokens", "temperature", "reasoning", "include_reasoning"]>, "many">>;
        inputPrice: z.ZodOptional<z.ZodNumber>;
        outputPrice: z.ZodOptional<z.ZodNumber>;
        cacheWritesPrice: z.ZodOptional<z.ZodNumber>;
        cacheReadsPrice: z.ZodOptional<z.ZodNumber>;
        description: z.ZodOptional<z.ZodString>;
        reasoningEffort: z.ZodOptional<z.ZodEnum<["none", "minimal", "low", "medium", "high"]>>;
        minTokensPerCachePoint: z.ZodOptional<z.ZodNumber>;
        maxCachePoints: z.ZodOptional<z.ZodNumber>;
        cachableFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        deprecated: z.ZodOptional<z.ZodBoolean>;
        isFree: z.ZodOptional<z.ZodBoolean>;
        supportsNativeTools: z.ZodOptional<z.ZodBoolean>;
        defaultToolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
        tiers: z.ZodOptional<z.ZodArray<z.ZodObject<{
            name: z.ZodOptional<z.ZodEnum<["default", "flex", "priority"]>>;
            contextWindow: z.ZodNumber;
            inputPrice: z.ZodOptional<z.ZodNumber>;
            outputPrice: z.ZodOptional<z.ZodNumber>;
            cacheWritesPrice: z.ZodOptional<z.ZodNumber>;
            cacheReadsPrice: z.ZodOptional<z.ZodNumber>;
        }, "strip", z.ZodTypeAny, {
            contextWindow: number;
            name?: "default" | "flex" | "priority" | undefined;
            inputPrice?: number | undefined;
            outputPrice?: number | undefined;
            cacheWritesPrice?: number | undefined;
            cacheReadsPrice?: number | undefined;
        }, {
            contextWindow: number;
            name?: "default" | "flex" | "priority" | undefined;
            inputPrice?: number | undefined;
            outputPrice?: number | undefined;
            cacheWritesPrice?: number | undefined;
            cacheReadsPrice?: number | undefined;
        }>, "many">>;
    }, "strip", z.ZodTypeAny, {
        contextWindow: number;
        supportsPromptCache: boolean;
        maxTokens?: number | null | undefined;
        maxThinkingTokens?: number | null | undefined;
        supportsImages?: boolean | undefined;
        promptCacheRetention?: "in_memory" | "24h" | undefined;
        supportsVerbosity?: boolean | undefined;
        supportsReasoningBudget?: boolean | undefined;
        supportsReasoningBinary?: boolean | undefined;
        supportsTemperature?: boolean | undefined;
        defaultTemperature?: number | undefined;
        requiredReasoningBudget?: boolean | undefined;
        supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
        requiredReasoningEffort?: boolean | undefined;
        preserveReasoning?: boolean | undefined;
        supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
        inputPrice?: number | undefined;
        outputPrice?: number | undefined;
        cacheWritesPrice?: number | undefined;
        cacheReadsPrice?: number | undefined;
        description?: string | undefined;
        reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
        minTokensPerCachePoint?: number | undefined;
        maxCachePoints?: number | undefined;
        cachableFields?: string[] | undefined;
        deprecated?: boolean | undefined;
        isFree?: boolean | undefined;
        supportsNativeTools?: boolean | undefined;
        defaultToolProtocol?: "xml" | "native" | undefined;
        tiers?: {
            contextWindow: number;
            name?: "default" | "flex" | "priority" | undefined;
            inputPrice?: number | undefined;
            outputPrice?: number | undefined;
            cacheWritesPrice?: number | undefined;
            cacheReadsPrice?: number | undefined;
        }[] | undefined;
    }, {
        contextWindow: number;
        supportsPromptCache: boolean;
        maxTokens?: number | null | undefined;
        maxThinkingTokens?: number | null | undefined;
        supportsImages?: boolean | undefined;
        promptCacheRetention?: "in_memory" | "24h" | undefined;
        supportsVerbosity?: boolean | undefined;
        supportsReasoningBudget?: boolean | undefined;
        supportsReasoningBinary?: boolean | undefined;
        supportsTemperature?: boolean | undefined;
        defaultTemperature?: number | undefined;
        requiredReasoningBudget?: boolean | undefined;
        supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
        requiredReasoningEffort?: boolean | undefined;
        preserveReasoning?: boolean | undefined;
        supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
        inputPrice?: number | undefined;
        outputPrice?: number | undefined;
        cacheWritesPrice?: number | undefined;
        cacheReadsPrice?: number | undefined;
        description?: string | undefined;
        reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
        minTokensPerCachePoint?: number | undefined;
        maxCachePoints?: number | undefined;
        cachableFields?: string[] | undefined;
        deprecated?: boolean | undefined;
        isFree?: boolean | undefined;
        supportsNativeTools?: boolean | undefined;
        defaultToolProtocol?: "xml" | "native" | undefined;
        tiers?: {
            contextWindow: number;
            name?: "default" | "flex" | "priority" | undefined;
            inputPrice?: number | undefined;
            outputPrice?: number | undefined;
            cacheWritesPrice?: number | undefined;
            cacheReadsPrice?: number | undefined;
        }[] | undefined;
    }>>>;
    openAiUseAzure: z.ZodOptional<z.ZodBoolean>;
    azureApiVersion: z.ZodOptional<z.ZodString>;
    openAiStreamingEnabled: z.ZodOptional<z.ZodBoolean>;
    openAiHostHeader: z.ZodOptional<z.ZodString>;
    openAiHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
} & {
    apiProvider: z.ZodLiteral<"openai">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "openai";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    openAiBaseUrl?: string | undefined;
    openAiApiKey?: string | undefined;
    openAiLegacyFormat?: boolean | undefined;
    openAiR1FormatEnabled?: boolean | undefined;
    openAiModelId?: string | undefined;
    openAiCustomModelInfo?: {
        contextWindow: number;
        supportsPromptCache: boolean;
        maxTokens?: number | null | undefined;
        maxThinkingTokens?: number | null | undefined;
        supportsImages?: boolean | undefined;
        promptCacheRetention?: "in_memory" | "24h" | undefined;
        supportsVerbosity?: boolean | undefined;
        supportsReasoningBudget?: boolean | undefined;
        supportsReasoningBinary?: boolean | undefined;
        supportsTemperature?: boolean | undefined;
        defaultTemperature?: number | undefined;
        requiredReasoningBudget?: boolean | undefined;
        supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
        requiredReasoningEffort?: boolean | undefined;
        preserveReasoning?: boolean | undefined;
        supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
        inputPrice?: number | undefined;
        outputPrice?: number | undefined;
        cacheWritesPrice?: number | undefined;
        cacheReadsPrice?: number | undefined;
        description?: string | undefined;
        reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
        minTokensPerCachePoint?: number | undefined;
        maxCachePoints?: number | undefined;
        cachableFields?: string[] | undefined;
        deprecated?: boolean | undefined;
        isFree?: boolean | undefined;
        supportsNativeTools?: boolean | undefined;
        defaultToolProtocol?: "xml" | "native" | undefined;
        tiers?: {
            contextWindow: number;
            name?: "default" | "flex" | "priority" | undefined;
            inputPrice?: number | undefined;
            outputPrice?: number | undefined;
            cacheWritesPrice?: number | undefined;
            cacheReadsPrice?: number | undefined;
        }[] | undefined;
    } | null | undefined;
    openAiUseAzure?: boolean | undefined;
    azureApiVersion?: string | undefined;
    openAiStreamingEnabled?: boolean | undefined;
    openAiHostHeader?: string | undefined;
    openAiHeaders?: Record<string, string> | undefined;
}, {
    apiProvider: "openai";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    openAiBaseUrl?: string | undefined;
    openAiApiKey?: string | undefined;
    openAiLegacyFormat?: boolean | undefined;
    openAiR1FormatEnabled?: boolean | undefined;
    openAiModelId?: string | undefined;
    openAiCustomModelInfo?: {
        contextWindow: number;
        supportsPromptCache: boolean;
        maxTokens?: number | null | undefined;
        maxThinkingTokens?: number | null | undefined;
        supportsImages?: boolean | undefined;
        promptCacheRetention?: "in_memory" | "24h" | undefined;
        supportsVerbosity?: boolean | undefined;
        supportsReasoningBudget?: boolean | undefined;
        supportsReasoningBinary?: boolean | undefined;
        supportsTemperature?: boolean | undefined;
        defaultTemperature?: number | undefined;
        requiredReasoningBudget?: boolean | undefined;
        supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
        requiredReasoningEffort?: boolean | undefined;
        preserveReasoning?: boolean | undefined;
        supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
        inputPrice?: number | undefined;
        outputPrice?: number | undefined;
        cacheWritesPrice?: number | undefined;
        cacheReadsPrice?: number | undefined;
        description?: string | undefined;
        reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
        minTokensPerCachePoint?: number | undefined;
        maxCachePoints?: number | undefined;
        cachableFields?: string[] | undefined;
        deprecated?: boolean | undefined;
        isFree?: boolean | undefined;
        supportsNativeTools?: boolean | undefined;
        defaultToolProtocol?: "xml" | "native" | undefined;
        tiers?: {
            contextWindow: number;
            name?: "default" | "flex" | "priority" | undefined;
            inputPrice?: number | undefined;
            outputPrice?: number | undefined;
            cacheWritesPrice?: number | undefined;
            cacheReadsPrice?: number | undefined;
        }[] | undefined;
    } | null | undefined;
    openAiUseAzure?: boolean | undefined;
    azureApiVersion?: string | undefined;
    openAiStreamingEnabled?: boolean | undefined;
    openAiHostHeader?: string | undefined;
    openAiHeaders?: Record<string, string> | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    ollamaModelId: z.ZodOptional<z.ZodString>;
    ollamaBaseUrl: z.ZodOptional<z.ZodString>;
    ollamaApiKey: z.ZodOptional<z.ZodString>;
    ollamaNumCtx: z.ZodOptional<z.ZodNumber>;
} & {
    apiProvider: z.ZodLiteral<"ollama">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "ollama";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    ollamaModelId?: string | undefined;
    ollamaBaseUrl?: string | undefined;
    ollamaApiKey?: string | undefined;
    ollamaNumCtx?: number | undefined;
}, {
    apiProvider: "ollama";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    ollamaModelId?: string | undefined;
    ollamaBaseUrl?: string | undefined;
    ollamaApiKey?: string | undefined;
    ollamaNumCtx?: number | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    vsCodeLmModelSelector: z.ZodOptional<z.ZodObject<{
        vendor: z.ZodOptional<z.ZodString>;
        family: z.ZodOptional<z.ZodString>;
        version: z.ZodOptional<z.ZodString>;
        id: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        id?: string | undefined;
        family?: string | undefined;
        version?: string | undefined;
        vendor?: string | undefined;
    }, {
        id?: string | undefined;
        family?: string | undefined;
        version?: string | undefined;
        vendor?: string | undefined;
    }>>;
} & {
    apiProvider: z.ZodLiteral<"vscode-lm">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "vscode-lm";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    vsCodeLmModelSelector?: {
        id?: string | undefined;
        family?: string | undefined;
        version?: string | undefined;
        vendor?: string | undefined;
    } | undefined;
}, {
    apiProvider: "vscode-lm";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    vsCodeLmModelSelector?: {
        id?: string | undefined;
        family?: string | undefined;
        version?: string | undefined;
        vendor?: string | undefined;
    } | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    lmStudioModelId: z.ZodOptional<z.ZodString>;
    lmStudioBaseUrl: z.ZodOptional<z.ZodString>;
    lmStudioDraftModelId: z.ZodOptional<z.ZodString>;
    lmStudioSpeculativeDecodingEnabled: z.ZodOptional<z.ZodBoolean>;
} & {
    apiProvider: z.ZodLiteral<"lmstudio">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "lmstudio";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    lmStudioModelId?: string | undefined;
    lmStudioBaseUrl?: string | undefined;
    lmStudioDraftModelId?: string | undefined;
    lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
}, {
    apiProvider: "lmstudio";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    lmStudioModelId?: string | undefined;
    lmStudioBaseUrl?: string | undefined;
    lmStudioDraftModelId?: string | undefined;
    lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    geminiApiKey: z.ZodOptional<z.ZodString>;
    googleGeminiBaseUrl: z.ZodOptional<z.ZodString>;
    enableUrlContext: z.ZodOptional<z.ZodBoolean>;
    enableGrounding: z.ZodOptional<z.ZodBoolean>;
} & {
    apiProvider: z.ZodLiteral<"gemini">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "gemini";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    enableUrlContext?: boolean | undefined;
    enableGrounding?: boolean | undefined;
    geminiApiKey?: string | undefined;
    googleGeminiBaseUrl?: string | undefined;
}, {
    apiProvider: "gemini";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    enableUrlContext?: boolean | undefined;
    enableGrounding?: boolean | undefined;
    geminiApiKey?: string | undefined;
    googleGeminiBaseUrl?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    geminiCliOAuthPath: z.ZodOptional<z.ZodString>;
    geminiCliProjectId: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"gemini-cli">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "gemini-cli";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    geminiCliOAuthPath?: string | undefined;
    geminiCliProjectId?: string | undefined;
}, {
    apiProvider: "gemini-cli";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    geminiCliOAuthPath?: string | undefined;
    geminiCliProjectId?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    openAiNativeApiKey: z.ZodOptional<z.ZodString>;
    openAiNativeBaseUrl: z.ZodOptional<z.ZodString>;
    openAiNativeServiceTier: z.ZodOptional<z.ZodEnum<["default", "flex", "priority"]>>;
} & {
    apiProvider: z.ZodLiteral<"openai-native">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "openai-native";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    openAiNativeApiKey?: string | undefined;
    openAiNativeBaseUrl?: string | undefined;
    openAiNativeServiceTier?: "default" | "flex" | "priority" | undefined;
}, {
    apiProvider: "openai-native";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    openAiNativeApiKey?: string | undefined;
    openAiNativeBaseUrl?: string | undefined;
    openAiNativeServiceTier?: "default" | "flex" | "priority" | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    mistralApiKey: z.ZodOptional<z.ZodString>;
    mistralCodestralUrl: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"mistral">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "mistral";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    mistralApiKey?: string | undefined;
    mistralCodestralUrl?: string | undefined;
}, {
    apiProvider: "mistral";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    mistralApiKey?: string | undefined;
    mistralCodestralUrl?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    deepSeekBaseUrl: z.ZodOptional<z.ZodString>;
    deepSeekApiKey: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"deepseek">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "deepseek";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    deepSeekBaseUrl?: string | undefined;
    deepSeekApiKey?: string | undefined;
}, {
    apiProvider: "deepseek";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    deepSeekBaseUrl?: string | undefined;
    deepSeekApiKey?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    deepInfraBaseUrl: z.ZodOptional<z.ZodString>;
    deepInfraApiKey: z.ZodOptional<z.ZodString>;
    deepInfraModelId: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"deepinfra">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "deepinfra";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    deepInfraBaseUrl?: string | undefined;
    deepInfraApiKey?: string | undefined;
    deepInfraModelId?: string | undefined;
}, {
    apiProvider: "deepinfra";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    deepInfraBaseUrl?: string | undefined;
    deepInfraApiKey?: string | undefined;
    deepInfraModelId?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    doubaoBaseUrl: z.ZodOptional<z.ZodString>;
    doubaoApiKey: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"doubao">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "doubao";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    doubaoBaseUrl?: string | undefined;
    doubaoApiKey?: string | undefined;
}, {
    apiProvider: "doubao";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    doubaoBaseUrl?: string | undefined;
    doubaoApiKey?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    moonshotBaseUrl: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"https://api.moonshot.ai/v1">, z.ZodLiteral<"https://api.moonshot.cn/v1">]>>;
    moonshotApiKey: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"moonshot">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "moonshot";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined;
    moonshotApiKey?: string | undefined;
}, {
    apiProvider: "moonshot";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined;
    moonshotApiKey?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    minimaxBaseUrl: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"https://api.minimax.io/v1">, z.ZodLiteral<"https://api.minimaxi.com/v1">]>>;
    minimaxApiKey: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"minimax">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "minimax";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    minimaxBaseUrl?: "https://api.minimax.io/v1" | "https://api.minimaxi.com/v1" | undefined;
    minimaxApiKey?: string | undefined;
}, {
    apiProvider: "minimax";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    minimaxBaseUrl?: "https://api.minimax.io/v1" | "https://api.minimaxi.com/v1" | undefined;
    minimaxApiKey?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    unboundApiKey: z.ZodOptional<z.ZodString>;
    unboundModelId: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"unbound">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "unbound";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    unboundApiKey?: string | undefined;
    unboundModelId?: string | undefined;
}, {
    apiProvider: "unbound";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    unboundApiKey?: string | undefined;
    unboundModelId?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    requestyBaseUrl: z.ZodOptional<z.ZodString>;
    requestyApiKey: z.ZodOptional<z.ZodString>;
    requestyModelId: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"requesty">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "requesty";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    requestyBaseUrl?: string | undefined;
    requestyApiKey?: string | undefined;
    requestyModelId?: string | undefined;
}, {
    apiProvider: "requesty";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    requestyBaseUrl?: string | undefined;
    requestyApiKey?: string | undefined;
    requestyModelId?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiProvider: z.ZodLiteral<"human-relay">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "human-relay";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
}, {
    apiProvider: "human-relay";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    fakeAi: z.ZodOptional<z.ZodUnknown>;
} & {
    apiProvider: z.ZodLiteral<"fake-ai">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "fake-ai";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    fakeAi?: unknown;
}, {
    apiProvider: "fake-ai";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    fakeAi?: unknown;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    xaiApiKey: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"xai">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "xai";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    xaiApiKey?: string | undefined;
}, {
    apiProvider: "xai";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    xaiApiKey?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    groqApiKey: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"groq">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "groq";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    groqApiKey?: string | undefined;
}, {
    apiProvider: "groq";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    groqApiKey?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    huggingFaceApiKey: z.ZodOptional<z.ZodString>;
    huggingFaceModelId: z.ZodOptional<z.ZodString>;
    huggingFaceInferenceProvider: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"huggingface">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "huggingface";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    huggingFaceApiKey?: string | undefined;
    huggingFaceModelId?: string | undefined;
    huggingFaceInferenceProvider?: string | undefined;
}, {
    apiProvider: "huggingface";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    huggingFaceApiKey?: string | undefined;
    huggingFaceModelId?: string | undefined;
    huggingFaceInferenceProvider?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    chutesApiKey: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"chutes">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "chutes";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    chutesApiKey?: string | undefined;
}, {
    apiProvider: "chutes";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    chutesApiKey?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    litellmBaseUrl: z.ZodOptional<z.ZodString>;
    litellmApiKey: z.ZodOptional<z.ZodString>;
    litellmModelId: z.ZodOptional<z.ZodString>;
    litellmUsePromptCache: z.ZodOptional<z.ZodBoolean>;
} & {
    apiProvider: z.ZodLiteral<"litellm">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "litellm";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    litellmBaseUrl?: string | undefined;
    litellmApiKey?: string | undefined;
    litellmModelId?: string | undefined;
    litellmUsePromptCache?: boolean | undefined;
}, {
    apiProvider: "litellm";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    litellmBaseUrl?: string | undefined;
    litellmApiKey?: string | undefined;
    litellmModelId?: string | undefined;
    litellmUsePromptCache?: boolean | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    cerebrasApiKey: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"cerebras">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "cerebras";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    cerebrasApiKey?: string | undefined;
}, {
    apiProvider: "cerebras";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    cerebrasApiKey?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    sambaNovaApiKey: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"sambanova">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "sambanova";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    sambaNovaApiKey?: string | undefined;
}, {
    apiProvider: "sambanova";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    sambaNovaApiKey?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    zaiApiKey: z.ZodOptional<z.ZodString>;
    zaiApiLine: z.ZodOptional<z.ZodEnum<["international_coding", "china_coding"]>>;
} & {
    apiProvider: z.ZodLiteral<"zai">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "zai";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    zaiApiKey?: string | undefined;
    zaiApiLine?: "international_coding" | "china_coding" | undefined;
}, {
    apiProvider: "zai";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    zaiApiKey?: string | undefined;
    zaiApiLine?: "international_coding" | "china_coding" | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    fireworksApiKey: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"fireworks">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "fireworks";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    fireworksApiKey?: string | undefined;
}, {
    apiProvider: "fireworks";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    fireworksApiKey?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    featherlessApiKey: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"featherless">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "featherless";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    featherlessApiKey?: string | undefined;
}, {
    apiProvider: "featherless";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    featherlessApiKey?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    ioIntelligenceModelId: z.ZodOptional<z.ZodString>;
    ioIntelligenceApiKey: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"io-intelligence">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "io-intelligence";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    ioIntelligenceModelId?: string | undefined;
    ioIntelligenceApiKey?: string | undefined;
}, {
    apiProvider: "io-intelligence";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    ioIntelligenceModelId?: string | undefined;
    ioIntelligenceApiKey?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    qwenCodeOauthPath: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"qwen-code">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "qwen-code";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    qwenCodeOauthPath?: string | undefined;
}, {
    apiProvider: "qwen-code";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    qwenCodeOauthPath?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    apiModelId: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"roo">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "roo";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
}, {
    apiProvider: "roo";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
}>, z.ZodObject<{
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
} & {
    vercelAiGatewayApiKey: z.ZodOptional<z.ZodString>;
    vercelAiGatewayModelId: z.ZodOptional<z.ZodString>;
} & {
    apiProvider: z.ZodLiteral<"vercel-ai-gateway">;
}, "strip", z.ZodTypeAny, {
    apiProvider: "vercel-ai-gateway";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    vercelAiGatewayApiKey?: string | undefined;
    vercelAiGatewayModelId?: string | undefined;
}, {
    apiProvider: "vercel-ai-gateway";
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    vercelAiGatewayApiKey?: string | undefined;
    vercelAiGatewayModelId?: string | undefined;
}>, z.ZodObject<{
    apiProvider: z.ZodUndefined;
}, "strip", z.ZodTypeAny, {
    apiProvider?: undefined;
}, {
    apiProvider?: undefined;
}>]>, z.ZodObject<{
    id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    id?: string | undefined;
}, {
    id?: string | undefined;
}>>;
type ProviderSettingsWithId = z.infer<typeof providerSettingsWithIdSchema>;
declare const PROVIDER_SETTINGS_KEYS: ["reasoningEffort", "codebaseIndexOpenAiCompatibleBaseUrl", "codebaseIndexOpenAiCompatibleModelDimension", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "codebaseIndexOpenAiCompatibleApiKey", "codebaseIndexGeminiApiKey", "codebaseIndexMistralApiKey", "codebaseIndexVercelAiGatewayApiKey", "codebaseIndexOpenRouterApiKey", "apiProvider", "includeMaxTokens", "diffEnabled", "todoListEnabled", "fuzzyMatchThreshold", "modelTemperature", "rateLimitSeconds", "consecutiveMistakeLimit", "enableReasoningEffort", "modelMaxTokens", "modelMaxThinkingTokens", "verbosity", "toolProtocol", "apiModelId", "apiKey", "anthropicBaseUrl", "anthropicUseAuthToken", "anthropicBeta1MContext", "claudeCodePath", "claudeCodeMaxOutputTokens", "glamaModelId", "glamaApiKey", "openRouterApiKey", "openRouterModelId", "openRouterBaseUrl", "openRouterSpecificProvider", "openRouterUseMiddleOutTransform", "awsAccessKey", "awsSecretKey", "awsSessionToken", "awsRegion", "awsUseCrossRegionInference", "awsUseGlobalInference", "awsUsePromptCache", "awsProfile", "awsUseProfile", "awsApiKey", "awsUseApiKey", "awsCustomArn", "awsModelContextWindow", "awsBedrockEndpointEnabled", "awsBedrockEndpoint", "awsBedrock1MContext", "vertexKeyFile", "vertexJsonCredentials", "vertexProjectId", "vertexRegion", "enableUrlContext", "enableGrounding", "openAiBaseUrl", "openAiApiKey", "openAiLegacyFormat", "openAiR1FormatEnabled", "openAiModelId", "openAiCustomModelInfo", "openAiUseAzure", "azureApiVersion", "openAiStreamingEnabled", "openAiHostHeader", "openAiHeaders", "ollamaModelId", "ollamaBaseUrl", "ollamaApiKey", "ollamaNumCtx", "vsCodeLmModelSelector", "lmStudioModelId", "lmStudioBaseUrl", "lmStudioDraftModelId", "lmStudioSpeculativeDecodingEnabled", "geminiApiKey", "googleGeminiBaseUrl", "geminiCliOAuthPath", "geminiCliProjectId", "openAiNativeApiKey", "openAiNativeBaseUrl", "openAiNativeServiceTier", "mistralApiKey", "mistralCodestralUrl", "deepSeekBaseUrl", "deepSeekApiKey", "deepInfraBaseUrl", "deepInfraApiKey", "deepInfraModelId", "doubaoBaseUrl", "doubaoApiKey", "moonshotBaseUrl", "moonshotApiKey", "minimaxBaseUrl", "minimaxApiKey", "unboundApiKey", "unboundModelId", "requestyBaseUrl", "requestyApiKey", "requestyModelId", "fakeAi", "xaiApiKey", "groqApiKey", "huggingFaceApiKey", "huggingFaceModelId", "huggingFaceInferenceProvider", "chutesApiKey", "litellmBaseUrl", "litellmApiKey", "litellmModelId", "litellmUsePromptCache", "cerebrasApiKey", "sambaNovaApiKey", "zaiApiKey", "zaiApiLine", "fireworksApiKey", "featherlessApiKey", "ioIntelligenceModelId", "ioIntelligenceApiKey", "qwenCodeOauthPath", "vercelAiGatewayApiKey", "vercelAiGatewayModelId"];
/**
 * ModelIdKey
 */
declare const modelIdKeys: readonly ["apiModelId", "glamaModelId", "openRouterModelId", "openAiModelId", "ollamaModelId", "lmStudioModelId", "lmStudioDraftModelId", "unboundModelId", "requestyModelId", "litellmModelId", "huggingFaceModelId", "ioIntelligenceModelId", "vercelAiGatewayModelId", "deepInfraModelId"];
type ModelIdKey = (typeof modelIdKeys)[number];
declare const getModelId: (settings: ProviderSettings) => string | undefined;
/**
 * TypicalProvider
 */
type TypicalProvider = Exclude<ProviderName, InternalProvider | CustomProvider | FauxProvider>;
declare const isTypicalProvider: (key: unknown) => key is TypicalProvider;
declare const modelIdKeysByProvider: Record<TypicalProvider, ModelIdKey>;
/**
 * ANTHROPIC_STYLE_PROVIDERS
 */
declare const ANTHROPIC_STYLE_PROVIDERS: ProviderName[];
declare const getApiProtocol: (provider: ProviderName | undefined, modelId?: string) => "anthropic" | "openai";
/**
 * MODELS_BY_PROVIDER
 */
declare const MODELS_BY_PROVIDER: Record<Exclude<ProviderName, "fake-ai" | "human-relay" | "gemini-cli" | "openai">, {
    id: ProviderName;
    label: string;
    models: string[];
}>;

/**
 * Default delay in milliseconds after writes to allow diagnostics to detect potential problems.
 * This delay is particularly important for Go and other languages where tools like goimports
 * need time to automatically clean up unused imports.
 */
declare const DEFAULT_WRITE_DELAY_MS = 1000;
/**
 * Default terminal output character limit constant.
 * This provides a reasonable default that aligns with typical terminal usage
 * while preventing context window explosions from extremely long lines.
 */
declare const DEFAULT_TERMINAL_OUTPUT_CHARACTER_LIMIT = 50000;
/**
 * Minimum checkpoint timeout in seconds.
 */
declare const MIN_CHECKPOINT_TIMEOUT_SECONDS = 10;
/**
 * Maximum checkpoint timeout in seconds.
 */
declare const MAX_CHECKPOINT_TIMEOUT_SECONDS = 60;
/**
 * Default checkpoint timeout in seconds.
 */
declare const DEFAULT_CHECKPOINT_TIMEOUT_SECONDS = 15;
/**
 * GlobalSettings
 */
declare const globalSettingsSchema: z.ZodObject<{
    currentApiConfigName: z.ZodOptional<z.ZodString>;
    listApiConfigMeta: z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        name: z.ZodString;
        apiProvider: z.ZodOptional<z.ZodEnum<["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "roo", "chutes", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "minimax", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"]>>;
        modelId: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        id: string;
        name: string;
        apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
        modelId?: string | undefined;
    }, {
        id: string;
        name: string;
        apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
        modelId?: string | undefined;
    }>, "many">>;
    pinnedApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
    lastShownAnnouncementId: z.ZodOptional<z.ZodString>;
    customInstructions: z.ZodOptional<z.ZodString>;
    taskHistory: z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        rootTaskId: z.ZodOptional<z.ZodString>;
        parentTaskId: z.ZodOptional<z.ZodString>;
        number: z.ZodNumber;
        ts: z.ZodNumber;
        task: z.ZodString;
        tokensIn: z.ZodNumber;
        tokensOut: z.ZodNumber;
        cacheWrites: z.ZodOptional<z.ZodNumber>;
        cacheReads: z.ZodOptional<z.ZodNumber>;
        totalCost: z.ZodNumber;
        size: z.ZodOptional<z.ZodNumber>;
        workspace: z.ZodOptional<z.ZodString>;
        mode: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        number: number;
        ts: number;
        totalCost: number;
        id: string;
        task: string;
        tokensIn: number;
        tokensOut: number;
        rootTaskId?: string | undefined;
        parentTaskId?: string | undefined;
        cacheWrites?: number | undefined;
        cacheReads?: number | undefined;
        size?: number | undefined;
        workspace?: string | undefined;
        mode?: string | undefined;
    }, {
        number: number;
        ts: number;
        totalCost: number;
        id: string;
        task: string;
        tokensIn: number;
        tokensOut: number;
        rootTaskId?: string | undefined;
        parentTaskId?: string | undefined;
        cacheWrites?: number | undefined;
        cacheReads?: number | undefined;
        size?: number | undefined;
        workspace?: string | undefined;
        mode?: string | undefined;
    }>, "many">>;
    dismissedUpsells: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    openRouterImageApiKey: z.ZodOptional<z.ZodString>;
    openRouterImageGenerationSelectedModel: z.ZodOptional<z.ZodString>;
    condensingApiConfigId: z.ZodOptional<z.ZodString>;
    customCondensingPrompt: z.ZodOptional<z.ZodString>;
    autoApprovalEnabled: z.ZodOptional<z.ZodBoolean>;
    alwaysAllowReadOnly: z.ZodOptional<z.ZodBoolean>;
    alwaysAllowReadOnlyOutsideWorkspace: z.ZodOptional<z.ZodBoolean>;
    alwaysAllowWrite: z.ZodOptional<z.ZodBoolean>;
    alwaysAllowWriteOutsideWorkspace: z.ZodOptional<z.ZodBoolean>;
    alwaysAllowWriteProtected: z.ZodOptional<z.ZodBoolean>;
    writeDelayMs: z.ZodOptional<z.ZodNumber>;
    alwaysAllowBrowser: z.ZodOptional<z.ZodBoolean>;
    alwaysApproveResubmit: z.ZodOptional<z.ZodBoolean>;
    requestDelaySeconds: z.ZodOptional<z.ZodNumber>;
    alwaysAllowMcp: z.ZodOptional<z.ZodBoolean>;
    alwaysAllowModeSwitch: z.ZodOptional<z.ZodBoolean>;
    alwaysAllowSubtasks: z.ZodOptional<z.ZodBoolean>;
    alwaysAllowExecute: z.ZodOptional<z.ZodBoolean>;
    alwaysAllowFollowupQuestions: z.ZodOptional<z.ZodBoolean>;
    followupAutoApproveTimeoutMs: z.ZodOptional<z.ZodNumber>;
    alwaysAllowUpdateTodoList: z.ZodOptional<z.ZodBoolean>;
    allowedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    deniedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    commandExecutionTimeout: z.ZodOptional<z.ZodNumber>;
    commandTimeoutAllowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    preventCompletionWithOpenTodos: z.ZodOptional<z.ZodBoolean>;
    allowedMaxRequests: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    allowedMaxCost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    autoCondenseContext: z.ZodOptional<z.ZodBoolean>;
    autoCondenseContextPercent: z.ZodOptional<z.ZodNumber>;
    maxConcurrentFileReads: z.ZodOptional<z.ZodNumber>;
    /**
     * Whether to include current time in the environment details
     * @default true
     */
    includeCurrentTime: z.ZodOptional<z.ZodBoolean>;
    /**
     * Whether to include current cost in the environment details
     * @default true
     */
    includeCurrentCost: z.ZodOptional<z.ZodBoolean>;
    /**
     * Maximum number of git status file entries to include in the environment details.
     * Set to 0 to disable git status. The header (branch, commits) is always included when > 0.
     * @default 0
     */
    maxGitStatusFiles: z.ZodOptional<z.ZodNumber>;
    /**
     * Whether to include diagnostic messages (errors, warnings) in tool outputs
     * @default true
     */
    includeDiagnosticMessages: z.ZodOptional<z.ZodBoolean>;
    /**
     * Maximum number of diagnostic messages to include in tool outputs
     * @default 50
     */
    maxDiagnosticMessages: z.ZodOptional<z.ZodNumber>;
    browserToolEnabled: z.ZodOptional<z.ZodBoolean>;
    browserViewportSize: z.ZodOptional<z.ZodString>;
    screenshotQuality: z.ZodOptional<z.ZodNumber>;
    remoteBrowserEnabled: z.ZodOptional<z.ZodBoolean>;
    remoteBrowserHost: z.ZodOptional<z.ZodString>;
    cachedChromeHostUrl: z.ZodOptional<z.ZodString>;
    enableCheckpoints: z.ZodOptional<z.ZodBoolean>;
    checkpointTimeout: z.ZodOptional<z.ZodNumber>;
    ttsEnabled: z.ZodOptional<z.ZodBoolean>;
    ttsSpeed: z.ZodOptional<z.ZodNumber>;
    soundEnabled: z.ZodOptional<z.ZodBoolean>;
    soundVolume: z.ZodOptional<z.ZodNumber>;
    maxOpenTabsContext: z.ZodOptional<z.ZodNumber>;
    maxWorkspaceFiles: z.ZodOptional<z.ZodNumber>;
    showRooIgnoredFiles: z.ZodOptional<z.ZodBoolean>;
    maxReadFileLine: z.ZodOptional<z.ZodNumber>;
    maxImageFileSize: z.ZodOptional<z.ZodNumber>;
    maxTotalImageSize: z.ZodOptional<z.ZodNumber>;
    terminalOutputLineLimit: z.ZodOptional<z.ZodNumber>;
    terminalOutputCharacterLimit: z.ZodOptional<z.ZodNumber>;
    terminalShellIntegrationTimeout: z.ZodOptional<z.ZodNumber>;
    terminalShellIntegrationDisabled: z.ZodOptional<z.ZodBoolean>;
    terminalCommandDelay: z.ZodOptional<z.ZodNumber>;
    terminalPowershellCounter: z.ZodOptional<z.ZodBoolean>;
    terminalZshClearEolMark: z.ZodOptional<z.ZodBoolean>;
    terminalZshOhMy: z.ZodOptional<z.ZodBoolean>;
    terminalZshP10k: z.ZodOptional<z.ZodBoolean>;
    terminalZdotdir: z.ZodOptional<z.ZodBoolean>;
    terminalCompressProgressBar: z.ZodOptional<z.ZodBoolean>;
    diagnosticsEnabled: z.ZodOptional<z.ZodBoolean>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    experiments: z.ZodOptional<z.ZodObject<{
        powerSteering: z.ZodOptional<z.ZodBoolean>;
        multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
        preventFocusDisruption: z.ZodOptional<z.ZodBoolean>;
        imageGeneration: z.ZodOptional<z.ZodBoolean>;
        runSlashCommand: z.ZodOptional<z.ZodBoolean>;
        nativeToolCalling: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        powerSteering?: boolean | undefined;
        multiFileApplyDiff?: boolean | undefined;
        preventFocusDisruption?: boolean | undefined;
        imageGeneration?: boolean | undefined;
        runSlashCommand?: boolean | undefined;
        nativeToolCalling?: boolean | undefined;
    }, {
        powerSteering?: boolean | undefined;
        multiFileApplyDiff?: boolean | undefined;
        preventFocusDisruption?: boolean | undefined;
        imageGeneration?: boolean | undefined;
        runSlashCommand?: boolean | undefined;
        nativeToolCalling?: boolean | undefined;
    }>>;
    codebaseIndexModels: z.ZodOptional<z.ZodObject<{
        openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
            dimension: z.ZodNumber;
        }, "strip", z.ZodTypeAny, {
            dimension: number;
        }, {
            dimension: number;
        }>>>;
        ollama: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
            dimension: z.ZodNumber;
        }, "strip", z.ZodTypeAny, {
            dimension: number;
        }, {
            dimension: number;
        }>>>;
        "openai-compatible": z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
            dimension: z.ZodNumber;
        }, "strip", z.ZodTypeAny, {
            dimension: number;
        }, {
            dimension: number;
        }>>>;
        gemini: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
            dimension: z.ZodNumber;
        }, "strip", z.ZodTypeAny, {
            dimension: number;
        }, {
            dimension: number;
        }>>>;
        mistral: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
            dimension: z.ZodNumber;
        }, "strip", z.ZodTypeAny, {
            dimension: number;
        }, {
            dimension: number;
        }>>>;
        "vercel-ai-gateway": z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
            dimension: z.ZodNumber;
        }, "strip", z.ZodTypeAny, {
            dimension: number;
        }, {
            dimension: number;
        }>>>;
        openrouter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
            dimension: z.ZodNumber;
        }, "strip", z.ZodTypeAny, {
            dimension: number;
        }, {
            dimension: number;
        }>>>;
    }, "strip", z.ZodTypeAny, {
        openai?: Record<string, {
            dimension: number;
        }> | undefined;
        ollama?: Record<string, {
            dimension: number;
        }> | undefined;
        "openai-compatible"?: Record<string, {
            dimension: number;
        }> | undefined;
        gemini?: Record<string, {
            dimension: number;
        }> | undefined;
        mistral?: Record<string, {
            dimension: number;
        }> | undefined;
        "vercel-ai-gateway"?: Record<string, {
            dimension: number;
        }> | undefined;
        openrouter?: Record<string, {
            dimension: number;
        }> | undefined;
    }, {
        openai?: Record<string, {
            dimension: number;
        }> | undefined;
        ollama?: Record<string, {
            dimension: number;
        }> | undefined;
        "openai-compatible"?: Record<string, {
            dimension: number;
        }> | undefined;
        gemini?: Record<string, {
            dimension: number;
        }> | undefined;
        mistral?: Record<string, {
            dimension: number;
        }> | undefined;
        "vercel-ai-gateway"?: Record<string, {
            dimension: number;
        }> | undefined;
        openrouter?: Record<string, {
            dimension: number;
        }> | undefined;
    }>>;
    codebaseIndexConfig: z.ZodOptional<z.ZodObject<{
        codebaseIndexEnabled: z.ZodOptional<z.ZodBoolean>;
        codebaseIndexQdrantUrl: z.ZodOptional<z.ZodString>;
        codebaseIndexEmbedderProvider: z.ZodOptional<z.ZodEnum<["openai", "ollama", "openai-compatible", "gemini", "mistral", "vercel-ai-gateway", "openrouter"]>>;
        codebaseIndexEmbedderBaseUrl: z.ZodOptional<z.ZodString>;
        codebaseIndexEmbedderModelId: z.ZodOptional<z.ZodString>;
        codebaseIndexEmbedderModelDimension: z.ZodOptional<z.ZodNumber>;
        codebaseIndexSearchMinScore: z.ZodOptional<z.ZodNumber>;
        codebaseIndexSearchMaxResults: z.ZodOptional<z.ZodNumber>;
        codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
        codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
    }, "strip", z.ZodTypeAny, {
        codebaseIndexEnabled?: boolean | undefined;
        codebaseIndexQdrantUrl?: string | undefined;
        codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | undefined;
        codebaseIndexEmbedderBaseUrl?: string | undefined;
        codebaseIndexEmbedderModelId?: string | undefined;
        codebaseIndexEmbedderModelDimension?: number | undefined;
        codebaseIndexSearchMinScore?: number | undefined;
        codebaseIndexSearchMaxResults?: number | undefined;
        codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
        codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
    }, {
        codebaseIndexEnabled?: boolean | undefined;
        codebaseIndexQdrantUrl?: string | undefined;
        codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | undefined;
        codebaseIndexEmbedderBaseUrl?: string | undefined;
        codebaseIndexEmbedderModelId?: string | undefined;
        codebaseIndexEmbedderModelDimension?: number | undefined;
        codebaseIndexSearchMinScore?: number | undefined;
        codebaseIndexSearchMaxResults?: number | undefined;
        codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
        codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
    }>>;
    language: z.ZodOptional<z.ZodEnum<["ca", "de", "en", "es", "fr", "hi", "id", "it", "ja", "ko", "nl", "pl", "pt-BR", "ru", "tr", "vi", "zh-CN", "zh-TW"]>>;
    telemetrySetting: z.ZodOptional<z.ZodEnum<["unset", "enabled", "disabled"]>>;
    mcpEnabled: z.ZodOptional<z.ZodBoolean>;
    enableMcpServerCreation: z.ZodOptional<z.ZodBoolean>;
    mode: z.ZodOptional<z.ZodString>;
    modeApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    customModes: z.ZodOptional<z.ZodArray<z.ZodObject<{
        slug: z.ZodString;
        name: z.ZodString;
        roleDefinition: z.ZodString;
        whenToUse: z.ZodOptional<z.ZodString>;
        description: z.ZodOptional<z.ZodString>;
        customInstructions: z.ZodOptional<z.ZodString>;
        groups: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodTuple<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodObject<{
            fileRegex: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
            description: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            description?: string | undefined;
            fileRegex?: string | undefined;
        }, {
            description?: string | undefined;
            fileRegex?: string | undefined;
        }>], null>]>, "many">, ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
            description?: string | undefined;
            fileRegex?: string | undefined;
        }])[], ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
            description?: string | undefined;
            fileRegex?: string | undefined;
        }])[]>;
        source: z.ZodOptional<z.ZodEnum<["global", "project"]>>;
    }, "strip", z.ZodTypeAny, {
        name: string;
        slug: string;
        roleDefinition: string;
        groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
            description?: string | undefined;
            fileRegex?: string | undefined;
        }])[];
        description?: string | undefined;
        whenToUse?: string | undefined;
        customInstructions?: string | undefined;
        source?: "global" | "project" | undefined;
    }, {
        name: string;
        slug: string;
        roleDefinition: string;
        groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
            description?: string | undefined;
            fileRegex?: string | undefined;
        }])[];
        description?: string | undefined;
        whenToUse?: string | undefined;
        customInstructions?: string | undefined;
        source?: "global" | "project" | undefined;
    }>, "many">>;
    customModePrompts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodObject<{
        roleDefinition: z.ZodOptional<z.ZodString>;
        whenToUse: z.ZodOptional<z.ZodString>;
        description: z.ZodOptional<z.ZodString>;
        customInstructions: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        description?: string | undefined;
        roleDefinition?: string | undefined;
        whenToUse?: string | undefined;
        customInstructions?: string | undefined;
    }, {
        description?: string | undefined;
        roleDefinition?: string | undefined;
        whenToUse?: string | undefined;
        customInstructions?: string | undefined;
    }>>>>;
    customSupportPrompts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
    enhancementApiConfigId: z.ZodOptional<z.ZodString>;
    includeTaskHistoryInEnhance: z.ZodOptional<z.ZodBoolean>;
    historyPreviewCollapsed: z.ZodOptional<z.ZodBoolean>;
    reasoningBlockCollapsed: z.ZodOptional<z.ZodBoolean>;
    profileThresholds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
    hasOpenedModeSelector: z.ZodOptional<z.ZodBoolean>;
    lastModeExportPath: z.ZodOptional<z.ZodString>;
    lastModeImportPath: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
    diffEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    rateLimitSeconds?: number | undefined;
    mode?: string | undefined;
    customInstructions?: string | undefined;
    customModes?: {
        name: string;
        slug: string;
        roleDefinition: string;
        groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
            description?: string | undefined;
            fileRegex?: string | undefined;
        }])[];
        description?: string | undefined;
        whenToUse?: string | undefined;
        customInstructions?: string | undefined;
        source?: "global" | "project" | undefined;
    }[] | undefined;
    currentApiConfigName?: string | undefined;
    listApiConfigMeta?: {
        id: string;
        name: string;
        apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
        modelId?: string | undefined;
    }[] | undefined;
    pinnedApiConfigs?: Record<string, boolean> | undefined;
    lastShownAnnouncementId?: string | undefined;
    taskHistory?: {
        number: number;
        ts: number;
        totalCost: number;
        id: string;
        task: string;
        tokensIn: number;
        tokensOut: number;
        rootTaskId?: string | undefined;
        parentTaskId?: string | undefined;
        cacheWrites?: number | undefined;
        cacheReads?: number | undefined;
        size?: number | undefined;
        workspace?: string | undefined;
        mode?: string | undefined;
    }[] | undefined;
    dismissedUpsells?: string[] | undefined;
    openRouterImageApiKey?: string | undefined;
    openRouterImageGenerationSelectedModel?: string | undefined;
    condensingApiConfigId?: string | undefined;
    customCondensingPrompt?: string | undefined;
    autoApprovalEnabled?: boolean | undefined;
    alwaysAllowReadOnly?: boolean | undefined;
    alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
    alwaysAllowWrite?: boolean | undefined;
    alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
    alwaysAllowWriteProtected?: boolean | undefined;
    writeDelayMs?: number | undefined;
    alwaysAllowBrowser?: boolean | undefined;
    alwaysApproveResubmit?: boolean | undefined;
    requestDelaySeconds?: number | undefined;
    alwaysAllowMcp?: boolean | undefined;
    alwaysAllowModeSwitch?: boolean | undefined;
    alwaysAllowSubtasks?: boolean | undefined;
    alwaysAllowExecute?: boolean | undefined;
    alwaysAllowFollowupQuestions?: boolean | undefined;
    followupAutoApproveTimeoutMs?: number | undefined;
    alwaysAllowUpdateTodoList?: boolean | undefined;
    allowedCommands?: string[] | undefined;
    deniedCommands?: string[] | undefined;
    commandExecutionTimeout?: number | undefined;
    commandTimeoutAllowlist?: string[] | undefined;
    preventCompletionWithOpenTodos?: boolean | undefined;
    allowedMaxRequests?: number | null | undefined;
    allowedMaxCost?: number | null | undefined;
    autoCondenseContext?: boolean | undefined;
    autoCondenseContextPercent?: number | undefined;
    maxConcurrentFileReads?: number | undefined;
    includeCurrentTime?: boolean | undefined;
    includeCurrentCost?: boolean | undefined;
    maxGitStatusFiles?: number | undefined;
    includeDiagnosticMessages?: boolean | undefined;
    maxDiagnosticMessages?: number | undefined;
    browserToolEnabled?: boolean | undefined;
    browserViewportSize?: string | undefined;
    screenshotQuality?: number | undefined;
    remoteBrowserEnabled?: boolean | undefined;
    remoteBrowserHost?: string | undefined;
    cachedChromeHostUrl?: string | undefined;
    enableCheckpoints?: boolean | undefined;
    checkpointTimeout?: number | undefined;
    ttsEnabled?: boolean | undefined;
    ttsSpeed?: number | undefined;
    soundEnabled?: boolean | undefined;
    soundVolume?: number | undefined;
    maxOpenTabsContext?: number | undefined;
    maxWorkspaceFiles?: number | undefined;
    showRooIgnoredFiles?: boolean | undefined;
    maxReadFileLine?: number | undefined;
    maxImageFileSize?: number | undefined;
    maxTotalImageSize?: number | undefined;
    terminalOutputLineLimit?: number | undefined;
    terminalOutputCharacterLimit?: number | undefined;
    terminalShellIntegrationTimeout?: number | undefined;
    terminalShellIntegrationDisabled?: boolean | undefined;
    terminalCommandDelay?: number | undefined;
    terminalPowershellCounter?: boolean | undefined;
    terminalZshClearEolMark?: boolean | undefined;
    terminalZshOhMy?: boolean | undefined;
    terminalZshP10k?: boolean | undefined;
    terminalZdotdir?: boolean | undefined;
    terminalCompressProgressBar?: boolean | undefined;
    diagnosticsEnabled?: boolean | undefined;
    experiments?: {
        powerSteering?: boolean | undefined;
        multiFileApplyDiff?: boolean | undefined;
        preventFocusDisruption?: boolean | undefined;
        imageGeneration?: boolean | undefined;
        runSlashCommand?: boolean | undefined;
        nativeToolCalling?: boolean | undefined;
    } | undefined;
    codebaseIndexModels?: {
        openai?: Record<string, {
            dimension: number;
        }> | undefined;
        ollama?: Record<string, {
            dimension: number;
        }> | undefined;
        "openai-compatible"?: Record<string, {
            dimension: number;
        }> | undefined;
        gemini?: Record<string, {
            dimension: number;
        }> | undefined;
        mistral?: Record<string, {
            dimension: number;
        }> | undefined;
        "vercel-ai-gateway"?: Record<string, {
            dimension: number;
        }> | undefined;
        openrouter?: Record<string, {
            dimension: number;
        }> | undefined;
    } | undefined;
    codebaseIndexConfig?: {
        codebaseIndexEnabled?: boolean | undefined;
        codebaseIndexQdrantUrl?: string | undefined;
        codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | undefined;
        codebaseIndexEmbedderBaseUrl?: string | undefined;
        codebaseIndexEmbedderModelId?: string | undefined;
        codebaseIndexEmbedderModelDimension?: number | undefined;
        codebaseIndexSearchMinScore?: number | undefined;
        codebaseIndexSearchMaxResults?: number | undefined;
        codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
        codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
    } | undefined;
    telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
    mcpEnabled?: boolean | undefined;
    enableMcpServerCreation?: boolean | undefined;
    modeApiConfigs?: Record<string, string> | undefined;
    customModePrompts?: Record<string, {
        description?: string | undefined;
        roleDefinition?: string | undefined;
        whenToUse?: string | undefined;
        customInstructions?: string | undefined;
    } | undefined> | undefined;
    customSupportPrompts?: Record<string, string | undefined> | undefined;
    enhancementApiConfigId?: string | undefined;
    includeTaskHistoryInEnhance?: boolean | undefined;
    historyPreviewCollapsed?: boolean | undefined;
    reasoningBlockCollapsed?: boolean | undefined;
    profileThresholds?: Record<string, number> | undefined;
    hasOpenedModeSelector?: boolean | undefined;
    lastModeExportPath?: string | undefined;
    lastModeImportPath?: string | undefined;
}, {
    language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
    diffEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    rateLimitSeconds?: number | undefined;
    mode?: string | undefined;
    customInstructions?: string | undefined;
    customModes?: {
        name: string;
        slug: string;
        roleDefinition: string;
        groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
            description?: string | undefined;
            fileRegex?: string | undefined;
        }])[];
        description?: string | undefined;
        whenToUse?: string | undefined;
        customInstructions?: string | undefined;
        source?: "global" | "project" | undefined;
    }[] | undefined;
    currentApiConfigName?: string | undefined;
    listApiConfigMeta?: {
        id: string;
        name: string;
        apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
        modelId?: string | undefined;
    }[] | undefined;
    pinnedApiConfigs?: Record<string, boolean> | undefined;
    lastShownAnnouncementId?: string | undefined;
    taskHistory?: {
        number: number;
        ts: number;
        totalCost: number;
        id: string;
        task: string;
        tokensIn: number;
        tokensOut: number;
        rootTaskId?: string | undefined;
        parentTaskId?: string | undefined;
        cacheWrites?: number | undefined;
        cacheReads?: number | undefined;
        size?: number | undefined;
        workspace?: string | undefined;
        mode?: string | undefined;
    }[] | undefined;
    dismissedUpsells?: string[] | undefined;
    openRouterImageApiKey?: string | undefined;
    openRouterImageGenerationSelectedModel?: string | undefined;
    condensingApiConfigId?: string | undefined;
    customCondensingPrompt?: string | undefined;
    autoApprovalEnabled?: boolean | undefined;
    alwaysAllowReadOnly?: boolean | undefined;
    alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
    alwaysAllowWrite?: boolean | undefined;
    alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
    alwaysAllowWriteProtected?: boolean | undefined;
    writeDelayMs?: number | undefined;
    alwaysAllowBrowser?: boolean | undefined;
    alwaysApproveResubmit?: boolean | undefined;
    requestDelaySeconds?: number | undefined;
    alwaysAllowMcp?: boolean | undefined;
    alwaysAllowModeSwitch?: boolean | undefined;
    alwaysAllowSubtasks?: boolean | undefined;
    alwaysAllowExecute?: boolean | undefined;
    alwaysAllowFollowupQuestions?: boolean | undefined;
    followupAutoApproveTimeoutMs?: number | undefined;
    alwaysAllowUpdateTodoList?: boolean | undefined;
    allowedCommands?: string[] | undefined;
    deniedCommands?: string[] | undefined;
    commandExecutionTimeout?: number | undefined;
    commandTimeoutAllowlist?: string[] | undefined;
    preventCompletionWithOpenTodos?: boolean | undefined;
    allowedMaxRequests?: number | null | undefined;
    allowedMaxCost?: number | null | undefined;
    autoCondenseContext?: boolean | undefined;
    autoCondenseContextPercent?: number | undefined;
    maxConcurrentFileReads?: number | undefined;
    includeCurrentTime?: boolean | undefined;
    includeCurrentCost?: boolean | undefined;
    maxGitStatusFiles?: number | undefined;
    includeDiagnosticMessages?: boolean | undefined;
    maxDiagnosticMessages?: number | undefined;
    browserToolEnabled?: boolean | undefined;
    browserViewportSize?: string | undefined;
    screenshotQuality?: number | undefined;
    remoteBrowserEnabled?: boolean | undefined;
    remoteBrowserHost?: string | undefined;
    cachedChromeHostUrl?: string | undefined;
    enableCheckpoints?: boolean | undefined;
    checkpointTimeout?: number | undefined;
    ttsEnabled?: boolean | undefined;
    ttsSpeed?: number | undefined;
    soundEnabled?: boolean | undefined;
    soundVolume?: number | undefined;
    maxOpenTabsContext?: number | undefined;
    maxWorkspaceFiles?: number | undefined;
    showRooIgnoredFiles?: boolean | undefined;
    maxReadFileLine?: number | undefined;
    maxImageFileSize?: number | undefined;
    maxTotalImageSize?: number | undefined;
    terminalOutputLineLimit?: number | undefined;
    terminalOutputCharacterLimit?: number | undefined;
    terminalShellIntegrationTimeout?: number | undefined;
    terminalShellIntegrationDisabled?: boolean | undefined;
    terminalCommandDelay?: number | undefined;
    terminalPowershellCounter?: boolean | undefined;
    terminalZshClearEolMark?: boolean | undefined;
    terminalZshOhMy?: boolean | undefined;
    terminalZshP10k?: boolean | undefined;
    terminalZdotdir?: boolean | undefined;
    terminalCompressProgressBar?: boolean | undefined;
    diagnosticsEnabled?: boolean | undefined;
    experiments?: {
        powerSteering?: boolean | undefined;
        multiFileApplyDiff?: boolean | undefined;
        preventFocusDisruption?: boolean | undefined;
        imageGeneration?: boolean | undefined;
        runSlashCommand?: boolean | undefined;
        nativeToolCalling?: boolean | undefined;
    } | undefined;
    codebaseIndexModels?: {
        openai?: Record<string, {
            dimension: number;
        }> | undefined;
        ollama?: Record<string, {
            dimension: number;
        }> | undefined;
        "openai-compatible"?: Record<string, {
            dimension: number;
        }> | undefined;
        gemini?: Record<string, {
            dimension: number;
        }> | undefined;
        mistral?: Record<string, {
            dimension: number;
        }> | undefined;
        "vercel-ai-gateway"?: Record<string, {
            dimension: number;
        }> | undefined;
        openrouter?: Record<string, {
            dimension: number;
        }> | undefined;
    } | undefined;
    codebaseIndexConfig?: {
        codebaseIndexEnabled?: boolean | undefined;
        codebaseIndexQdrantUrl?: string | undefined;
        codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | undefined;
        codebaseIndexEmbedderBaseUrl?: string | undefined;
        codebaseIndexEmbedderModelId?: string | undefined;
        codebaseIndexEmbedderModelDimension?: number | undefined;
        codebaseIndexSearchMinScore?: number | undefined;
        codebaseIndexSearchMaxResults?: number | undefined;
        codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
        codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
    } | undefined;
    telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
    mcpEnabled?: boolean | undefined;
    enableMcpServerCreation?: boolean | undefined;
    modeApiConfigs?: Record<string, string> | undefined;
    customModePrompts?: Record<string, {
        description?: string | undefined;
        roleDefinition?: string | undefined;
        whenToUse?: string | undefined;
        customInstructions?: string | undefined;
    } | undefined> | undefined;
    customSupportPrompts?: Record<string, string | undefined> | undefined;
    enhancementApiConfigId?: string | undefined;
    includeTaskHistoryInEnhance?: boolean | undefined;
    historyPreviewCollapsed?: boolean | undefined;
    reasoningBlockCollapsed?: boolean | undefined;
    profileThresholds?: Record<string, number> | undefined;
    hasOpenedModeSelector?: boolean | undefined;
    lastModeExportPath?: string | undefined;
    lastModeImportPath?: string | undefined;
}>;
type GlobalSettings = z.infer<typeof globalSettingsSchema>;
declare const GLOBAL_SETTINGS_KEYS: ["diffEnabled", "fuzzyMatchThreshold", "rateLimitSeconds", "language", "mode", "customInstructions", "customModes", "currentApiConfigName", "listApiConfigMeta", "pinnedApiConfigs", "lastShownAnnouncementId", "taskHistory", "dismissedUpsells", "openRouterImageApiKey", "openRouterImageGenerationSelectedModel", "condensingApiConfigId", "customCondensingPrompt", "autoApprovalEnabled", "alwaysAllowReadOnly", "alwaysAllowReadOnlyOutsideWorkspace", "alwaysAllowWrite", "alwaysAllowWriteOutsideWorkspace", "alwaysAllowWriteProtected", "writeDelayMs", "alwaysAllowBrowser", "alwaysApproveResubmit", "requestDelaySeconds", "alwaysAllowMcp", "alwaysAllowModeSwitch", "alwaysAllowSubtasks", "alwaysAllowExecute", "alwaysAllowFollowupQuestions", "followupAutoApproveTimeoutMs", "alwaysAllowUpdateTodoList", "allowedCommands", "deniedCommands", "commandExecutionTimeout", "commandTimeoutAllowlist", "preventCompletionWithOpenTodos", "allowedMaxRequests", "allowedMaxCost", "autoCondenseContext", "autoCondenseContextPercent", "maxConcurrentFileReads", "includeCurrentTime", "includeCurrentCost", "maxGitStatusFiles", "includeDiagnosticMessages", "maxDiagnosticMessages", "browserToolEnabled", "browserViewportSize", "screenshotQuality", "remoteBrowserEnabled", "remoteBrowserHost", "cachedChromeHostUrl", "enableCheckpoints", "checkpointTimeout", "ttsEnabled", "ttsSpeed", "soundEnabled", "soundVolume", "maxOpenTabsContext", "maxWorkspaceFiles", "showRooIgnoredFiles", "maxReadFileLine", "maxImageFileSize", "maxTotalImageSize", "terminalOutputLineLimit", "terminalOutputCharacterLimit", "terminalShellIntegrationTimeout", "terminalShellIntegrationDisabled", "terminalCommandDelay", "terminalPowershellCounter", "terminalZshClearEolMark", "terminalZshOhMy", "terminalZshP10k", "terminalZdotdir", "terminalCompressProgressBar", "diagnosticsEnabled", "experiments", "codebaseIndexModels", "codebaseIndexConfig", "telemetrySetting", "mcpEnabled", "enableMcpServerCreation", "modeApiConfigs", "customModePrompts", "customSupportPrompts", "enhancementApiConfigId", "includeTaskHistoryInEnhance", "historyPreviewCollapsed", "reasoningBlockCollapsed", "profileThresholds", "hasOpenedModeSelector", "lastModeExportPath", "lastModeImportPath"];
/**
 * RooCodeSettings
 */
declare const rooCodeSettingsSchema: z.ZodObject<{
    codeIndexOpenAiKey: z.ZodOptional<z.ZodString>;
    codeIndexQdrantApiKey: z.ZodOptional<z.ZodString>;
    codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
    codebaseIndexOpenAiCompatibleApiKey: z.ZodOptional<z.ZodString>;
    codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
    codebaseIndexGeminiApiKey: z.ZodOptional<z.ZodString>;
    codebaseIndexMistralApiKey: z.ZodOptional<z.ZodString>;
    codebaseIndexVercelAiGatewayApiKey: z.ZodOptional<z.ZodString>;
    codebaseIndexOpenRouterApiKey: z.ZodOptional<z.ZodString>;
    includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
    todoListEnabled: z.ZodOptional<z.ZodBoolean>;
    modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
    enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
    modelMaxTokens: z.ZodOptional<z.ZodNumber>;
    modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
    verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
    toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
    vercelAiGatewayApiKey: z.ZodOptional<z.ZodString>;
    vercelAiGatewayModelId: z.ZodOptional<z.ZodString>;
    apiModelId: z.ZodOptional<z.ZodString>;
    qwenCodeOauthPath: z.ZodOptional<z.ZodString>;
    ioIntelligenceModelId: z.ZodOptional<z.ZodString>;
    ioIntelligenceApiKey: z.ZodOptional<z.ZodString>;
    featherlessApiKey: z.ZodOptional<z.ZodString>;
    fireworksApiKey: z.ZodOptional<z.ZodString>;
    zaiApiKey: z.ZodOptional<z.ZodString>;
    zaiApiLine: z.ZodOptional<z.ZodEnum<["international_coding", "china_coding"]>>;
    sambaNovaApiKey: z.ZodOptional<z.ZodString>;
    cerebrasApiKey: z.ZodOptional<z.ZodString>;
    litellmBaseUrl: z.ZodOptional<z.ZodString>;
    litellmApiKey: z.ZodOptional<z.ZodString>;
    litellmModelId: z.ZodOptional<z.ZodString>;
    litellmUsePromptCache: z.ZodOptional<z.ZodBoolean>;
    chutesApiKey: z.ZodOptional<z.ZodString>;
    huggingFaceApiKey: z.ZodOptional<z.ZodString>;
    huggingFaceModelId: z.ZodOptional<z.ZodString>;
    huggingFaceInferenceProvider: z.ZodOptional<z.ZodString>;
    groqApiKey: z.ZodOptional<z.ZodString>;
    xaiApiKey: z.ZodOptional<z.ZodString>;
    fakeAi: z.ZodOptional<z.ZodUnknown>;
    requestyBaseUrl: z.ZodOptional<z.ZodString>;
    requestyApiKey: z.ZodOptional<z.ZodString>;
    requestyModelId: z.ZodOptional<z.ZodString>;
    unboundApiKey: z.ZodOptional<z.ZodString>;
    unboundModelId: z.ZodOptional<z.ZodString>;
    minimaxBaseUrl: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"https://api.minimax.io/v1">, z.ZodLiteral<"https://api.minimaxi.com/v1">]>>;
    minimaxApiKey: z.ZodOptional<z.ZodString>;
    moonshotBaseUrl: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"https://api.moonshot.ai/v1">, z.ZodLiteral<"https://api.moonshot.cn/v1">]>>;
    moonshotApiKey: z.ZodOptional<z.ZodString>;
    doubaoBaseUrl: z.ZodOptional<z.ZodString>;
    doubaoApiKey: z.ZodOptional<z.ZodString>;
    deepInfraBaseUrl: z.ZodOptional<z.ZodString>;
    deepInfraApiKey: z.ZodOptional<z.ZodString>;
    deepInfraModelId: z.ZodOptional<z.ZodString>;
    deepSeekBaseUrl: z.ZodOptional<z.ZodString>;
    deepSeekApiKey: z.ZodOptional<z.ZodString>;
    mistralApiKey: z.ZodOptional<z.ZodString>;
    mistralCodestralUrl: z.ZodOptional<z.ZodString>;
    openAiNativeApiKey: z.ZodOptional<z.ZodString>;
    openAiNativeBaseUrl: z.ZodOptional<z.ZodString>;
    openAiNativeServiceTier: z.ZodOptional<z.ZodEnum<["default", "flex", "priority"]>>;
    geminiCliOAuthPath: z.ZodOptional<z.ZodString>;
    geminiCliProjectId: z.ZodOptional<z.ZodString>;
    geminiApiKey: z.ZodOptional<z.ZodString>;
    googleGeminiBaseUrl: z.ZodOptional<z.ZodString>;
    enableUrlContext: z.ZodOptional<z.ZodBoolean>;
    enableGrounding: z.ZodOptional<z.ZodBoolean>;
    lmStudioModelId: z.ZodOptional<z.ZodString>;
    lmStudioBaseUrl: z.ZodOptional<z.ZodString>;
    lmStudioDraftModelId: z.ZodOptional<z.ZodString>;
    lmStudioSpeculativeDecodingEnabled: z.ZodOptional<z.ZodBoolean>;
    vsCodeLmModelSelector: z.ZodOptional<z.ZodObject<{
        vendor: z.ZodOptional<z.ZodString>;
        family: z.ZodOptional<z.ZodString>;
        version: z.ZodOptional<z.ZodString>;
        id: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        id?: string | undefined;
        family?: string | undefined;
        version?: string | undefined;
        vendor?: string | undefined;
    }, {
        id?: string | undefined;
        family?: string | undefined;
        version?: string | undefined;
        vendor?: string | undefined;
    }>>;
    ollamaModelId: z.ZodOptional<z.ZodString>;
    ollamaBaseUrl: z.ZodOptional<z.ZodString>;
    ollamaApiKey: z.ZodOptional<z.ZodString>;
    ollamaNumCtx: z.ZodOptional<z.ZodNumber>;
    openAiBaseUrl: z.ZodOptional<z.ZodString>;
    openAiApiKey: z.ZodOptional<z.ZodString>;
    openAiLegacyFormat: z.ZodOptional<z.ZodBoolean>;
    openAiR1FormatEnabled: z.ZodOptional<z.ZodBoolean>;
    openAiModelId: z.ZodOptional<z.ZodString>;
    openAiCustomModelInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
        maxTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        maxThinkingTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        contextWindow: z.ZodNumber;
        supportsImages: z.ZodOptional<z.ZodBoolean>;
        supportsPromptCache: z.ZodBoolean;
        promptCacheRetention: z.ZodOptional<z.ZodEnum<["in_memory", "24h"]>>;
        supportsVerbosity: z.ZodOptional<z.ZodBoolean>;
        supportsReasoningBudget: z.ZodOptional<z.ZodBoolean>;
        supportsReasoningBinary: z.ZodOptional<z.ZodBoolean>;
        supportsTemperature: z.ZodOptional<z.ZodBoolean>;
        defaultTemperature: z.ZodOptional<z.ZodNumber>;
        requiredReasoningBudget: z.ZodOptional<z.ZodBoolean>;
        supportsReasoningEffort: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>, "many">]>>;
        requiredReasoningEffort: z.ZodOptional<z.ZodBoolean>;
        preserveReasoning: z.ZodOptional<z.ZodBoolean>;
        supportedParameters: z.ZodOptional<z.ZodArray<z.ZodEnum<["max_tokens", "temperature", "reasoning", "include_reasoning"]>, "many">>;
        inputPrice: z.ZodOptional<z.ZodNumber>;
        outputPrice: z.ZodOptional<z.ZodNumber>;
        cacheWritesPrice: z.ZodOptional<z.ZodNumber>;
        cacheReadsPrice: z.ZodOptional<z.ZodNumber>;
        description: z.ZodOptional<z.ZodString>;
        reasoningEffort: z.ZodOptional<z.ZodEnum<["none", "minimal", "low", "medium", "high"]>>;
        minTokensPerCachePoint: z.ZodOptional<z.ZodNumber>;
        maxCachePoints: z.ZodOptional<z.ZodNumber>;
        cachableFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        deprecated: z.ZodOptional<z.ZodBoolean>;
        isFree: z.ZodOptional<z.ZodBoolean>;
        supportsNativeTools: z.ZodOptional<z.ZodBoolean>;
        defaultToolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
        tiers: z.ZodOptional<z.ZodArray<z.ZodObject<{
            name: z.ZodOptional<z.ZodEnum<["default", "flex", "priority"]>>;
            contextWindow: z.ZodNumber;
            inputPrice: z.ZodOptional<z.ZodNumber>;
            outputPrice: z.ZodOptional<z.ZodNumber>;
            cacheWritesPrice: z.ZodOptional<z.ZodNumber>;
            cacheReadsPrice: z.ZodOptional<z.ZodNumber>;
        }, "strip", z.ZodTypeAny, {
            contextWindow: number;
            name?: "default" | "flex" | "priority" | undefined;
            inputPrice?: number | undefined;
            outputPrice?: number | undefined;
            cacheWritesPrice?: number | undefined;
            cacheReadsPrice?: number | undefined;
        }, {
            contextWindow: number;
            name?: "default" | "flex" | "priority" | undefined;
            inputPrice?: number | undefined;
            outputPrice?: number | undefined;
            cacheWritesPrice?: number | undefined;
            cacheReadsPrice?: number | undefined;
        }>, "many">>;
    }, "strip", z.ZodTypeAny, {
        contextWindow: number;
        supportsPromptCache: boolean;
        maxTokens?: number | null | undefined;
        maxThinkingTokens?: number | null | undefined;
        supportsImages?: boolean | undefined;
        promptCacheRetention?: "in_memory" | "24h" | undefined;
        supportsVerbosity?: boolean | undefined;
        supportsReasoningBudget?: boolean | undefined;
        supportsReasoningBinary?: boolean | undefined;
        supportsTemperature?: boolean | undefined;
        defaultTemperature?: number | undefined;
        requiredReasoningBudget?: boolean | undefined;
        supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
        requiredReasoningEffort?: boolean | undefined;
        preserveReasoning?: boolean | undefined;
        supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
        inputPrice?: number | undefined;
        outputPrice?: number | undefined;
        cacheWritesPrice?: number | undefined;
        cacheReadsPrice?: number | undefined;
        description?: string | undefined;
        reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
        minTokensPerCachePoint?: number | undefined;
        maxCachePoints?: number | undefined;
        cachableFields?: string[] | undefined;
        deprecated?: boolean | undefined;
        isFree?: boolean | undefined;
        supportsNativeTools?: boolean | undefined;
        defaultToolProtocol?: "xml" | "native" | undefined;
        tiers?: {
            contextWindow: number;
            name?: "default" | "flex" | "priority" | undefined;
            inputPrice?: number | undefined;
            outputPrice?: number | undefined;
            cacheWritesPrice?: number | undefined;
            cacheReadsPrice?: number | undefined;
        }[] | undefined;
    }, {
        contextWindow: number;
        supportsPromptCache: boolean;
        maxTokens?: number | null | undefined;
        maxThinkingTokens?: number | null | undefined;
        supportsImages?: boolean | undefined;
        promptCacheRetention?: "in_memory" | "24h" | undefined;
        supportsVerbosity?: boolean | undefined;
        supportsReasoningBudget?: boolean | undefined;
        supportsReasoningBinary?: boolean | undefined;
        supportsTemperature?: boolean | undefined;
        defaultTemperature?: number | undefined;
        requiredReasoningBudget?: boolean | undefined;
        supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
        requiredReasoningEffort?: boolean | undefined;
        preserveReasoning?: boolean | undefined;
        supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
        inputPrice?: number | undefined;
        outputPrice?: number | undefined;
        cacheWritesPrice?: number | undefined;
        cacheReadsPrice?: number | undefined;
        description?: string | undefined;
        reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
        minTokensPerCachePoint?: number | undefined;
        maxCachePoints?: number | undefined;
        cachableFields?: string[] | undefined;
        deprecated?: boolean | undefined;
        isFree?: boolean | undefined;
        supportsNativeTools?: boolean | undefined;
        defaultToolProtocol?: "xml" | "native" | undefined;
        tiers?: {
            contextWindow: number;
            name?: "default" | "flex" | "priority" | undefined;
            inputPrice?: number | undefined;
            outputPrice?: number | undefined;
            cacheWritesPrice?: number | undefined;
            cacheReadsPrice?: number | undefined;
        }[] | undefined;
    }>>>;
    openAiUseAzure: z.ZodOptional<z.ZodBoolean>;
    azureApiVersion: z.ZodOptional<z.ZodString>;
    openAiStreamingEnabled: z.ZodOptional<z.ZodBoolean>;
    openAiHostHeader: z.ZodOptional<z.ZodString>;
    openAiHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    vertexKeyFile: z.ZodOptional<z.ZodString>;
    vertexJsonCredentials: z.ZodOptional<z.ZodString>;
    vertexProjectId: z.ZodOptional<z.ZodString>;
    vertexRegion: z.ZodOptional<z.ZodString>;
    awsAccessKey: z.ZodOptional<z.ZodString>;
    awsSecretKey: z.ZodOptional<z.ZodString>;
    awsSessionToken: z.ZodOptional<z.ZodString>;
    awsRegion: z.ZodOptional<z.ZodString>;
    awsUseCrossRegionInference: z.ZodOptional<z.ZodBoolean>;
    awsUseGlobalInference: z.ZodOptional<z.ZodBoolean>;
    awsUsePromptCache: z.ZodOptional<z.ZodBoolean>;
    awsProfile: z.ZodOptional<z.ZodString>;
    awsUseProfile: z.ZodOptional<z.ZodBoolean>;
    awsApiKey: z.ZodOptional<z.ZodString>;
    awsUseApiKey: z.ZodOptional<z.ZodBoolean>;
    awsCustomArn: z.ZodOptional<z.ZodString>;
    awsModelContextWindow: z.ZodOptional<z.ZodNumber>;
    awsBedrockEndpointEnabled: z.ZodOptional<z.ZodBoolean>;
    awsBedrockEndpoint: z.ZodOptional<z.ZodString>;
    awsBedrock1MContext: z.ZodOptional<z.ZodBoolean>;
    openRouterApiKey: z.ZodOptional<z.ZodString>;
    openRouterModelId: z.ZodOptional<z.ZodString>;
    openRouterBaseUrl: z.ZodOptional<z.ZodString>;
    openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
    openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
    glamaModelId: z.ZodOptional<z.ZodString>;
    glamaApiKey: z.ZodOptional<z.ZodString>;
    claudeCodePath: z.ZodOptional<z.ZodString>;
    claudeCodeMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
    apiKey: z.ZodOptional<z.ZodString>;
    anthropicBaseUrl: z.ZodOptional<z.ZodString>;
    anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
    anthropicBeta1MContext: z.ZodOptional<z.ZodBoolean>;
    apiProvider: z.ZodOptional<z.ZodEnum<["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "roo", "chutes", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "minimax", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"]>>;
} & {
    currentApiConfigName: z.ZodOptional<z.ZodString>;
    listApiConfigMeta: z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        name: z.ZodString;
        apiProvider: z.ZodOptional<z.ZodEnum<["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "roo", "chutes", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "minimax", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"]>>;
        modelId: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        id: string;
        name: string;
        apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
        modelId?: string | undefined;
    }, {
        id: string;
        name: string;
        apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
        modelId?: string | undefined;
    }>, "many">>;
    pinnedApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
    lastShownAnnouncementId: z.ZodOptional<z.ZodString>;
    customInstructions: z.ZodOptional<z.ZodString>;
    taskHistory: z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        rootTaskId: z.ZodOptional<z.ZodString>;
        parentTaskId: z.ZodOptional<z.ZodString>;
        number: z.ZodNumber;
        ts: z.ZodNumber;
        task: z.ZodString;
        tokensIn: z.ZodNumber;
        tokensOut: z.ZodNumber;
        cacheWrites: z.ZodOptional<z.ZodNumber>;
        cacheReads: z.ZodOptional<z.ZodNumber>;
        totalCost: z.ZodNumber;
        size: z.ZodOptional<z.ZodNumber>;
        workspace: z.ZodOptional<z.ZodString>;
        mode: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        number: number;
        ts: number;
        totalCost: number;
        id: string;
        task: string;
        tokensIn: number;
        tokensOut: number;
        rootTaskId?: string | undefined;
        parentTaskId?: string | undefined;
        cacheWrites?: number | undefined;
        cacheReads?: number | undefined;
        size?: number | undefined;
        workspace?: string | undefined;
        mode?: string | undefined;
    }, {
        number: number;
        ts: number;
        totalCost: number;
        id: string;
        task: string;
        tokensIn: number;
        tokensOut: number;
        rootTaskId?: string | undefined;
        parentTaskId?: string | undefined;
        cacheWrites?: number | undefined;
        cacheReads?: number | undefined;
        size?: number | undefined;
        workspace?: string | undefined;
        mode?: string | undefined;
    }>, "many">>;
    dismissedUpsells: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    openRouterImageApiKey: z.ZodOptional<z.ZodString>;
    openRouterImageGenerationSelectedModel: z.ZodOptional<z.ZodString>;
    condensingApiConfigId: z.ZodOptional<z.ZodString>;
    customCondensingPrompt: z.ZodOptional<z.ZodString>;
    autoApprovalEnabled: z.ZodOptional<z.ZodBoolean>;
    alwaysAllowReadOnly: z.ZodOptional<z.ZodBoolean>;
    alwaysAllowReadOnlyOutsideWorkspace: z.ZodOptional<z.ZodBoolean>;
    alwaysAllowWrite: z.ZodOptional<z.ZodBoolean>;
    alwaysAllowWriteOutsideWorkspace: z.ZodOptional<z.ZodBoolean>;
    alwaysAllowWriteProtected: z.ZodOptional<z.ZodBoolean>;
    writeDelayMs: z.ZodOptional<z.ZodNumber>;
    alwaysAllowBrowser: z.ZodOptional<z.ZodBoolean>;
    alwaysApproveResubmit: z.ZodOptional<z.ZodBoolean>;
    requestDelaySeconds: z.ZodOptional<z.ZodNumber>;
    alwaysAllowMcp: z.ZodOptional<z.ZodBoolean>;
    alwaysAllowModeSwitch: z.ZodOptional<z.ZodBoolean>;
    alwaysAllowSubtasks: z.ZodOptional<z.ZodBoolean>;
    alwaysAllowExecute: z.ZodOptional<z.ZodBoolean>;
    alwaysAllowFollowupQuestions: z.ZodOptional<z.ZodBoolean>;
    followupAutoApproveTimeoutMs: z.ZodOptional<z.ZodNumber>;
    alwaysAllowUpdateTodoList: z.ZodOptional<z.ZodBoolean>;
    allowedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    deniedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    commandExecutionTimeout: z.ZodOptional<z.ZodNumber>;
    commandTimeoutAllowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    preventCompletionWithOpenTodos: z.ZodOptional<z.ZodBoolean>;
    allowedMaxRequests: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    allowedMaxCost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    autoCondenseContext: z.ZodOptional<z.ZodBoolean>;
    autoCondenseContextPercent: z.ZodOptional<z.ZodNumber>;
    maxConcurrentFileReads: z.ZodOptional<z.ZodNumber>;
    includeCurrentTime: z.ZodOptional<z.ZodBoolean>;
    includeCurrentCost: z.ZodOptional<z.ZodBoolean>;
    maxGitStatusFiles: z.ZodOptional<z.ZodNumber>;
    includeDiagnosticMessages: z.ZodOptional<z.ZodBoolean>;
    maxDiagnosticMessages: z.ZodOptional<z.ZodNumber>;
    browserToolEnabled: z.ZodOptional<z.ZodBoolean>;
    browserViewportSize: z.ZodOptional<z.ZodString>;
    screenshotQuality: z.ZodOptional<z.ZodNumber>;
    remoteBrowserEnabled: z.ZodOptional<z.ZodBoolean>;
    remoteBrowserHost: z.ZodOptional<z.ZodString>;
    cachedChromeHostUrl: z.ZodOptional<z.ZodString>;
    enableCheckpoints: z.ZodOptional<z.ZodBoolean>;
    checkpointTimeout: z.ZodOptional<z.ZodNumber>;
    ttsEnabled: z.ZodOptional<z.ZodBoolean>;
    ttsSpeed: z.ZodOptional<z.ZodNumber>;
    soundEnabled: z.ZodOptional<z.ZodBoolean>;
    soundVolume: z.ZodOptional<z.ZodNumber>;
    maxOpenTabsContext: z.ZodOptional<z.ZodNumber>;
    maxWorkspaceFiles: z.ZodOptional<z.ZodNumber>;
    showRooIgnoredFiles: z.ZodOptional<z.ZodBoolean>;
    maxReadFileLine: z.ZodOptional<z.ZodNumber>;
    maxImageFileSize: z.ZodOptional<z.ZodNumber>;
    maxTotalImageSize: z.ZodOptional<z.ZodNumber>;
    terminalOutputLineLimit: z.ZodOptional<z.ZodNumber>;
    terminalOutputCharacterLimit: z.ZodOptional<z.ZodNumber>;
    terminalShellIntegrationTimeout: z.ZodOptional<z.ZodNumber>;
    terminalShellIntegrationDisabled: z.ZodOptional<z.ZodBoolean>;
    terminalCommandDelay: z.ZodOptional<z.ZodNumber>;
    terminalPowershellCounter: z.ZodOptional<z.ZodBoolean>;
    terminalZshClearEolMark: z.ZodOptional<z.ZodBoolean>;
    terminalZshOhMy: z.ZodOptional<z.ZodBoolean>;
    terminalZshP10k: z.ZodOptional<z.ZodBoolean>;
    terminalZdotdir: z.ZodOptional<z.ZodBoolean>;
    terminalCompressProgressBar: z.ZodOptional<z.ZodBoolean>;
    diagnosticsEnabled: z.ZodOptional<z.ZodBoolean>;
    rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
    diffEnabled: z.ZodOptional<z.ZodBoolean>;
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    experiments: z.ZodOptional<z.ZodObject<{
        powerSteering: z.ZodOptional<z.ZodBoolean>;
        multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
        preventFocusDisruption: z.ZodOptional<z.ZodBoolean>;
        imageGeneration: z.ZodOptional<z.ZodBoolean>;
        runSlashCommand: z.ZodOptional<z.ZodBoolean>;
        nativeToolCalling: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        powerSteering?: boolean | undefined;
        multiFileApplyDiff?: boolean | undefined;
        preventFocusDisruption?: boolean | undefined;
        imageGeneration?: boolean | undefined;
        runSlashCommand?: boolean | undefined;
        nativeToolCalling?: boolean | undefined;
    }, {
        powerSteering?: boolean | undefined;
        multiFileApplyDiff?: boolean | undefined;
        preventFocusDisruption?: boolean | undefined;
        imageGeneration?: boolean | undefined;
        runSlashCommand?: boolean | undefined;
        nativeToolCalling?: boolean | undefined;
    }>>;
    codebaseIndexModels: z.ZodOptional<z.ZodObject<{
        openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
            dimension: z.ZodNumber;
        }, "strip", z.ZodTypeAny, {
            dimension: number;
        }, {
            dimension: number;
        }>>>;
        ollama: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
            dimension: z.ZodNumber;
        }, "strip", z.ZodTypeAny, {
            dimension: number;
        }, {
            dimension: number;
        }>>>;
        "openai-compatible": z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
            dimension: z.ZodNumber;
        }, "strip", z.ZodTypeAny, {
            dimension: number;
        }, {
            dimension: number;
        }>>>;
        gemini: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
            dimension: z.ZodNumber;
        }, "strip", z.ZodTypeAny, {
            dimension: number;
        }, {
            dimension: number;
        }>>>;
        mistral: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
            dimension: z.ZodNumber;
        }, "strip", z.ZodTypeAny, {
            dimension: number;
        }, {
            dimension: number;
        }>>>;
        "vercel-ai-gateway": z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
            dimension: z.ZodNumber;
        }, "strip", z.ZodTypeAny, {
            dimension: number;
        }, {
            dimension: number;
        }>>>;
        openrouter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
            dimension: z.ZodNumber;
        }, "strip", z.ZodTypeAny, {
            dimension: number;
        }, {
            dimension: number;
        }>>>;
    }, "strip", z.ZodTypeAny, {
        openai?: Record<string, {
            dimension: number;
        }> | undefined;
        ollama?: Record<string, {
            dimension: number;
        }> | undefined;
        "openai-compatible"?: Record<string, {
            dimension: number;
        }> | undefined;
        gemini?: Record<string, {
            dimension: number;
        }> | undefined;
        mistral?: Record<string, {
            dimension: number;
        }> | undefined;
        "vercel-ai-gateway"?: Record<string, {
            dimension: number;
        }> | undefined;
        openrouter?: Record<string, {
            dimension: number;
        }> | undefined;
    }, {
        openai?: Record<string, {
            dimension: number;
        }> | undefined;
        ollama?: Record<string, {
            dimension: number;
        }> | undefined;
        "openai-compatible"?: Record<string, {
            dimension: number;
        }> | undefined;
        gemini?: Record<string, {
            dimension: number;
        }> | undefined;
        mistral?: Record<string, {
            dimension: number;
        }> | undefined;
        "vercel-ai-gateway"?: Record<string, {
            dimension: number;
        }> | undefined;
        openrouter?: Record<string, {
            dimension: number;
        }> | undefined;
    }>>;
    codebaseIndexConfig: z.ZodOptional<z.ZodObject<{
        codebaseIndexEnabled: z.ZodOptional<z.ZodBoolean>;
        codebaseIndexQdrantUrl: z.ZodOptional<z.ZodString>;
        codebaseIndexEmbedderProvider: z.ZodOptional<z.ZodEnum<["openai", "ollama", "openai-compatible", "gemini", "mistral", "vercel-ai-gateway", "openrouter"]>>;
        codebaseIndexEmbedderBaseUrl: z.ZodOptional<z.ZodString>;
        codebaseIndexEmbedderModelId: z.ZodOptional<z.ZodString>;
        codebaseIndexEmbedderModelDimension: z.ZodOptional<z.ZodNumber>;
        codebaseIndexSearchMinScore: z.ZodOptional<z.ZodNumber>;
        codebaseIndexSearchMaxResults: z.ZodOptional<z.ZodNumber>;
        codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
        codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
    }, "strip", z.ZodTypeAny, {
        codebaseIndexEnabled?: boolean | undefined;
        codebaseIndexQdrantUrl?: string | undefined;
        codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | undefined;
        codebaseIndexEmbedderBaseUrl?: string | undefined;
        codebaseIndexEmbedderModelId?: string | undefined;
        codebaseIndexEmbedderModelDimension?: number | undefined;
        codebaseIndexSearchMinScore?: number | undefined;
        codebaseIndexSearchMaxResults?: number | undefined;
        codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
        codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
    }, {
        codebaseIndexEnabled?: boolean | undefined;
        codebaseIndexQdrantUrl?: string | undefined;
        codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | undefined;
        codebaseIndexEmbedderBaseUrl?: string | undefined;
        codebaseIndexEmbedderModelId?: string | undefined;
        codebaseIndexEmbedderModelDimension?: number | undefined;
        codebaseIndexSearchMinScore?: number | undefined;
        codebaseIndexSearchMaxResults?: number | undefined;
        codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
        codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
    }>>;
    language: z.ZodOptional<z.ZodEnum<["ca", "de", "en", "es", "fr", "hi", "id", "it", "ja", "ko", "nl", "pl", "pt-BR", "ru", "tr", "vi", "zh-CN", "zh-TW"]>>;
    telemetrySetting: z.ZodOptional<z.ZodEnum<["unset", "enabled", "disabled"]>>;
    mcpEnabled: z.ZodOptional<z.ZodBoolean>;
    enableMcpServerCreation: z.ZodOptional<z.ZodBoolean>;
    mode: z.ZodOptional<z.ZodString>;
    modeApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    customModes: z.ZodOptional<z.ZodArray<z.ZodObject<{
        slug: z.ZodString;
        name: z.ZodString;
        roleDefinition: z.ZodString;
        whenToUse: z.ZodOptional<z.ZodString>;
        description: z.ZodOptional<z.ZodString>;
        customInstructions: z.ZodOptional<z.ZodString>;
        groups: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodTuple<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodObject<{
            fileRegex: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
            description: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            description?: string | undefined;
            fileRegex?: string | undefined;
        }, {
            description?: string | undefined;
            fileRegex?: string | undefined;
        }>], null>]>, "many">, ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
            description?: string | undefined;
            fileRegex?: string | undefined;
        }])[], ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
            description?: string | undefined;
            fileRegex?: string | undefined;
        }])[]>;
        source: z.ZodOptional<z.ZodEnum<["global", "project"]>>;
    }, "strip", z.ZodTypeAny, {
        name: string;
        slug: string;
        roleDefinition: string;
        groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
            description?: string | undefined;
            fileRegex?: string | undefined;
        }])[];
        description?: string | undefined;
        whenToUse?: string | undefined;
        customInstructions?: string | undefined;
        source?: "global" | "project" | undefined;
    }, {
        name: string;
        slug: string;
        roleDefinition: string;
        groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
            description?: string | undefined;
            fileRegex?: string | undefined;
        }])[];
        description?: string | undefined;
        whenToUse?: string | undefined;
        customInstructions?: string | undefined;
        source?: "global" | "project" | undefined;
    }>, "many">>;
    customModePrompts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodObject<{
        roleDefinition: z.ZodOptional<z.ZodString>;
        whenToUse: z.ZodOptional<z.ZodString>;
        description: z.ZodOptional<z.ZodString>;
        customInstructions: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        description?: string | undefined;
        roleDefinition?: string | undefined;
        whenToUse?: string | undefined;
        customInstructions?: string | undefined;
    }, {
        description?: string | undefined;
        roleDefinition?: string | undefined;
        whenToUse?: string | undefined;
        customInstructions?: string | undefined;
    }>>>>;
    customSupportPrompts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
    enhancementApiConfigId: z.ZodOptional<z.ZodString>;
    includeTaskHistoryInEnhance: z.ZodOptional<z.ZodBoolean>;
    historyPreviewCollapsed: z.ZodOptional<z.ZodBoolean>;
    reasoningBlockCollapsed: z.ZodOptional<z.ZodBoolean>;
    profileThresholds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
    hasOpenedModeSelector: z.ZodOptional<z.ZodBoolean>;
    lastModeExportPath: z.ZodOptional<z.ZodString>;
    lastModeImportPath: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
    codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
    codeIndexOpenAiKey?: string | undefined;
    codeIndexQdrantApiKey?: string | undefined;
    codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
    codebaseIndexGeminiApiKey?: string | undefined;
    codebaseIndexMistralApiKey?: string | undefined;
    codebaseIndexVercelAiGatewayApiKey?: string | undefined;
    codebaseIndexOpenRouterApiKey?: string | undefined;
    language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
    apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    apiKey?: string | undefined;
    anthropicBaseUrl?: string | undefined;
    anthropicUseAuthToken?: boolean | undefined;
    anthropicBeta1MContext?: boolean | undefined;
    claudeCodePath?: string | undefined;
    claudeCodeMaxOutputTokens?: number | undefined;
    glamaModelId?: string | undefined;
    glamaApiKey?: string | undefined;
    openRouterApiKey?: string | undefined;
    openRouterModelId?: string | undefined;
    openRouterBaseUrl?: string | undefined;
    openRouterSpecificProvider?: string | undefined;
    openRouterUseMiddleOutTransform?: boolean | undefined;
    awsAccessKey?: string | undefined;
    awsSecretKey?: string | undefined;
    awsSessionToken?: string | undefined;
    awsRegion?: string | undefined;
    awsUseCrossRegionInference?: boolean | undefined;
    awsUseGlobalInference?: boolean | undefined;
    awsUsePromptCache?: boolean | undefined;
    awsProfile?: string | undefined;
    awsUseProfile?: boolean | undefined;
    awsApiKey?: string | undefined;
    awsUseApiKey?: boolean | undefined;
    awsCustomArn?: string | undefined;
    awsModelContextWindow?: number | undefined;
    awsBedrockEndpointEnabled?: boolean | undefined;
    awsBedrockEndpoint?: string | undefined;
    awsBedrock1MContext?: boolean | undefined;
    vertexKeyFile?: string | undefined;
    vertexJsonCredentials?: string | undefined;
    vertexProjectId?: string | undefined;
    vertexRegion?: string | undefined;
    enableUrlContext?: boolean | undefined;
    enableGrounding?: boolean | undefined;
    openAiBaseUrl?: string | undefined;
    openAiApiKey?: string | undefined;
    openAiLegacyFormat?: boolean | undefined;
    openAiR1FormatEnabled?: boolean | undefined;
    openAiModelId?: string | undefined;
    openAiCustomModelInfo?: {
        contextWindow: number;
        supportsPromptCache: boolean;
        maxTokens?: number | null | undefined;
        maxThinkingTokens?: number | null | undefined;
        supportsImages?: boolean | undefined;
        promptCacheRetention?: "in_memory" | "24h" | undefined;
        supportsVerbosity?: boolean | undefined;
        supportsReasoningBudget?: boolean | undefined;
        supportsReasoningBinary?: boolean | undefined;
        supportsTemperature?: boolean | undefined;
        defaultTemperature?: number | undefined;
        requiredReasoningBudget?: boolean | undefined;
        supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
        requiredReasoningEffort?: boolean | undefined;
        preserveReasoning?: boolean | undefined;
        supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
        inputPrice?: number | undefined;
        outputPrice?: number | undefined;
        cacheWritesPrice?: number | undefined;
        cacheReadsPrice?: number | undefined;
        description?: string | undefined;
        reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
        minTokensPerCachePoint?: number | undefined;
        maxCachePoints?: number | undefined;
        cachableFields?: string[] | undefined;
        deprecated?: boolean | undefined;
        isFree?: boolean | undefined;
        supportsNativeTools?: boolean | undefined;
        defaultToolProtocol?: "xml" | "native" | undefined;
        tiers?: {
            contextWindow: number;
            name?: "default" | "flex" | "priority" | undefined;
            inputPrice?: number | undefined;
            outputPrice?: number | undefined;
            cacheWritesPrice?: number | undefined;
            cacheReadsPrice?: number | undefined;
        }[] | undefined;
    } | null | undefined;
    openAiUseAzure?: boolean | undefined;
    azureApiVersion?: string | undefined;
    openAiStreamingEnabled?: boolean | undefined;
    openAiHostHeader?: string | undefined;
    openAiHeaders?: Record<string, string> | undefined;
    ollamaModelId?: string | undefined;
    ollamaBaseUrl?: string | undefined;
    ollamaApiKey?: string | undefined;
    ollamaNumCtx?: number | undefined;
    vsCodeLmModelSelector?: {
        id?: string | undefined;
        family?: string | undefined;
        version?: string | undefined;
        vendor?: string | undefined;
    } | undefined;
    lmStudioModelId?: string | undefined;
    lmStudioBaseUrl?: string | undefined;
    lmStudioDraftModelId?: string | undefined;
    lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
    geminiApiKey?: string | undefined;
    googleGeminiBaseUrl?: string | undefined;
    geminiCliOAuthPath?: string | undefined;
    geminiCliProjectId?: string | undefined;
    openAiNativeApiKey?: string | undefined;
    openAiNativeBaseUrl?: string | undefined;
    openAiNativeServiceTier?: "default" | "flex" | "priority" | undefined;
    mistralApiKey?: string | undefined;
    mistralCodestralUrl?: string | undefined;
    deepSeekBaseUrl?: string | undefined;
    deepSeekApiKey?: string | undefined;
    deepInfraBaseUrl?: string | undefined;
    deepInfraApiKey?: string | undefined;
    deepInfraModelId?: string | undefined;
    doubaoBaseUrl?: string | undefined;
    doubaoApiKey?: string | undefined;
    moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined;
    moonshotApiKey?: string | undefined;
    minimaxBaseUrl?: "https://api.minimax.io/v1" | "https://api.minimaxi.com/v1" | undefined;
    minimaxApiKey?: string | undefined;
    unboundApiKey?: string | undefined;
    unboundModelId?: string | undefined;
    requestyBaseUrl?: string | undefined;
    requestyApiKey?: string | undefined;
    requestyModelId?: string | undefined;
    fakeAi?: unknown;
    xaiApiKey?: string | undefined;
    groqApiKey?: string | undefined;
    huggingFaceApiKey?: string | undefined;
    huggingFaceModelId?: string | undefined;
    huggingFaceInferenceProvider?: string | undefined;
    chutesApiKey?: string | undefined;
    litellmBaseUrl?: string | undefined;
    litellmApiKey?: string | undefined;
    litellmModelId?: string | undefined;
    litellmUsePromptCache?: boolean | undefined;
    cerebrasApiKey?: string | undefined;
    sambaNovaApiKey?: string | undefined;
    zaiApiKey?: string | undefined;
    zaiApiLine?: "international_coding" | "china_coding" | undefined;
    fireworksApiKey?: string | undefined;
    featherlessApiKey?: string | undefined;
    ioIntelligenceModelId?: string | undefined;
    ioIntelligenceApiKey?: string | undefined;
    qwenCodeOauthPath?: string | undefined;
    vercelAiGatewayApiKey?: string | undefined;
    vercelAiGatewayModelId?: string | undefined;
    mode?: string | undefined;
    customInstructions?: string | undefined;
    customModes?: {
        name: string;
        slug: string;
        roleDefinition: string;
        groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
            description?: string | undefined;
            fileRegex?: string | undefined;
        }])[];
        description?: string | undefined;
        whenToUse?: string | undefined;
        customInstructions?: string | undefined;
        source?: "global" | "project" | undefined;
    }[] | undefined;
    currentApiConfigName?: string | undefined;
    listApiConfigMeta?: {
        id: string;
        name: string;
        apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
        modelId?: string | undefined;
    }[] | undefined;
    pinnedApiConfigs?: Record<string, boolean> | undefined;
    lastShownAnnouncementId?: string | undefined;
    taskHistory?: {
        number: number;
        ts: number;
        totalCost: number;
        id: string;
        task: string;
        tokensIn: number;
        tokensOut: number;
        rootTaskId?: string | undefined;
        parentTaskId?: string | undefined;
        cacheWrites?: number | undefined;
        cacheReads?: number | undefined;
        size?: number | undefined;
        workspace?: string | undefined;
        mode?: string | undefined;
    }[] | undefined;
    dismissedUpsells?: string[] | undefined;
    openRouterImageApiKey?: string | undefined;
    openRouterImageGenerationSelectedModel?: string | undefined;
    condensingApiConfigId?: string | undefined;
    customCondensingPrompt?: string | undefined;
    autoApprovalEnabled?: boolean | undefined;
    alwaysAllowReadOnly?: boolean | undefined;
    alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
    alwaysAllowWrite?: boolean | undefined;
    alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
    alwaysAllowWriteProtected?: boolean | undefined;
    writeDelayMs?: number | undefined;
    alwaysAllowBrowser?: boolean | undefined;
    alwaysApproveResubmit?: boolean | undefined;
    requestDelaySeconds?: number | undefined;
    alwaysAllowMcp?: boolean | undefined;
    alwaysAllowModeSwitch?: boolean | undefined;
    alwaysAllowSubtasks?: boolean | undefined;
    alwaysAllowExecute?: boolean | undefined;
    alwaysAllowFollowupQuestions?: boolean | undefined;
    followupAutoApproveTimeoutMs?: number | undefined;
    alwaysAllowUpdateTodoList?: boolean | undefined;
    allowedCommands?: string[] | undefined;
    deniedCommands?: string[] | undefined;
    commandExecutionTimeout?: number | undefined;
    commandTimeoutAllowlist?: string[] | undefined;
    preventCompletionWithOpenTodos?: boolean | undefined;
    allowedMaxRequests?: number | null | undefined;
    allowedMaxCost?: number | null | undefined;
    autoCondenseContext?: boolean | undefined;
    autoCondenseContextPercent?: number | undefined;
    maxConcurrentFileReads?: number | undefined;
    includeCurrentTime?: boolean | undefined;
    includeCurrentCost?: boolean | undefined;
    maxGitStatusFiles?: number | undefined;
    includeDiagnosticMessages?: boolean | undefined;
    maxDiagnosticMessages?: number | undefined;
    browserToolEnabled?: boolean | undefined;
    browserViewportSize?: string | undefined;
    screenshotQuality?: number | undefined;
    remoteBrowserEnabled?: boolean | undefined;
    remoteBrowserHost?: string | undefined;
    cachedChromeHostUrl?: string | undefined;
    enableCheckpoints?: boolean | undefined;
    checkpointTimeout?: number | undefined;
    ttsEnabled?: boolean | undefined;
    ttsSpeed?: number | undefined;
    soundEnabled?: boolean | undefined;
    soundVolume?: number | undefined;
    maxOpenTabsContext?: number | undefined;
    maxWorkspaceFiles?: number | undefined;
    showRooIgnoredFiles?: boolean | undefined;
    maxReadFileLine?: number | undefined;
    maxImageFileSize?: number | undefined;
    maxTotalImageSize?: number | undefined;
    terminalOutputLineLimit?: number | undefined;
    terminalOutputCharacterLimit?: number | undefined;
    terminalShellIntegrationTimeout?: number | undefined;
    terminalShellIntegrationDisabled?: boolean | undefined;
    terminalCommandDelay?: number | undefined;
    terminalPowershellCounter?: boolean | undefined;
    terminalZshClearEolMark?: boolean | undefined;
    terminalZshOhMy?: boolean | undefined;
    terminalZshP10k?: boolean | undefined;
    terminalZdotdir?: boolean | undefined;
    terminalCompressProgressBar?: boolean | undefined;
    diagnosticsEnabled?: boolean | undefined;
    experiments?: {
        powerSteering?: boolean | undefined;
        multiFileApplyDiff?: boolean | undefined;
        preventFocusDisruption?: boolean | undefined;
        imageGeneration?: boolean | undefined;
        runSlashCommand?: boolean | undefined;
        nativeToolCalling?: boolean | undefined;
    } | undefined;
    codebaseIndexModels?: {
        openai?: Record<string, {
            dimension: number;
        }> | undefined;
        ollama?: Record<string, {
            dimension: number;
        }> | undefined;
        "openai-compatible"?: Record<string, {
            dimension: number;
        }> | undefined;
        gemini?: Record<string, {
            dimension: number;
        }> | undefined;
        mistral?: Record<string, {
            dimension: number;
        }> | undefined;
        "vercel-ai-gateway"?: Record<string, {
            dimension: number;
        }> | undefined;
        openrouter?: Record<string, {
            dimension: number;
        }> | undefined;
    } | undefined;
    codebaseIndexConfig?: {
        codebaseIndexEnabled?: boolean | undefined;
        codebaseIndexQdrantUrl?: string | undefined;
        codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | undefined;
        codebaseIndexEmbedderBaseUrl?: string | undefined;
        codebaseIndexEmbedderModelId?: string | undefined;
        codebaseIndexEmbedderModelDimension?: number | undefined;
        codebaseIndexSearchMinScore?: number | undefined;
        codebaseIndexSearchMaxResults?: number | undefined;
        codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
        codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
    } | undefined;
    telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
    mcpEnabled?: boolean | undefined;
    enableMcpServerCreation?: boolean | undefined;
    modeApiConfigs?: Record<string, string> | undefined;
    customModePrompts?: Record<string, {
        description?: string | undefined;
        roleDefinition?: string | undefined;
        whenToUse?: string | undefined;
        customInstructions?: string | undefined;
    } | undefined> | undefined;
    customSupportPrompts?: Record<string, string | undefined> | undefined;
    enhancementApiConfigId?: string | undefined;
    includeTaskHistoryInEnhance?: boolean | undefined;
    historyPreviewCollapsed?: boolean | undefined;
    reasoningBlockCollapsed?: boolean | undefined;
    profileThresholds?: Record<string, number> | undefined;
    hasOpenedModeSelector?: boolean | undefined;
    lastModeExportPath?: string | undefined;
    lastModeImportPath?: string | undefined;
}, {
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
    codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
    codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
    codeIndexOpenAiKey?: string | undefined;
    codeIndexQdrantApiKey?: string | undefined;
    codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
    codebaseIndexGeminiApiKey?: string | undefined;
    codebaseIndexMistralApiKey?: string | undefined;
    codebaseIndexVercelAiGatewayApiKey?: string | undefined;
    codebaseIndexOpenRouterApiKey?: string | undefined;
    language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
    apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
    includeMaxTokens?: boolean | undefined;
    diffEnabled?: boolean | undefined;
    todoListEnabled?: boolean | undefined;
    fuzzyMatchThreshold?: number | undefined;
    modelTemperature?: number | null | undefined;
    rateLimitSeconds?: number | undefined;
    consecutiveMistakeLimit?: number | undefined;
    enableReasoningEffort?: boolean | undefined;
    modelMaxTokens?: number | undefined;
    modelMaxThinkingTokens?: number | undefined;
    verbosity?: "low" | "medium" | "high" | undefined;
    toolProtocol?: "xml" | "native" | undefined;
    apiModelId?: string | undefined;
    apiKey?: string | undefined;
    anthropicBaseUrl?: string | undefined;
    anthropicUseAuthToken?: boolean | undefined;
    anthropicBeta1MContext?: boolean | undefined;
    claudeCodePath?: string | undefined;
    claudeCodeMaxOutputTokens?: number | undefined;
    glamaModelId?: string | undefined;
    glamaApiKey?: string | undefined;
    openRouterApiKey?: string | undefined;
    openRouterModelId?: string | undefined;
    openRouterBaseUrl?: string | undefined;
    openRouterSpecificProvider?: string | undefined;
    openRouterUseMiddleOutTransform?: boolean | undefined;
    awsAccessKey?: string | undefined;
    awsSecretKey?: string | undefined;
    awsSessionToken?: string | undefined;
    awsRegion?: string | undefined;
    awsUseCrossRegionInference?: boolean | undefined;
    awsUseGlobalInference?: boolean | undefined;
    awsUsePromptCache?: boolean | undefined;
    awsProfile?: string | undefined;
    awsUseProfile?: boolean | undefined;
    awsApiKey?: string | undefined;
    awsUseApiKey?: boolean | undefined;
    awsCustomArn?: string | undefined;
    awsModelContextWindow?: number | undefined;
    awsBedrockEndpointEnabled?: boolean | undefined;
    awsBedrockEndpoint?: string | undefined;
    awsBedrock1MContext?: boolean | undefined;
    vertexKeyFile?: string | undefined;
    vertexJsonCredentials?: string | undefined;
    vertexProjectId?: string | undefined;
    vertexRegion?: string | undefined;
    enableUrlContext?: boolean | undefined;
    enableGrounding?: boolean | undefined;
    openAiBaseUrl?: string | undefined;
    openAiApiKey?: string | undefined;
    openAiLegacyFormat?: boolean | undefined;
    openAiR1FormatEnabled?: boolean | undefined;
    openAiModelId?: string | undefined;
    openAiCustomModelInfo?: {
        contextWindow: number;
        supportsPromptCache: boolean;
        maxTokens?: number | null | undefined;
        maxThinkingTokens?: number | null | undefined;
        supportsImages?: boolean | undefined;
        promptCacheRetention?: "in_memory" | "24h" | undefined;
        supportsVerbosity?: boolean | undefined;
        supportsReasoningBudget?: boolean | undefined;
        supportsReasoningBinary?: boolean | undefined;
        supportsTemperature?: boolean | undefined;
        defaultTemperature?: number | undefined;
        requiredReasoningBudget?: boolean | undefined;
        supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
        requiredReasoningEffort?: boolean | undefined;
        preserveReasoning?: boolean | undefined;
        supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
        inputPrice?: number | undefined;
        outputPrice?: number | undefined;
        cacheWritesPrice?: number | undefined;
        cacheReadsPrice?: number | undefined;
        description?: string | undefined;
        reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
        minTokensPerCachePoint?: number | undefined;
        maxCachePoints?: number | undefined;
        cachableFields?: string[] | undefined;
        deprecated?: boolean | undefined;
        isFree?: boolean | undefined;
        supportsNativeTools?: boolean | undefined;
        defaultToolProtocol?: "xml" | "native" | undefined;
        tiers?: {
            contextWindow: number;
            name?: "default" | "flex" | "priority" | undefined;
            inputPrice?: number | undefined;
            outputPrice?: number | undefined;
            cacheWritesPrice?: number | undefined;
            cacheReadsPrice?: number | undefined;
        }[] | undefined;
    } | null | undefined;
    openAiUseAzure?: boolean | undefined;
    azureApiVersion?: string | undefined;
    openAiStreamingEnabled?: boolean | undefined;
    openAiHostHeader?: string | undefined;
    openAiHeaders?: Record<string, string> | undefined;
    ollamaModelId?: string | undefined;
    ollamaBaseUrl?: string | undefined;
    ollamaApiKey?: string | undefined;
    ollamaNumCtx?: number | undefined;
    vsCodeLmModelSelector?: {
        id?: string | undefined;
        family?: string | undefined;
        version?: string | undefined;
        vendor?: string | undefined;
    } | undefined;
    lmStudioModelId?: string | undefined;
    lmStudioBaseUrl?: string | undefined;
    lmStudioDraftModelId?: string | undefined;
    lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
    geminiApiKey?: string | undefined;
    googleGeminiBaseUrl?: string | undefined;
    geminiCliOAuthPath?: string | undefined;
    geminiCliProjectId?: string | undefined;
    openAiNativeApiKey?: string | undefined;
    openAiNativeBaseUrl?: string | undefined;
    openAiNativeServiceTier?: "default" | "flex" | "priority" | undefined;
    mistralApiKey?: string | undefined;
    mistralCodestralUrl?: string | undefined;
    deepSeekBaseUrl?: string | undefined;
    deepSeekApiKey?: string | undefined;
    deepInfraBaseUrl?: string | undefined;
    deepInfraApiKey?: string | undefined;
    deepInfraModelId?: string | undefined;
    doubaoBaseUrl?: string | undefined;
    doubaoApiKey?: string | undefined;
    moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined;
    moonshotApiKey?: string | undefined;
    minimaxBaseUrl?: "https://api.minimax.io/v1" | "https://api.minimaxi.com/v1" | undefined;
    minimaxApiKey?: string | undefined;
    unboundApiKey?: string | undefined;
    unboundModelId?: string | undefined;
    requestyBaseUrl?: string | undefined;
    requestyApiKey?: string | undefined;
    requestyModelId?: string | undefined;
    fakeAi?: unknown;
    xaiApiKey?: string | undefined;
    groqApiKey?: string | undefined;
    huggingFaceApiKey?: string | undefined;
    huggingFaceModelId?: string | undefined;
    huggingFaceInferenceProvider?: string | undefined;
    chutesApiKey?: string | undefined;
    litellmBaseUrl?: string | undefined;
    litellmApiKey?: string | undefined;
    litellmModelId?: string | undefined;
    litellmUsePromptCache?: boolean | undefined;
    cerebrasApiKey?: string | undefined;
    sambaNovaApiKey?: string | undefined;
    zaiApiKey?: string | undefined;
    zaiApiLine?: "international_coding" | "china_coding" | undefined;
    fireworksApiKey?: string | undefined;
    featherlessApiKey?: string | undefined;
    ioIntelligenceModelId?: string | undefined;
    ioIntelligenceApiKey?: string | undefined;
    qwenCodeOauthPath?: string | undefined;
    vercelAiGatewayApiKey?: string | undefined;
    vercelAiGatewayModelId?: string | undefined;
    mode?: string | undefined;
    customInstructions?: string | undefined;
    customModes?: {
        name: string;
        slug: string;
        roleDefinition: string;
        groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
            description?: string | undefined;
            fileRegex?: string | undefined;
        }])[];
        description?: string | undefined;
        whenToUse?: string | undefined;
        customInstructions?: string | undefined;
        source?: "global" | "project" | undefined;
    }[] | undefined;
    currentApiConfigName?: string | undefined;
    listApiConfigMeta?: {
        id: string;
        name: string;
        apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
        modelId?: string | undefined;
    }[] | undefined;
    pinnedApiConfigs?: Record<string, boolean> | undefined;
    lastShownAnnouncementId?: string | undefined;
    taskHistory?: {
        number: number;
        ts: number;
        totalCost: number;
        id: string;
        task: string;
        tokensIn: number;
        tokensOut: number;
        rootTaskId?: string | undefined;
        parentTaskId?: string | undefined;
        cacheWrites?: number | undefined;
        cacheReads?: number | undefined;
        size?: number | undefined;
        workspace?: string | undefined;
        mode?: string | undefined;
    }[] | undefined;
    dismissedUpsells?: string[] | undefined;
    openRouterImageApiKey?: string | undefined;
    openRouterImageGenerationSelectedModel?: string | undefined;
    condensingApiConfigId?: string | undefined;
    customCondensingPrompt?: string | undefined;
    autoApprovalEnabled?: boolean | undefined;
    alwaysAllowReadOnly?: boolean | undefined;
    alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
    alwaysAllowWrite?: boolean | undefined;
    alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
    alwaysAllowWriteProtected?: boolean | undefined;
    writeDelayMs?: number | undefined;
    alwaysAllowBrowser?: boolean | undefined;
    alwaysApproveResubmit?: boolean | undefined;
    requestDelaySeconds?: number | undefined;
    alwaysAllowMcp?: boolean | undefined;
    alwaysAllowModeSwitch?: boolean | undefined;
    alwaysAllowSubtasks?: boolean | undefined;
    alwaysAllowExecute?: boolean | undefined;
    alwaysAllowFollowupQuestions?: boolean | undefined;
    followupAutoApproveTimeoutMs?: number | undefined;
    alwaysAllowUpdateTodoList?: boolean | undefined;
    allowedCommands?: string[] | undefined;
    deniedCommands?: string[] | undefined;
    commandExecutionTimeout?: number | undefined;
    commandTimeoutAllowlist?: string[] | undefined;
    preventCompletionWithOpenTodos?: boolean | undefined;
    allowedMaxRequests?: number | null | undefined;
    allowedMaxCost?: number | null | undefined;
    autoCondenseContext?: boolean | undefined;
    autoCondenseContextPercent?: number | undefined;
    maxConcurrentFileReads?: number | undefined;
    includeCurrentTime?: boolean | undefined;
    includeCurrentCost?: boolean | undefined;
    maxGitStatusFiles?: number | undefined;
    includeDiagnosticMessages?: boolean | undefined;
    maxDiagnosticMessages?: number | undefined;
    browserToolEnabled?: boolean | undefined;
    browserViewportSize?: string | undefined;
    screenshotQuality?: number | undefined;
    remoteBrowserEnabled?: boolean | undefined;
    remoteBrowserHost?: string | undefined;
    cachedChromeHostUrl?: string | undefined;
    enableCheckpoints?: boolean | undefined;
    checkpointTimeout?: number | undefined;
    ttsEnabled?: boolean | undefined;
    ttsSpeed?: number | undefined;
    soundEnabled?: boolean | undefined;
    soundVolume?: number | undefined;
    maxOpenTabsContext?: number | undefined;
    maxWorkspaceFiles?: number | undefined;
    showRooIgnoredFiles?: boolean | undefined;
    maxReadFileLine?: number | undefined;
    maxImageFileSize?: number | undefined;
    maxTotalImageSize?: number | undefined;
    terminalOutputLineLimit?: number | undefined;
    terminalOutputCharacterLimit?: number | undefined;
    terminalShellIntegrationTimeout?: number | undefined;
    terminalShellIntegrationDisabled?: boolean | undefined;
    terminalCommandDelay?: number | undefined;
    terminalPowershellCounter?: boolean | undefined;
    terminalZshClearEolMark?: boolean | undefined;
    terminalZshOhMy?: boolean | undefined;
    terminalZshP10k?: boolean | undefined;
    terminalZdotdir?: boolean | undefined;
    terminalCompressProgressBar?: boolean | undefined;
    diagnosticsEnabled?: boolean | undefined;
    experiments?: {
        powerSteering?: boolean | undefined;
        multiFileApplyDiff?: boolean | undefined;
        preventFocusDisruption?: boolean | undefined;
        imageGeneration?: boolean | undefined;
        runSlashCommand?: boolean | undefined;
        nativeToolCalling?: boolean | undefined;
    } | undefined;
    codebaseIndexModels?: {
        openai?: Record<string, {
            dimension: number;
        }> | undefined;
        ollama?: Record<string, {
            dimension: number;
        }> | undefined;
        "openai-compatible"?: Record<string, {
            dimension: number;
        }> | undefined;
        gemini?: Record<string, {
            dimension: number;
        }> | undefined;
        mistral?: Record<string, {
            dimension: number;
        }> | undefined;
        "vercel-ai-gateway"?: Record<string, {
            dimension: number;
        }> | undefined;
        openrouter?: Record<string, {
            dimension: number;
        }> | undefined;
    } | undefined;
    codebaseIndexConfig?: {
        codebaseIndexEnabled?: boolean | undefined;
        codebaseIndexQdrantUrl?: string | undefined;
        codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | undefined;
        codebaseIndexEmbedderBaseUrl?: string | undefined;
        codebaseIndexEmbedderModelId?: string | undefined;
        codebaseIndexEmbedderModelDimension?: number | undefined;
        codebaseIndexSearchMinScore?: number | undefined;
        codebaseIndexSearchMaxResults?: number | undefined;
        codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
        codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
    } | undefined;
    telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
    mcpEnabled?: boolean | undefined;
    enableMcpServerCreation?: boolean | undefined;
    modeApiConfigs?: Record<string, string> | undefined;
    customModePrompts?: Record<string, {
        description?: string | undefined;
        roleDefinition?: string | undefined;
        whenToUse?: string | undefined;
        customInstructions?: string | undefined;
    } | undefined> | undefined;
    customSupportPrompts?: Record<string, string | undefined> | undefined;
    enhancementApiConfigId?: string | undefined;
    includeTaskHistoryInEnhance?: boolean | undefined;
    historyPreviewCollapsed?: boolean | undefined;
    reasoningBlockCollapsed?: boolean | undefined;
    profileThresholds?: Record<string, number> | undefined;
    hasOpenedModeSelector?: boolean | undefined;
    lastModeExportPath?: string | undefined;
    lastModeImportPath?: string | undefined;
}>;
type RooCodeSettings = GlobalSettings & ProviderSettings;
/**
 * SecretState
 */
declare const SECRET_STATE_KEYS: readonly ["apiKey", "glamaApiKey", "openRouterApiKey", "awsAccessKey", "awsApiKey", "awsSecretKey", "awsSessionToken", "openAiApiKey", "ollamaApiKey", "geminiApiKey", "openAiNativeApiKey", "cerebrasApiKey", "deepSeekApiKey", "doubaoApiKey", "moonshotApiKey", "mistralApiKey", "minimaxApiKey", "unboundApiKey", "requestyApiKey", "xaiApiKey", "groqApiKey", "chutesApiKey", "litellmApiKey", "deepInfraApiKey", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "codebaseIndexOpenAiCompatibleApiKey", "codebaseIndexGeminiApiKey", "codebaseIndexMistralApiKey", "codebaseIndexVercelAiGatewayApiKey", "codebaseIndexOpenRouterApiKey", "huggingFaceApiKey", "sambaNovaApiKey", "zaiApiKey", "fireworksApiKey", "featherlessApiKey", "ioIntelligenceApiKey", "vercelAiGatewayApiKey"];
declare const GLOBAL_SECRET_KEYS: readonly ["openRouterImageApiKey"];
type ProviderSecretKey = (typeof SECRET_STATE_KEYS)[number];
type GlobalSecretKey = (typeof GLOBAL_SECRET_KEYS)[number];
type SecretState = Pick<ProviderSettings, Extract<ProviderSecretKey, keyof ProviderSettings>> & {
    [K in GlobalSecretKey]?: string;
};
declare const isSecretStateKey: (key: string) => key is Keys<SecretState>;
/**
 * GlobalState
 */
type GlobalState = Omit<RooCodeSettings, Keys<SecretState>>;
declare const GLOBAL_STATE_KEYS: Keys<GlobalState>[];
declare const isGlobalStateKey: (key: string) => key is Keys<GlobalState>;
/**
 * Evals
 */
declare const EVALS_SETTINGS: RooCodeSettings;
declare const EVALS_TIMEOUT: number;

/**
 * IpcMessageType
 */
declare enum IpcMessageType {
    Connect = "Connect",
    Disconnect = "Disconnect",
    Ack = "Ack",
    TaskCommand = "TaskCommand",
    TaskEvent = "TaskEvent"
}
/**
 * IpcOrigin
 */
declare enum IpcOrigin {
    Client = "client",
    Server = "server"
}
/**
 * Ack
 */
declare const ackSchema: z.ZodObject<{
    clientId: z.ZodString;
    pid: z.ZodNumber;
    ppid: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    clientId: string;
    pid: number;
    ppid: number;
}, {
    clientId: string;
    pid: number;
    ppid: number;
}>;
type Ack = z.infer<typeof ackSchema>;
/**
 * TaskCommandName
 */
declare enum TaskCommandName {
    StartNewTask = "StartNewTask",
    CancelTask = "CancelTask",
    CloseTask = "CloseTask",
    ResumeTask = "ResumeTask",
    SendMessage = "SendMessage"
}
/**
 * TaskCommand
 */
declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodObject<{
    commandName: z.ZodLiteral<TaskCommandName.StartNewTask>;
    data: z.ZodObject<{
        configuration: z.ZodObject<{
            codeIndexOpenAiKey: z.ZodOptional<z.ZodString>;
            codeIndexQdrantApiKey: z.ZodOptional<z.ZodString>;
            codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
            codebaseIndexOpenAiCompatibleApiKey: z.ZodOptional<z.ZodString>;
            codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
            codebaseIndexGeminiApiKey: z.ZodOptional<z.ZodString>;
            codebaseIndexMistralApiKey: z.ZodOptional<z.ZodString>;
            codebaseIndexVercelAiGatewayApiKey: z.ZodOptional<z.ZodString>;
            codebaseIndexOpenRouterApiKey: z.ZodOptional<z.ZodString>;
            includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
            todoListEnabled: z.ZodOptional<z.ZodBoolean>;
            modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
            consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
            enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
            reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
            modelMaxTokens: z.ZodOptional<z.ZodNumber>;
            modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
            verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
            toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
            vercelAiGatewayApiKey: z.ZodOptional<z.ZodString>;
            vercelAiGatewayModelId: z.ZodOptional<z.ZodString>;
            apiModelId: z.ZodOptional<z.ZodString>;
            qwenCodeOauthPath: z.ZodOptional<z.ZodString>;
            ioIntelligenceModelId: z.ZodOptional<z.ZodString>;
            ioIntelligenceApiKey: z.ZodOptional<z.ZodString>;
            featherlessApiKey: z.ZodOptional<z.ZodString>;
            fireworksApiKey: z.ZodOptional<z.ZodString>;
            zaiApiKey: z.ZodOptional<z.ZodString>;
            zaiApiLine: z.ZodOptional<z.ZodEnum<["international_coding", "china_coding"]>>;
            sambaNovaApiKey: z.ZodOptional<z.ZodString>;
            cerebrasApiKey: z.ZodOptional<z.ZodString>;
            litellmBaseUrl: z.ZodOptional<z.ZodString>;
            litellmApiKey: z.ZodOptional<z.ZodString>;
            litellmModelId: z.ZodOptional<z.ZodString>;
            litellmUsePromptCache: z.ZodOptional<z.ZodBoolean>;
            chutesApiKey: z.ZodOptional<z.ZodString>;
            huggingFaceApiKey: z.ZodOptional<z.ZodString>;
            huggingFaceModelId: z.ZodOptional<z.ZodString>;
            huggingFaceInferenceProvider: z.ZodOptional<z.ZodString>;
            groqApiKey: z.ZodOptional<z.ZodString>;
            xaiApiKey: z.ZodOptional<z.ZodString>;
            fakeAi: z.ZodOptional<z.ZodUnknown>;
            requestyBaseUrl: z.ZodOptional<z.ZodString>;
            requestyApiKey: z.ZodOptional<z.ZodString>;
            requestyModelId: z.ZodOptional<z.ZodString>;
            unboundApiKey: z.ZodOptional<z.ZodString>;
            unboundModelId: z.ZodOptional<z.ZodString>;
            minimaxBaseUrl: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"https://api.minimax.io/v1">, z.ZodLiteral<"https://api.minimaxi.com/v1">]>>;
            minimaxApiKey: z.ZodOptional<z.ZodString>;
            moonshotBaseUrl: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"https://api.moonshot.ai/v1">, z.ZodLiteral<"https://api.moonshot.cn/v1">]>>;
            moonshotApiKey: z.ZodOptional<z.ZodString>;
            doubaoBaseUrl: z.ZodOptional<z.ZodString>;
            doubaoApiKey: z.ZodOptional<z.ZodString>;
            deepInfraBaseUrl: z.ZodOptional<z.ZodString>;
            deepInfraApiKey: z.ZodOptional<z.ZodString>;
            deepInfraModelId: z.ZodOptional<z.ZodString>;
            deepSeekBaseUrl: z.ZodOptional<z.ZodString>;
            deepSeekApiKey: z.ZodOptional<z.ZodString>;
            mistralApiKey: z.ZodOptional<z.ZodString>;
            mistralCodestralUrl: z.ZodOptional<z.ZodString>;
            openAiNativeApiKey: z.ZodOptional<z.ZodString>;
            openAiNativeBaseUrl: z.ZodOptional<z.ZodString>;
            openAiNativeServiceTier: z.ZodOptional<z.ZodEnum<["default", "flex", "priority"]>>;
            geminiCliOAuthPath: z.ZodOptional<z.ZodString>;
            geminiCliProjectId: z.ZodOptional<z.ZodString>;
            geminiApiKey: z.ZodOptional<z.ZodString>;
            googleGeminiBaseUrl: z.ZodOptional<z.ZodString>;
            enableUrlContext: z.ZodOptional<z.ZodBoolean>;
            enableGrounding: z.ZodOptional<z.ZodBoolean>;
            lmStudioModelId: z.ZodOptional<z.ZodString>;
            lmStudioBaseUrl: z.ZodOptional<z.ZodString>;
            lmStudioDraftModelId: z.ZodOptional<z.ZodString>;
            lmStudioSpeculativeDecodingEnabled: z.ZodOptional<z.ZodBoolean>;
            vsCodeLmModelSelector: z.ZodOptional<z.ZodObject<{
                vendor: z.ZodOptional<z.ZodString>;
                family: z.ZodOptional<z.ZodString>;
                version: z.ZodOptional<z.ZodString>;
                id: z.ZodOptional<z.ZodString>;
            }, "strip", z.ZodTypeAny, {
                id?: string | undefined;
                family?: string | undefined;
                version?: string | undefined;
                vendor?: string | undefined;
            }, {
                id?: string | undefined;
                family?: string | undefined;
                version?: string | undefined;
                vendor?: string | undefined;
            }>>;
            ollamaModelId: z.ZodOptional<z.ZodString>;
            ollamaBaseUrl: z.ZodOptional<z.ZodString>;
            ollamaApiKey: z.ZodOptional<z.ZodString>;
            ollamaNumCtx: z.ZodOptional<z.ZodNumber>;
            openAiBaseUrl: z.ZodOptional<z.ZodString>;
            openAiApiKey: z.ZodOptional<z.ZodString>;
            openAiLegacyFormat: z.ZodOptional<z.ZodBoolean>;
            openAiR1FormatEnabled: z.ZodOptional<z.ZodBoolean>;
            openAiModelId: z.ZodOptional<z.ZodString>;
            openAiCustomModelInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
                maxTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
                maxThinkingTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
                contextWindow: z.ZodNumber;
                supportsImages: z.ZodOptional<z.ZodBoolean>;
                supportsPromptCache: z.ZodBoolean;
                promptCacheRetention: z.ZodOptional<z.ZodEnum<["in_memory", "24h"]>>;
                supportsVerbosity: z.ZodOptional<z.ZodBoolean>;
                supportsReasoningBudget: z.ZodOptional<z.ZodBoolean>;
                supportsReasoningBinary: z.ZodOptional<z.ZodBoolean>;
                supportsTemperature: z.ZodOptional<z.ZodBoolean>;
                defaultTemperature: z.ZodOptional<z.ZodNumber>;
                requiredReasoningBudget: z.ZodOptional<z.ZodBoolean>;
                supportsReasoningEffort: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>, "many">]>>;
                requiredReasoningEffort: z.ZodOptional<z.ZodBoolean>;
                preserveReasoning: z.ZodOptional<z.ZodBoolean>;
                supportedParameters: z.ZodOptional<z.ZodArray<z.ZodEnum<["max_tokens", "temperature", "reasoning", "include_reasoning"]>, "many">>;
                inputPrice: z.ZodOptional<z.ZodNumber>;
                outputPrice: z.ZodOptional<z.ZodNumber>;
                cacheWritesPrice: z.ZodOptional<z.ZodNumber>;
                cacheReadsPrice: z.ZodOptional<z.ZodNumber>;
                description: z.ZodOptional<z.ZodString>;
                reasoningEffort: z.ZodOptional<z.ZodEnum<["none", "minimal", "low", "medium", "high"]>>;
                minTokensPerCachePoint: z.ZodOptional<z.ZodNumber>;
                maxCachePoints: z.ZodOptional<z.ZodNumber>;
                cachableFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
                deprecated: z.ZodOptional<z.ZodBoolean>;
                isFree: z.ZodOptional<z.ZodBoolean>;
                supportsNativeTools: z.ZodOptional<z.ZodBoolean>;
                defaultToolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
                tiers: z.ZodOptional<z.ZodArray<z.ZodObject<{
                    name: z.ZodOptional<z.ZodEnum<["default", "flex", "priority"]>>;
                    contextWindow: z.ZodNumber;
                    inputPrice: z.ZodOptional<z.ZodNumber>;
                    outputPrice: z.ZodOptional<z.ZodNumber>;
                    cacheWritesPrice: z.ZodOptional<z.ZodNumber>;
                    cacheReadsPrice: z.ZodOptional<z.ZodNumber>;
                }, "strip", z.ZodTypeAny, {
                    contextWindow: number;
                    name?: "default" | "flex" | "priority" | undefined;
                    inputPrice?: number | undefined;
                    outputPrice?: number | undefined;
                    cacheWritesPrice?: number | undefined;
                    cacheReadsPrice?: number | undefined;
                }, {
                    contextWindow: number;
                    name?: "default" | "flex" | "priority" | undefined;
                    inputPrice?: number | undefined;
                    outputPrice?: number | undefined;
                    cacheWritesPrice?: number | undefined;
                    cacheReadsPrice?: number | undefined;
                }>, "many">>;
            }, "strip", z.ZodTypeAny, {
                contextWindow: number;
                supportsPromptCache: boolean;
                maxTokens?: number | null | undefined;
                maxThinkingTokens?: number | null | undefined;
                supportsImages?: boolean | undefined;
                promptCacheRetention?: "in_memory" | "24h" | undefined;
                supportsVerbosity?: boolean | undefined;
                supportsReasoningBudget?: boolean | undefined;
                supportsReasoningBinary?: boolean | undefined;
                supportsTemperature?: boolean | undefined;
                defaultTemperature?: number | undefined;
                requiredReasoningBudget?: boolean | undefined;
                supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
                requiredReasoningEffort?: boolean | undefined;
                preserveReasoning?: boolean | undefined;
                supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
                inputPrice?: number | undefined;
                outputPrice?: number | undefined;
                cacheWritesPrice?: number | undefined;
                cacheReadsPrice?: number | undefined;
                description?: string | undefined;
                reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
                minTokensPerCachePoint?: number | undefined;
                maxCachePoints?: number | undefined;
                cachableFields?: string[] | undefined;
                deprecated?: boolean | undefined;
                isFree?: boolean | undefined;
                supportsNativeTools?: boolean | undefined;
                defaultToolProtocol?: "xml" | "native" | undefined;
                tiers?: {
                    contextWindow: number;
                    name?: "default" | "flex" | "priority" | undefined;
                    inputPrice?: number | undefined;
                    outputPrice?: number | undefined;
                    cacheWritesPrice?: number | undefined;
                    cacheReadsPrice?: number | undefined;
                }[] | undefined;
            }, {
                contextWindow: number;
                supportsPromptCache: boolean;
                maxTokens?: number | null | undefined;
                maxThinkingTokens?: number | null | undefined;
                supportsImages?: boolean | undefined;
                promptCacheRetention?: "in_memory" | "24h" | undefined;
                supportsVerbosity?: boolean | undefined;
                supportsReasoningBudget?: boolean | undefined;
                supportsReasoningBinary?: boolean | undefined;
                supportsTemperature?: boolean | undefined;
                defaultTemperature?: number | undefined;
                requiredReasoningBudget?: boolean | undefined;
                supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
                requiredReasoningEffort?: boolean | undefined;
                preserveReasoning?: boolean | undefined;
                supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
                inputPrice?: number | undefined;
                outputPrice?: number | undefined;
                cacheWritesPrice?: number | undefined;
                cacheReadsPrice?: number | undefined;
                description?: string | undefined;
                reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
                minTokensPerCachePoint?: number | undefined;
                maxCachePoints?: number | undefined;
                cachableFields?: string[] | undefined;
                deprecated?: boolean | undefined;
                isFree?: boolean | undefined;
                supportsNativeTools?: boolean | undefined;
                defaultToolProtocol?: "xml" | "native" | undefined;
                tiers?: {
                    contextWindow: number;
                    name?: "default" | "flex" | "priority" | undefined;
                    inputPrice?: number | undefined;
                    outputPrice?: number | undefined;
                    cacheWritesPrice?: number | undefined;
                    cacheReadsPrice?: number | undefined;
                }[] | undefined;
            }>>>;
            openAiUseAzure: z.ZodOptional<z.ZodBoolean>;
            azureApiVersion: z.ZodOptional<z.ZodString>;
            openAiStreamingEnabled: z.ZodOptional<z.ZodBoolean>;
            openAiHostHeader: z.ZodOptional<z.ZodString>;
            openAiHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
            vertexKeyFile: z.ZodOptional<z.ZodString>;
            vertexJsonCredentials: z.ZodOptional<z.ZodString>;
            vertexProjectId: z.ZodOptional<z.ZodString>;
            vertexRegion: z.ZodOptional<z.ZodString>;
            awsAccessKey: z.ZodOptional<z.ZodString>;
            awsSecretKey: z.ZodOptional<z.ZodString>;
            awsSessionToken: z.ZodOptional<z.ZodString>;
            awsRegion: z.ZodOptional<z.ZodString>;
            awsUseCrossRegionInference: z.ZodOptional<z.ZodBoolean>;
            awsUseGlobalInference: z.ZodOptional<z.ZodBoolean>;
            awsUsePromptCache: z.ZodOptional<z.ZodBoolean>;
            awsProfile: z.ZodOptional<z.ZodString>;
            awsUseProfile: z.ZodOptional<z.ZodBoolean>;
            awsApiKey: z.ZodOptional<z.ZodString>;
            awsUseApiKey: z.ZodOptional<z.ZodBoolean>;
            awsCustomArn: z.ZodOptional<z.ZodString>;
            awsModelContextWindow: z.ZodOptional<z.ZodNumber>;
            awsBedrockEndpointEnabled: z.ZodOptional<z.ZodBoolean>;
            awsBedrockEndpoint: z.ZodOptional<z.ZodString>;
            awsBedrock1MContext: z.ZodOptional<z.ZodBoolean>;
            openRouterApiKey: z.ZodOptional<z.ZodString>;
            openRouterModelId: z.ZodOptional<z.ZodString>;
            openRouterBaseUrl: z.ZodOptional<z.ZodString>;
            openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
            openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
            glamaModelId: z.ZodOptional<z.ZodString>;
            glamaApiKey: z.ZodOptional<z.ZodString>;
            claudeCodePath: z.ZodOptional<z.ZodString>;
            claudeCodeMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
            apiKey: z.ZodOptional<z.ZodString>;
            anthropicBaseUrl: z.ZodOptional<z.ZodString>;
            anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
            anthropicBeta1MContext: z.ZodOptional<z.ZodBoolean>;
            apiProvider: z.ZodOptional<z.ZodEnum<["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "roo", "chutes", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "minimax", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"]>>;
        } & {
            currentApiConfigName: z.ZodOptional<z.ZodString>;
            listApiConfigMeta: z.ZodOptional<z.ZodArray<z.ZodObject<{
                id: z.ZodString;
                name: z.ZodString;
                apiProvider: z.ZodOptional<z.ZodEnum<["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "roo", "chutes", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "minimax", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"]>>;
                modelId: z.ZodOptional<z.ZodString>;
            }, "strip", z.ZodTypeAny, {
                id: string;
                name: string;
                apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
                modelId?: string | undefined;
            }, {
                id: string;
                name: string;
                apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
                modelId?: string | undefined;
            }>, "many">>;
            pinnedApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
            lastShownAnnouncementId: z.ZodOptional<z.ZodString>;
            customInstructions: z.ZodOptional<z.ZodString>;
            taskHistory: z.ZodOptional<z.ZodArray<z.ZodObject<{
                id: z.ZodString;
                rootTaskId: z.ZodOptional<z.ZodString>;
                parentTaskId: z.ZodOptional<z.ZodString>;
                number: z.ZodNumber;
                ts: z.ZodNumber;
                task: z.ZodString;
                tokensIn: z.ZodNumber;
                tokensOut: z.ZodNumber;
                cacheWrites: z.ZodOptional<z.ZodNumber>;
                cacheReads: z.ZodOptional<z.ZodNumber>;
                totalCost: z.ZodNumber;
                size: z.ZodOptional<z.ZodNumber>;
                workspace: z.ZodOptional<z.ZodString>;
                mode: z.ZodOptional<z.ZodString>;
            }, "strip", z.ZodTypeAny, {
                number: number;
                ts: number;
                totalCost: number;
                id: string;
                task: string;
                tokensIn: number;
                tokensOut: number;
                rootTaskId?: string | undefined;
                parentTaskId?: string | undefined;
                cacheWrites?: number | undefined;
                cacheReads?: number | undefined;
                size?: number | undefined;
                workspace?: string | undefined;
                mode?: string | undefined;
            }, {
                number: number;
                ts: number;
                totalCost: number;
                id: string;
                task: string;
                tokensIn: number;
                tokensOut: number;
                rootTaskId?: string | undefined;
                parentTaskId?: string | undefined;
                cacheWrites?: number | undefined;
                cacheReads?: number | undefined;
                size?: number | undefined;
                workspace?: string | undefined;
                mode?: string | undefined;
            }>, "many">>;
            dismissedUpsells: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            openRouterImageApiKey: z.ZodOptional<z.ZodString>;
            openRouterImageGenerationSelectedModel: z.ZodOptional<z.ZodString>;
            condensingApiConfigId: z.ZodOptional<z.ZodString>;
            customCondensingPrompt: z.ZodOptional<z.ZodString>;
            autoApprovalEnabled: z.ZodOptional<z.ZodBoolean>;
            alwaysAllowReadOnly: z.ZodOptional<z.ZodBoolean>;
            alwaysAllowReadOnlyOutsideWorkspace: z.ZodOptional<z.ZodBoolean>;
            alwaysAllowWrite: z.ZodOptional<z.ZodBoolean>;
            alwaysAllowWriteOutsideWorkspace: z.ZodOptional<z.ZodBoolean>;
            alwaysAllowWriteProtected: z.ZodOptional<z.ZodBoolean>;
            writeDelayMs: z.ZodOptional<z.ZodNumber>;
            alwaysAllowBrowser: z.ZodOptional<z.ZodBoolean>;
            alwaysApproveResubmit: z.ZodOptional<z.ZodBoolean>;
            requestDelaySeconds: z.ZodOptional<z.ZodNumber>;
            alwaysAllowMcp: z.ZodOptional<z.ZodBoolean>;
            alwaysAllowModeSwitch: z.ZodOptional<z.ZodBoolean>;
            alwaysAllowSubtasks: z.ZodOptional<z.ZodBoolean>;
            alwaysAllowExecute: z.ZodOptional<z.ZodBoolean>;
            alwaysAllowFollowupQuestions: z.ZodOptional<z.ZodBoolean>;
            followupAutoApproveTimeoutMs: z.ZodOptional<z.ZodNumber>;
            alwaysAllowUpdateTodoList: z.ZodOptional<z.ZodBoolean>;
            allowedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            deniedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            commandExecutionTimeout: z.ZodOptional<z.ZodNumber>;
            commandTimeoutAllowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            preventCompletionWithOpenTodos: z.ZodOptional<z.ZodBoolean>;
            allowedMaxRequests: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
            allowedMaxCost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
            autoCondenseContext: z.ZodOptional<z.ZodBoolean>;
            autoCondenseContextPercent: z.ZodOptional<z.ZodNumber>;
            maxConcurrentFileReads: z.ZodOptional<z.ZodNumber>;
            includeCurrentTime: z.ZodOptional<z.ZodBoolean>;
            includeCurrentCost: z.ZodOptional<z.ZodBoolean>;
            maxGitStatusFiles: z.ZodOptional<z.ZodNumber>;
            includeDiagnosticMessages: z.ZodOptional<z.ZodBoolean>;
            maxDiagnosticMessages: z.ZodOptional<z.ZodNumber>;
            browserToolEnabled: z.ZodOptional<z.ZodBoolean>;
            browserViewportSize: z.ZodOptional<z.ZodString>;
            screenshotQuality: z.ZodOptional<z.ZodNumber>;
            remoteBrowserEnabled: z.ZodOptional<z.ZodBoolean>;
            remoteBrowserHost: z.ZodOptional<z.ZodString>;
            cachedChromeHostUrl: z.ZodOptional<z.ZodString>;
            enableCheckpoints: z.ZodOptional<z.ZodBoolean>;
            checkpointTimeout: z.ZodOptional<z.ZodNumber>;
            ttsEnabled: z.ZodOptional<z.ZodBoolean>;
            ttsSpeed: z.ZodOptional<z.ZodNumber>;
            soundEnabled: z.ZodOptional<z.ZodBoolean>;
            soundVolume: z.ZodOptional<z.ZodNumber>;
            maxOpenTabsContext: z.ZodOptional<z.ZodNumber>;
            maxWorkspaceFiles: z.ZodOptional<z.ZodNumber>;
            showRooIgnoredFiles: z.ZodOptional<z.ZodBoolean>;
            maxReadFileLine: z.ZodOptional<z.ZodNumber>;
            maxImageFileSize: z.ZodOptional<z.ZodNumber>;
            maxTotalImageSize: z.ZodOptional<z.ZodNumber>;
            terminalOutputLineLimit: z.ZodOptional<z.ZodNumber>;
            terminalOutputCharacterLimit: z.ZodOptional<z.ZodNumber>;
            terminalShellIntegrationTimeout: z.ZodOptional<z.ZodNumber>;
            terminalShellIntegrationDisabled: z.ZodOptional<z.ZodBoolean>;
            terminalCommandDelay: z.ZodOptional<z.ZodNumber>;
            terminalPowershellCounter: z.ZodOptional<z.ZodBoolean>;
            terminalZshClearEolMark: z.ZodOptional<z.ZodBoolean>;
            terminalZshOhMy: z.ZodOptional<z.ZodBoolean>;
            terminalZshP10k: z.ZodOptional<z.ZodBoolean>;
            terminalZdotdir: z.ZodOptional<z.ZodBoolean>;
            terminalCompressProgressBar: z.ZodOptional<z.ZodBoolean>;
            diagnosticsEnabled: z.ZodOptional<z.ZodBoolean>;
            rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
            diffEnabled: z.ZodOptional<z.ZodBoolean>;
            fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
            experiments: z.ZodOptional<z.ZodObject<{
                powerSteering: z.ZodOptional<z.ZodBoolean>;
                multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
                preventFocusDisruption: z.ZodOptional<z.ZodBoolean>;
                imageGeneration: z.ZodOptional<z.ZodBoolean>;
                runSlashCommand: z.ZodOptional<z.ZodBoolean>;
                nativeToolCalling: z.ZodOptional<z.ZodBoolean>;
            }, "strip", z.ZodTypeAny, {
                powerSteering?: boolean | undefined;
                multiFileApplyDiff?: boolean | undefined;
                preventFocusDisruption?: boolean | undefined;
                imageGeneration?: boolean | undefined;
                runSlashCommand?: boolean | undefined;
                nativeToolCalling?: boolean | undefined;
            }, {
                powerSteering?: boolean | undefined;
                multiFileApplyDiff?: boolean | undefined;
                preventFocusDisruption?: boolean | undefined;
                imageGeneration?: boolean | undefined;
                runSlashCommand?: boolean | undefined;
                nativeToolCalling?: boolean | undefined;
            }>>;
            codebaseIndexModels: z.ZodOptional<z.ZodObject<{
                openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
                    dimension: z.ZodNumber;
                }, "strip", z.ZodTypeAny, {
                    dimension: number;
                }, {
                    dimension: number;
                }>>>;
                ollama: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
                    dimension: z.ZodNumber;
                }, "strip", z.ZodTypeAny, {
                    dimension: number;
                }, {
                    dimension: number;
                }>>>;
                "openai-compatible": z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
                    dimension: z.ZodNumber;
                }, "strip", z.ZodTypeAny, {
                    dimension: number;
                }, {
                    dimension: number;
                }>>>;
                gemini: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
                    dimension: z.ZodNumber;
                }, "strip", z.ZodTypeAny, {
                    dimension: number;
                }, {
                    dimension: number;
                }>>>;
                mistral: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
                    dimension: z.ZodNumber;
                }, "strip", z.ZodTypeAny, {
                    dimension: number;
                }, {
                    dimension: number;
                }>>>;
                "vercel-ai-gateway": z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
                    dimension: z.ZodNumber;
                }, "strip", z.ZodTypeAny, {
                    dimension: number;
                }, {
                    dimension: number;
                }>>>;
                openrouter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
                    dimension: z.ZodNumber;
                }, "strip", z.ZodTypeAny, {
                    dimension: number;
                }, {
                    dimension: number;
                }>>>;
            }, "strip", z.ZodTypeAny, {
                openai?: Record<string, {
                    dimension: number;
                }> | undefined;
                ollama?: Record<string, {
                    dimension: number;
                }> | undefined;
                "openai-compatible"?: Record<string, {
                    dimension: number;
                }> | undefined;
                gemini?: Record<string, {
                    dimension: number;
                }> | undefined;
                mistral?: Record<string, {
                    dimension: number;
                }> | undefined;
                "vercel-ai-gateway"?: Record<string, {
                    dimension: number;
                }> | undefined;
                openrouter?: Record<string, {
                    dimension: number;
                }> | undefined;
            }, {
                openai?: Record<string, {
                    dimension: number;
                }> | undefined;
                ollama?: Record<string, {
                    dimension: number;
                }> | undefined;
                "openai-compatible"?: Record<string, {
                    dimension: number;
                }> | undefined;
                gemini?: Record<string, {
                    dimension: number;
                }> | undefined;
                mistral?: Record<string, {
                    dimension: number;
                }> | undefined;
                "vercel-ai-gateway"?: Record<string, {
                    dimension: number;
                }> | undefined;
                openrouter?: Record<string, {
                    dimension: number;
                }> | undefined;
            }>>;
            codebaseIndexConfig: z.ZodOptional<z.ZodObject<{
                codebaseIndexEnabled: z.ZodOptional<z.ZodBoolean>;
                codebaseIndexQdrantUrl: z.ZodOptional<z.ZodString>;
                codebaseIndexEmbedderProvider: z.ZodOptional<z.ZodEnum<["openai", "ollama", "openai-compatible", "gemini", "mistral", "vercel-ai-gateway", "openrouter"]>>;
                codebaseIndexEmbedderBaseUrl: z.ZodOptional<z.ZodString>;
                codebaseIndexEmbedderModelId: z.ZodOptional<z.ZodString>;
                codebaseIndexEmbedderModelDimension: z.ZodOptional<z.ZodNumber>;
                codebaseIndexSearchMinScore: z.ZodOptional<z.ZodNumber>;
                codebaseIndexSearchMaxResults: z.ZodOptional<z.ZodNumber>;
                codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
                codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
            }, "strip", z.ZodTypeAny, {
                codebaseIndexEnabled?: boolean | undefined;
                codebaseIndexQdrantUrl?: string | undefined;
                codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | undefined;
                codebaseIndexEmbedderBaseUrl?: string | undefined;
                codebaseIndexEmbedderModelId?: string | undefined;
                codebaseIndexEmbedderModelDimension?: number | undefined;
                codebaseIndexSearchMinScore?: number | undefined;
                codebaseIndexSearchMaxResults?: number | undefined;
                codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
                codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
            }, {
                codebaseIndexEnabled?: boolean | undefined;
                codebaseIndexQdrantUrl?: string | undefined;
                codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | undefined;
                codebaseIndexEmbedderBaseUrl?: string | undefined;
                codebaseIndexEmbedderModelId?: string | undefined;
                codebaseIndexEmbedderModelDimension?: number | undefined;
                codebaseIndexSearchMinScore?: number | undefined;
                codebaseIndexSearchMaxResults?: number | undefined;
                codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
                codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
            }>>;
            language: z.ZodOptional<z.ZodEnum<["ca", "de", "en", "es", "fr", "hi", "id", "it", "ja", "ko", "nl", "pl", "pt-BR", "ru", "tr", "vi", "zh-CN", "zh-TW"]>>;
            telemetrySetting: z.ZodOptional<z.ZodEnum<["unset", "enabled", "disabled"]>>;
            mcpEnabled: z.ZodOptional<z.ZodBoolean>;
            enableMcpServerCreation: z.ZodOptional<z.ZodBoolean>;
            mode: z.ZodOptional<z.ZodString>;
            modeApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
            customModes: z.ZodOptional<z.ZodArray<z.ZodObject<{
                slug: z.ZodString;
                name: z.ZodString;
                roleDefinition: z.ZodString;
                whenToUse: z.ZodOptional<z.ZodString>;
                description: z.ZodOptional<z.ZodString>;
                customInstructions: z.ZodOptional<z.ZodString>;
                groups: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodTuple<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodObject<{
                    fileRegex: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
                    description: z.ZodOptional<z.ZodString>;
                }, "strip", z.ZodTypeAny, {
                    description?: string | undefined;
                    fileRegex?: string | undefined;
                }, {
                    description?: string | undefined;
                    fileRegex?: string | undefined;
                }>], null>]>, "many">, ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
                    description?: string | undefined;
                    fileRegex?: string | undefined;
                }])[], ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
                    description?: string | undefined;
                    fileRegex?: string | undefined;
                }])[]>;
                source: z.ZodOptional<z.ZodEnum<["global", "project"]>>;
            }, "strip", z.ZodTypeAny, {
                name: string;
                slug: string;
                roleDefinition: string;
                groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
                    description?: string | undefined;
                    fileRegex?: string | undefined;
                }])[];
                description?: string | undefined;
                whenToUse?: string | undefined;
                customInstructions?: string | undefined;
                source?: "global" | "project" | undefined;
            }, {
                name: string;
                slug: string;
                roleDefinition: string;
                groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
                    description?: string | undefined;
                    fileRegex?: string | undefined;
                }])[];
                description?: string | undefined;
                whenToUse?: string | undefined;
                customInstructions?: string | undefined;
                source?: "global" | "project" | undefined;
            }>, "many">>;
            customModePrompts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodObject<{
                roleDefinition: z.ZodOptional<z.ZodString>;
                whenToUse: z.ZodOptional<z.ZodString>;
                description: z.ZodOptional<z.ZodString>;
                customInstructions: z.ZodOptional<z.ZodString>;
            }, "strip", z.ZodTypeAny, {
                description?: string | undefined;
                roleDefinition?: string | undefined;
                whenToUse?: string | undefined;
                customInstructions?: string | undefined;
            }, {
                description?: string | undefined;
                roleDefinition?: string | undefined;
                whenToUse?: string | undefined;
                customInstructions?: string | undefined;
            }>>>>;
            customSupportPrompts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
            enhancementApiConfigId: z.ZodOptional<z.ZodString>;
            includeTaskHistoryInEnhance: z.ZodOptional<z.ZodBoolean>;
            historyPreviewCollapsed: z.ZodOptional<z.ZodBoolean>;
            reasoningBlockCollapsed: z.ZodOptional<z.ZodBoolean>;
            profileThresholds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
            hasOpenedModeSelector: z.ZodOptional<z.ZodBoolean>;
            lastModeExportPath: z.ZodOptional<z.ZodString>;
            lastModeImportPath: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
            codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
            codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
            codeIndexOpenAiKey?: string | undefined;
            codeIndexQdrantApiKey?: string | undefined;
            codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
            codebaseIndexGeminiApiKey?: string | undefined;
            codebaseIndexMistralApiKey?: string | undefined;
            codebaseIndexVercelAiGatewayApiKey?: string | undefined;
            codebaseIndexOpenRouterApiKey?: string | undefined;
            language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
            apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
            includeMaxTokens?: boolean | undefined;
            diffEnabled?: boolean | undefined;
            todoListEnabled?: boolean | undefined;
            fuzzyMatchThreshold?: number | undefined;
            modelTemperature?: number | null | undefined;
            rateLimitSeconds?: number | undefined;
            consecutiveMistakeLimit?: number | undefined;
            enableReasoningEffort?: boolean | undefined;
            modelMaxTokens?: number | undefined;
            modelMaxThinkingTokens?: number | undefined;
            verbosity?: "low" | "medium" | "high" | undefined;
            toolProtocol?: "xml" | "native" | undefined;
            apiModelId?: string | undefined;
            apiKey?: string | undefined;
            anthropicBaseUrl?: string | undefined;
            anthropicUseAuthToken?: boolean | undefined;
            anthropicBeta1MContext?: boolean | undefined;
            claudeCodePath?: string | undefined;
            claudeCodeMaxOutputTokens?: number | undefined;
            glamaModelId?: string | undefined;
            glamaApiKey?: string | undefined;
            openRouterApiKey?: string | undefined;
            openRouterModelId?: string | undefined;
            openRouterBaseUrl?: string | undefined;
            openRouterSpecificProvider?: string | undefined;
            openRouterUseMiddleOutTransform?: boolean | undefined;
            awsAccessKey?: string | undefined;
            awsSecretKey?: string | undefined;
            awsSessionToken?: string | undefined;
            awsRegion?: string | undefined;
            awsUseCrossRegionInference?: boolean | undefined;
            awsUseGlobalInference?: boolean | undefined;
            awsUsePromptCache?: boolean | undefined;
            awsProfile?: string | undefined;
            awsUseProfile?: boolean | undefined;
            awsApiKey?: string | undefined;
            awsUseApiKey?: boolean | undefined;
            awsCustomArn?: string | undefined;
            awsModelContextWindow?: number | undefined;
            awsBedrockEndpointEnabled?: boolean | undefined;
            awsBedrockEndpoint?: string | undefined;
            awsBedrock1MContext?: boolean | undefined;
            vertexKeyFile?: string | undefined;
            vertexJsonCredentials?: string | undefined;
            vertexProjectId?: string | undefined;
            vertexRegion?: string | undefined;
            enableUrlContext?: boolean | undefined;
            enableGrounding?: boolean | undefined;
            openAiBaseUrl?: string | undefined;
            openAiApiKey?: string | undefined;
            openAiLegacyFormat?: boolean | undefined;
            openAiR1FormatEnabled?: boolean | undefined;
            openAiModelId?: string | undefined;
            openAiCustomModelInfo?: {
                contextWindow: number;
                supportsPromptCache: boolean;
                maxTokens?: number | null | undefined;
                maxThinkingTokens?: number | null | undefined;
                supportsImages?: boolean | undefined;
                promptCacheRetention?: "in_memory" | "24h" | undefined;
                supportsVerbosity?: boolean | undefined;
                supportsReasoningBudget?: boolean | undefined;
                supportsReasoningBinary?: boolean | undefined;
                supportsTemperature?: boolean | undefined;
                defaultTemperature?: number | undefined;
                requiredReasoningBudget?: boolean | undefined;
                supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
                requiredReasoningEffort?: boolean | undefined;
                preserveReasoning?: boolean | undefined;
                supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
                inputPrice?: number | undefined;
                outputPrice?: number | undefined;
                cacheWritesPrice?: number | undefined;
                cacheReadsPrice?: number | undefined;
                description?: string | undefined;
                reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
                minTokensPerCachePoint?: number | undefined;
                maxCachePoints?: number | undefined;
                cachableFields?: string[] | undefined;
                deprecated?: boolean | undefined;
                isFree?: boolean | undefined;
                supportsNativeTools?: boolean | undefined;
                defaultToolProtocol?: "xml" | "native" | undefined;
                tiers?: {
                    contextWindow: number;
                    name?: "default" | "flex" | "priority" | undefined;
                    inputPrice?: number | undefined;
                    outputPrice?: number | undefined;
                    cacheWritesPrice?: number | undefined;
                    cacheReadsPrice?: number | undefined;
                }[] | undefined;
            } | null | undefined;
            openAiUseAzure?: boolean | undefined;
            azureApiVersion?: string | undefined;
            openAiStreamingEnabled?: boolean | undefined;
            openAiHostHeader?: string | undefined;
            openAiHeaders?: Record<string, string> | undefined;
            ollamaModelId?: string | undefined;
            ollamaBaseUrl?: string | undefined;
            ollamaApiKey?: string | undefined;
            ollamaNumCtx?: number | undefined;
            vsCodeLmModelSelector?: {
                id?: string | undefined;
                family?: string | undefined;
                version?: string | undefined;
                vendor?: string | undefined;
            } | undefined;
            lmStudioModelId?: string | undefined;
            lmStudioBaseUrl?: string | undefined;
            lmStudioDraftModelId?: string | undefined;
            lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
            geminiApiKey?: string | undefined;
            googleGeminiBaseUrl?: string | undefined;
            geminiCliOAuthPath?: string | undefined;
            geminiCliProjectId?: string | undefined;
            openAiNativeApiKey?: string | undefined;
            openAiNativeBaseUrl?: string | undefined;
            openAiNativeServiceTier?: "default" | "flex" | "priority" | undefined;
            mistralApiKey?: string | undefined;
            mistralCodestralUrl?: string | undefined;
            deepSeekBaseUrl?: string | undefined;
            deepSeekApiKey?: string | undefined;
            deepInfraBaseUrl?: string | undefined;
            deepInfraApiKey?: string | undefined;
            deepInfraModelId?: string | undefined;
            doubaoBaseUrl?: string | undefined;
            doubaoApiKey?: string | undefined;
            moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined;
            moonshotApiKey?: string | undefined;
            minimaxBaseUrl?: "https://api.minimax.io/v1" | "https://api.minimaxi.com/v1" | undefined;
            minimaxApiKey?: string | undefined;
            unboundApiKey?: string | undefined;
            unboundModelId?: string | undefined;
            requestyBaseUrl?: string | undefined;
            requestyApiKey?: string | undefined;
            requestyModelId?: string | undefined;
            fakeAi?: unknown;
            xaiApiKey?: string | undefined;
            groqApiKey?: string | undefined;
            huggingFaceApiKey?: string | undefined;
            huggingFaceModelId?: string | undefined;
            huggingFaceInferenceProvider?: string | undefined;
            chutesApiKey?: string | undefined;
            litellmBaseUrl?: string | undefined;
            litellmApiKey?: string | undefined;
            litellmModelId?: string | undefined;
            litellmUsePromptCache?: boolean | undefined;
            cerebrasApiKey?: string | undefined;
            sambaNovaApiKey?: string | undefined;
            zaiApiKey?: string | undefined;
            zaiApiLine?: "international_coding" | "china_coding" | undefined;
            fireworksApiKey?: string | undefined;
            featherlessApiKey?: string | undefined;
            ioIntelligenceModelId?: string | undefined;
            ioIntelligenceApiKey?: string | undefined;
            qwenCodeOauthPath?: string | undefined;
            vercelAiGatewayApiKey?: string | undefined;
            vercelAiGatewayModelId?: string | undefined;
            mode?: string | undefined;
            customInstructions?: string | undefined;
            customModes?: {
                name: string;
                slug: string;
                roleDefinition: string;
                groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
                    description?: string | undefined;
                    fileRegex?: string | undefined;
                }])[];
                description?: string | undefined;
                whenToUse?: string | undefined;
                customInstructions?: string | undefined;
                source?: "global" | "project" | undefined;
            }[] | undefined;
            currentApiConfigName?: string | undefined;
            listApiConfigMeta?: {
                id: string;
                name: string;
                apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
                modelId?: string | undefined;
            }[] | undefined;
            pinnedApiConfigs?: Record<string, boolean> | undefined;
            lastShownAnnouncementId?: string | undefined;
            taskHistory?: {
                number: number;
                ts: number;
                totalCost: number;
                id: string;
                task: string;
                tokensIn: number;
                tokensOut: number;
                rootTaskId?: string | undefined;
                parentTaskId?: string | undefined;
                cacheWrites?: number | undefined;
                cacheReads?: number | undefined;
                size?: number | undefined;
                workspace?: string | undefined;
                mode?: string | undefined;
            }[] | undefined;
            dismissedUpsells?: string[] | undefined;
            openRouterImageApiKey?: string | undefined;
            openRouterImageGenerationSelectedModel?: string | undefined;
            condensingApiConfigId?: string | undefined;
            customCondensingPrompt?: string | undefined;
            autoApprovalEnabled?: boolean | undefined;
            alwaysAllowReadOnly?: boolean | undefined;
            alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
            alwaysAllowWrite?: boolean | undefined;
            alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
            alwaysAllowWriteProtected?: boolean | undefined;
            writeDelayMs?: number | undefined;
            alwaysAllowBrowser?: boolean | undefined;
            alwaysApproveResubmit?: boolean | undefined;
            requestDelaySeconds?: number | undefined;
            alwaysAllowMcp?: boolean | undefined;
            alwaysAllowModeSwitch?: boolean | undefined;
            alwaysAllowSubtasks?: boolean | undefined;
            alwaysAllowExecute?: boolean | undefined;
            alwaysAllowFollowupQuestions?: boolean | undefined;
            followupAutoApproveTimeoutMs?: number | undefined;
            alwaysAllowUpdateTodoList?: boolean | undefined;
            allowedCommands?: string[] | undefined;
            deniedCommands?: string[] | undefined;
            commandExecutionTimeout?: number | undefined;
            commandTimeoutAllowlist?: string[] | undefined;
            preventCompletionWithOpenTodos?: boolean | undefined;
            allowedMaxRequests?: number | null | undefined;
            allowedMaxCost?: number | null | undefined;
            autoCondenseContext?: boolean | undefined;
            autoCondenseContextPercent?: number | undefined;
            maxConcurrentFileReads?: number | undefined;
            includeCurrentTime?: boolean | undefined;
            includeCurrentCost?: boolean | undefined;
            maxGitStatusFiles?: number | undefined;
            includeDiagnosticMessages?: boolean | undefined;
            maxDiagnosticMessages?: number | undefined;
            browserToolEnabled?: boolean | undefined;
            browserViewportSize?: string | undefined;
            screenshotQuality?: number | undefined;
            remoteBrowserEnabled?: boolean | undefined;
            remoteBrowserHost?: string | undefined;
            cachedChromeHostUrl?: string | undefined;
            enableCheckpoints?: boolean | undefined;
            checkpointTimeout?: number | undefined;
            ttsEnabled?: boolean | undefined;
            ttsSpeed?: number | undefined;
            soundEnabled?: boolean | undefined;
            soundVolume?: number | undefined;
            maxOpenTabsContext?: number | undefined;
            maxWorkspaceFiles?: number | undefined;
            showRooIgnoredFiles?: boolean | undefined;
            maxReadFileLine?: number | undefined;
            maxImageFileSize?: number | undefined;
            maxTotalImageSize?: number | undefined;
            terminalOutputLineLimit?: number | undefined;
            terminalOutputCharacterLimit?: number | undefined;
            terminalShellIntegrationTimeout?: number | undefined;
            terminalShellIntegrationDisabled?: boolean | undefined;
            terminalCommandDelay?: number | undefined;
            terminalPowershellCounter?: boolean | undefined;
            terminalZshClearEolMark?: boolean | undefined;
            terminalZshOhMy?: boolean | undefined;
            terminalZshP10k?: boolean | undefined;
            terminalZdotdir?: boolean | undefined;
            terminalCompressProgressBar?: boolean | undefined;
            diagnosticsEnabled?: boolean | undefined;
            experiments?: {
                powerSteering?: boolean | undefined;
                multiFileApplyDiff?: boolean | undefined;
                preventFocusDisruption?: boolean | undefined;
                imageGeneration?: boolean | undefined;
                runSlashCommand?: boolean | undefined;
                nativeToolCalling?: boolean | undefined;
            } | undefined;
            codebaseIndexModels?: {
                openai?: Record<string, {
                    dimension: number;
                }> | undefined;
                ollama?: Record<string, {
                    dimension: number;
                }> | undefined;
                "openai-compatible"?: Record<string, {
                    dimension: number;
                }> | undefined;
                gemini?: Record<string, {
                    dimension: number;
                }> | undefined;
                mistral?: Record<string, {
                    dimension: number;
                }> | undefined;
                "vercel-ai-gateway"?: Record<string, {
                    dimension: number;
                }> | undefined;
                openrouter?: Record<string, {
                    dimension: number;
                }> | undefined;
            } | undefined;
            codebaseIndexConfig?: {
                codebaseIndexEnabled?: boolean | undefined;
                codebaseIndexQdrantUrl?: string | undefined;
                codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | undefined;
                codebaseIndexEmbedderBaseUrl?: string | undefined;
                codebaseIndexEmbedderModelId?: string | undefined;
                codebaseIndexEmbedderModelDimension?: number | undefined;
                codebaseIndexSearchMinScore?: number | undefined;
                codebaseIndexSearchMaxResults?: number | undefined;
                codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
                codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
            } | undefined;
            telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
            mcpEnabled?: boolean | undefined;
            enableMcpServerCreation?: boolean | undefined;
            modeApiConfigs?: Record<string, string> | undefined;
            customModePrompts?: Record<string, {
                description?: string | undefined;
                roleDefinition?: string | undefined;
                whenToUse?: string | undefined;
                customInstructions?: string | undefined;
            } | undefined> | undefined;
            customSupportPrompts?: Record<string, string | undefined> | undefined;
            enhancementApiConfigId?: string | undefined;
            includeTaskHistoryInEnhance?: boolean | undefined;
            historyPreviewCollapsed?: boolean | undefined;
            reasoningBlockCollapsed?: boolean | undefined;
            profileThresholds?: Record<string, number> | undefined;
            hasOpenedModeSelector?: boolean | undefined;
            lastModeExportPath?: string | undefined;
            lastModeImportPath?: string | undefined;
        }, {
            reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
            codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
            codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
            codeIndexOpenAiKey?: string | undefined;
            codeIndexQdrantApiKey?: string | undefined;
            codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
            codebaseIndexGeminiApiKey?: string | undefined;
            codebaseIndexMistralApiKey?: string | undefined;
            codebaseIndexVercelAiGatewayApiKey?: string | undefined;
            codebaseIndexOpenRouterApiKey?: string | undefined;
            language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
            apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
            includeMaxTokens?: boolean | undefined;
            diffEnabled?: boolean | undefined;
            todoListEnabled?: boolean | undefined;
            fuzzyMatchThreshold?: number | undefined;
            modelTemperature?: number | null | undefined;
            rateLimitSeconds?: number | undefined;
            consecutiveMistakeLimit?: number | undefined;
            enableReasoningEffort?: boolean | undefined;
            modelMaxTokens?: number | undefined;
            modelMaxThinkingTokens?: number | undefined;
            verbosity?: "low" | "medium" | "high" | undefined;
            toolProtocol?: "xml" | "native" | undefined;
            apiModelId?: string | undefined;
            apiKey?: string | undefined;
            anthropicBaseUrl?: string | undefined;
            anthropicUseAuthToken?: boolean | undefined;
            anthropicBeta1MContext?: boolean | undefined;
            claudeCodePath?: string | undefined;
            claudeCodeMaxOutputTokens?: number | undefined;
            glamaModelId?: string | undefined;
            glamaApiKey?: string | undefined;
            openRouterApiKey?: string | undefined;
            openRouterModelId?: string | undefined;
            openRouterBaseUrl?: string | undefined;
            openRouterSpecificProvider?: string | undefined;
            openRouterUseMiddleOutTransform?: boolean | undefined;
            awsAccessKey?: string | undefined;
            awsSecretKey?: string | undefined;
            awsSessionToken?: string | undefined;
            awsRegion?: string | undefined;
            awsUseCrossRegionInference?: boolean | undefined;
            awsUseGlobalInference?: boolean | undefined;
            awsUsePromptCache?: boolean | undefined;
            awsProfile?: string | undefined;
            awsUseProfile?: boolean | undefined;
            awsApiKey?: string | undefined;
            awsUseApiKey?: boolean | undefined;
            awsCustomArn?: string | undefined;
            awsModelContextWindow?: number | undefined;
            awsBedrockEndpointEnabled?: boolean | undefined;
            awsBedrockEndpoint?: string | undefined;
            awsBedrock1MContext?: boolean | undefined;
            vertexKeyFile?: string | undefined;
            vertexJsonCredentials?: string | undefined;
            vertexProjectId?: string | undefined;
            vertexRegion?: string | undefined;
            enableUrlContext?: boolean | undefined;
            enableGrounding?: boolean | undefined;
            openAiBaseUrl?: string | undefined;
            openAiApiKey?: string | undefined;
            openAiLegacyFormat?: boolean | undefined;
            openAiR1FormatEnabled?: boolean | undefined;
            openAiModelId?: string | undefined;
            openAiCustomModelInfo?: {
                contextWindow: number;
                supportsPromptCache: boolean;
                maxTokens?: number | null | undefined;
                maxThinkingTokens?: number | null | undefined;
                supportsImages?: boolean | undefined;
                promptCacheRetention?: "in_memory" | "24h" | undefined;
                supportsVerbosity?: boolean | undefined;
                supportsReasoningBudget?: boolean | undefined;
                supportsReasoningBinary?: boolean | undefined;
                supportsTemperature?: boolean | undefined;
                defaultTemperature?: number | undefined;
                requiredReasoningBudget?: boolean | undefined;
                supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
                requiredReasoningEffort?: boolean | undefined;
                preserveReasoning?: boolean | undefined;
                supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
                inputPrice?: number | undefined;
                outputPrice?: number | undefined;
                cacheWritesPrice?: number | undefined;
                cacheReadsPrice?: number | undefined;
                description?: string | undefined;
                reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
                minTokensPerCachePoint?: number | undefined;
                maxCachePoints?: number | undefined;
                cachableFields?: string[] | undefined;
                deprecated?: boolean | undefined;
                isFree?: boolean | undefined;
                supportsNativeTools?: boolean | undefined;
                defaultToolProtocol?: "xml" | "native" | undefined;
                tiers?: {
                    contextWindow: number;
                    name?: "default" | "flex" | "priority" | undefined;
                    inputPrice?: number | undefined;
                    outputPrice?: number | undefined;
                    cacheWritesPrice?: number | undefined;
                    cacheReadsPrice?: number | undefined;
                }[] | undefined;
            } | null | undefined;
            openAiUseAzure?: boolean | undefined;
            azureApiVersion?: string | undefined;
            openAiStreamingEnabled?: boolean | undefined;
            openAiHostHeader?: string | undefined;
            openAiHeaders?: Record<string, string> | undefined;
            ollamaModelId?: string | undefined;
            ollamaBaseUrl?: string | undefined;
            ollamaApiKey?: string | undefined;
            ollamaNumCtx?: number | undefined;
            vsCodeLmModelSelector?: {
                id?: string | undefined;
                family?: string | undefined;
                version?: string | undefined;
                vendor?: string | undefined;
            } | undefined;
            lmStudioModelId?: string | undefined;
            lmStudioBaseUrl?: string | undefined;
            lmStudioDraftModelId?: string | undefined;
            lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
            geminiApiKey?: string | undefined;
            googleGeminiBaseUrl?: string | undefined;
            geminiCliOAuthPath?: string | undefined;
            geminiCliProjectId?: string | undefined;
            openAiNativeApiKey?: string | undefined;
            openAiNativeBaseUrl?: string | undefined;
            openAiNativeServiceTier?: "default" | "flex" | "priority" | undefined;
            mistralApiKey?: string | undefined;
            mistralCodestralUrl?: string | undefined;
            deepSeekBaseUrl?: string | undefined;
            deepSeekApiKey?: string | undefined;
            deepInfraBaseUrl?: string | undefined;
            deepInfraApiKey?: string | undefined;
            deepInfraModelId?: string | undefined;
            doubaoBaseUrl?: string | undefined;
            doubaoApiKey?: string | undefined;
            moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined;
            moonshotApiKey?: string | undefined;
            minimaxBaseUrl?: "https://api.minimax.io/v1" | "https://api.minimaxi.com/v1" | undefined;
            minimaxApiKey?: string | undefined;
            unboundApiKey?: string | undefined;
            unboundModelId?: string | undefined;
            requestyBaseUrl?: string | undefined;
            requestyApiKey?: string | undefined;
            requestyModelId?: string | undefined;
            fakeAi?: unknown;
            xaiApiKey?: string | undefined;
            groqApiKey?: string | undefined;
            huggingFaceApiKey?: string | undefined;
            huggingFaceModelId?: string | undefined;
            huggingFaceInferenceProvider?: string | undefined;
            chutesApiKey?: string | undefined;
            litellmBaseUrl?: string | undefined;
            litellmApiKey?: string | undefined;
            litellmModelId?: string | undefined;
            litellmUsePromptCache?: boolean | undefined;
            cerebrasApiKey?: string | undefined;
            sambaNovaApiKey?: string | undefined;
            zaiApiKey?: string | undefined;
            zaiApiLine?: "international_coding" | "china_coding" | undefined;
            fireworksApiKey?: string | undefined;
            featherlessApiKey?: string | undefined;
            ioIntelligenceModelId?: string | undefined;
            ioIntelligenceApiKey?: string | undefined;
            qwenCodeOauthPath?: string | undefined;
            vercelAiGatewayApiKey?: string | undefined;
            vercelAiGatewayModelId?: string | undefined;
            mode?: string | undefined;
            customInstructions?: string | undefined;
            customModes?: {
                name: string;
                slug: string;
                roleDefinition: string;
                groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
                    description?: string | undefined;
                    fileRegex?: string | undefined;
                }])[];
                description?: string | undefined;
                whenToUse?: string | undefined;
                customInstructions?: string | undefined;
                source?: "global" | "project" | undefined;
            }[] | undefined;
            currentApiConfigName?: string | undefined;
            listApiConfigMeta?: {
                id: string;
                name: string;
                apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
                modelId?: string | undefined;
            }[] | undefined;
            pinnedApiConfigs?: Record<string, boolean> | undefined;
            lastShownAnnouncementId?: string | undefined;
            taskHistory?: {
                number: number;
                ts: number;
                totalCost: number;
                id: string;
                task: string;
                tokensIn: number;
                tokensOut: number;
                rootTaskId?: string | undefined;
                parentTaskId?: string | undefined;
                cacheWrites?: number | undefined;
                cacheReads?: number | undefined;
                size?: number | undefined;
                workspace?: string | undefined;
                mode?: string | undefined;
            }[] | undefined;
            dismissedUpsells?: string[] | undefined;
            openRouterImageApiKey?: string | undefined;
            openRouterImageGenerationSelectedModel?: string | undefined;
            condensingApiConfigId?: string | undefined;
            customCondensingPrompt?: string | undefined;
            autoApprovalEnabled?: boolean | undefined;
            alwaysAllowReadOnly?: boolean | undefined;
            alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
            alwaysAllowWrite?: boolean | undefined;
            alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
            alwaysAllowWriteProtected?: boolean | undefined;
            writeDelayMs?: number | undefined;
            alwaysAllowBrowser?: boolean | undefined;
            alwaysApproveResubmit?: boolean | undefined;
            requestDelaySeconds?: number | undefined;
            alwaysAllowMcp?: boolean | undefined;
            alwaysAllowModeSwitch?: boolean | undefined;
            alwaysAllowSubtasks?: boolean | undefined;
            alwaysAllowExecute?: boolean | undefined;
            alwaysAllowFollowupQuestions?: boolean | undefined;
            followupAutoApproveTimeoutMs?: number | undefined;
            alwaysAllowUpdateTodoList?: boolean | undefined;
            allowedCommands?: string[] | undefined;
            deniedCommands?: string[] | undefined;
            commandExecutionTimeout?: number | undefined;
            commandTimeoutAllowlist?: string[] | undefined;
            preventCompletionWithOpenTodos?: boolean | undefined;
            allowedMaxRequests?: number | null | undefined;
            allowedMaxCost?: number | null | undefined;
            autoCondenseContext?: boolean | undefined;
            autoCondenseContextPercent?: number | undefined;
            maxConcurrentFileReads?: number | undefined;
            includeCurrentTime?: boolean | undefined;
            includeCurrentCost?: boolean | undefined;
            maxGitStatusFiles?: number | undefined;
            includeDiagnosticMessages?: boolean | undefined;
            maxDiagnosticMessages?: number | undefined;
            browserToolEnabled?: boolean | undefined;
            browserViewportSize?: string | undefined;
            screenshotQuality?: number | undefined;
            remoteBrowserEnabled?: boolean | undefined;
            remoteBrowserHost?: string | undefined;
            cachedChromeHostUrl?: string | undefined;
            enableCheckpoints?: boolean | undefined;
            checkpointTimeout?: number | undefined;
            ttsEnabled?: boolean | undefined;
            ttsSpeed?: number | undefined;
            soundEnabled?: boolean | undefined;
            soundVolume?: number | undefined;
            maxOpenTabsContext?: number | undefined;
            maxWorkspaceFiles?: number | undefined;
            showRooIgnoredFiles?: boolean | undefined;
            maxReadFileLine?: number | undefined;
            maxImageFileSize?: number | undefined;
            maxTotalImageSize?: number | undefined;
            terminalOutputLineLimit?: number | undefined;
            terminalOutputCharacterLimit?: number | undefined;
            terminalShellIntegrationTimeout?: number | undefined;
            terminalShellIntegrationDisabled?: boolean | undefined;
            terminalCommandDelay?: number | undefined;
            terminalPowershellCounter?: boolean | undefined;
            terminalZshClearEolMark?: boolean | undefined;
            terminalZshOhMy?: boolean | undefined;
            terminalZshP10k?: boolean | undefined;
            terminalZdotdir?: boolean | undefined;
            terminalCompressProgressBar?: boolean | undefined;
            diagnosticsEnabled?: boolean | undefined;
            experiments?: {
                powerSteering?: boolean | undefined;
                multiFileApplyDiff?: boolean | undefined;
                preventFocusDisruption?: boolean | undefined;
                imageGeneration?: boolean | undefined;
                runSlashCommand?: boolean | undefined;
                nativeToolCalling?: boolean | undefined;
            } | undefined;
            codebaseIndexModels?: {
                openai?: Record<string, {
                    dimension: number;
                }> | undefined;
                ollama?: Record<string, {
                    dimension: number;
                }> | undefined;
                "openai-compatible"?: Record<string, {
                    dimension: number;
                }> | undefined;
                gemini?: Record<string, {
                    dimension: number;
                }> | undefined;
                mistral?: Record<string, {
                    dimension: number;
                }> | undefined;
                "vercel-ai-gateway"?: Record<string, {
                    dimension: number;
                }> | undefined;
                openrouter?: Record<string, {
                    dimension: number;
                }> | undefined;
            } | undefined;
            codebaseIndexConfig?: {
                codebaseIndexEnabled?: boolean | undefined;
                codebaseIndexQdrantUrl?: string | undefined;
                codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | undefined;
                codebaseIndexEmbedderBaseUrl?: string | undefined;
                codebaseIndexEmbedderModelId?: string | undefined;
                codebaseIndexEmbedderModelDimension?: number | undefined;
                codebaseIndexSearchMinScore?: number | undefined;
                codebaseIndexSearchMaxResults?: number | undefined;
                codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
                codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
            } | undefined;
            telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
            mcpEnabled?: boolean | undefined;
            enableMcpServerCreation?: boolean | undefined;
            modeApiConfigs?: Record<string, string> | undefined;
            customModePrompts?: Record<string, {
                description?: string | undefined;
                roleDefinition?: string | undefined;
                whenToUse?: string | undefined;
                customInstructions?: string | undefined;
            } | undefined> | undefined;
            customSupportPrompts?: Record<string, string | undefined> | undefined;
            enhancementApiConfigId?: string | undefined;
            includeTaskHistoryInEnhance?: boolean | undefined;
            historyPreviewCollapsed?: boolean | undefined;
            reasoningBlockCollapsed?: boolean | undefined;
            profileThresholds?: Record<string, number> | undefined;
            hasOpenedModeSelector?: boolean | undefined;
            lastModeExportPath?: string | undefined;
            lastModeImportPath?: string | undefined;
        }>;
        text: z.ZodString;
        images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        newTab: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        text: string;
        configuration: {
            reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
            codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
            codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
            codeIndexOpenAiKey?: string | undefined;
            codeIndexQdrantApiKey?: string | undefined;
            codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
            codebaseIndexGeminiApiKey?: string | undefined;
            codebaseIndexMistralApiKey?: string | undefined;
            codebaseIndexVercelAiGatewayApiKey?: string | undefined;
            codebaseIndexOpenRouterApiKey?: string | undefined;
            language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
            apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
            includeMaxTokens?: boolean | undefined;
            diffEnabled?: boolean | undefined;
            todoListEnabled?: boolean | undefined;
            fuzzyMatchThreshold?: number | undefined;
            modelTemperature?: number | null | undefined;
            rateLimitSeconds?: number | undefined;
            consecutiveMistakeLimit?: number | undefined;
            enableReasoningEffort?: boolean | undefined;
            modelMaxTokens?: number | undefined;
            modelMaxThinkingTokens?: number | undefined;
            verbosity?: "low" | "medium" | "high" | undefined;
            toolProtocol?: "xml" | "native" | undefined;
            apiModelId?: string | undefined;
            apiKey?: string | undefined;
            anthropicBaseUrl?: string | undefined;
            anthropicUseAuthToken?: boolean | undefined;
            anthropicBeta1MContext?: boolean | undefined;
            claudeCodePath?: string | undefined;
            claudeCodeMaxOutputTokens?: number | undefined;
            glamaModelId?: string | undefined;
            glamaApiKey?: string | undefined;
            openRouterApiKey?: string | undefined;
            openRouterModelId?: string | undefined;
            openRouterBaseUrl?: string | undefined;
            openRouterSpecificProvider?: string | undefined;
            openRouterUseMiddleOutTransform?: boolean | undefined;
            awsAccessKey?: string | undefined;
            awsSecretKey?: string | undefined;
            awsSessionToken?: string | undefined;
            awsRegion?: string | undefined;
            awsUseCrossRegionInference?: boolean | undefined;
            awsUseGlobalInference?: boolean | undefined;
            awsUsePromptCache?: boolean | undefined;
            awsProfile?: string | undefined;
            awsUseProfile?: boolean | undefined;
            awsApiKey?: string | undefined;
            awsUseApiKey?: boolean | undefined;
            awsCustomArn?: string | undefined;
            awsModelContextWindow?: number | undefined;
            awsBedrockEndpointEnabled?: boolean | undefined;
            awsBedrockEndpoint?: string | undefined;
            awsBedrock1MContext?: boolean | undefined;
            vertexKeyFile?: string | undefined;
            vertexJsonCredentials?: string | undefined;
            vertexProjectId?: string | undefined;
            vertexRegion?: string | undefined;
            enableUrlContext?: boolean | undefined;
            enableGrounding?: boolean | undefined;
            openAiBaseUrl?: string | undefined;
            openAiApiKey?: string | undefined;
            openAiLegacyFormat?: boolean | undefined;
            openAiR1FormatEnabled?: boolean | undefined;
            openAiModelId?: string | undefined;
            openAiCustomModelInfo?: {
                contextWindow: number;
                supportsPromptCache: boolean;
                maxTokens?: number | null | undefined;
                maxThinkingTokens?: number | null | undefined;
                supportsImages?: boolean | undefined;
                promptCacheRetention?: "in_memory" | "24h" | undefined;
                supportsVerbosity?: boolean | undefined;
                supportsReasoningBudget?: boolean | undefined;
                supportsReasoningBinary?: boolean | undefined;
                supportsTemperature?: boolean | undefined;
                defaultTemperature?: number | undefined;
                requiredReasoningBudget?: boolean | undefined;
                supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
                requiredReasoningEffort?: boolean | undefined;
                preserveReasoning?: boolean | undefined;
                supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
                inputPrice?: number | undefined;
                outputPrice?: number | undefined;
                cacheWritesPrice?: number | undefined;
                cacheReadsPrice?: number | undefined;
                description?: string | undefined;
                reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
                minTokensPerCachePoint?: number | undefined;
                maxCachePoints?: number | undefined;
                cachableFields?: string[] | undefined;
                deprecated?: boolean | undefined;
                isFree?: boolean | undefined;
                supportsNativeTools?: boolean | undefined;
                defaultToolProtocol?: "xml" | "native" | undefined;
                tiers?: {
                    contextWindow: number;
                    name?: "default" | "flex" | "priority" | undefined;
                    inputPrice?: number | undefined;
                    outputPrice?: number | undefined;
                    cacheWritesPrice?: number | undefined;
                    cacheReadsPrice?: number | undefined;
                }[] | undefined;
            } | null | undefined;
            openAiUseAzure?: boolean | undefined;
            azureApiVersion?: string | undefined;
            openAiStreamingEnabled?: boolean | undefined;
            openAiHostHeader?: string | undefined;
            openAiHeaders?: Record<string, string> | undefined;
            ollamaModelId?: string | undefined;
            ollamaBaseUrl?: string | undefined;
            ollamaApiKey?: string | undefined;
            ollamaNumCtx?: number | undefined;
            vsCodeLmModelSelector?: {
                id?: string | undefined;
                family?: string | undefined;
                version?: string | undefined;
                vendor?: string | undefined;
            } | undefined;
            lmStudioModelId?: string | undefined;
            lmStudioBaseUrl?: string | undefined;
            lmStudioDraftModelId?: string | undefined;
            lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
            geminiApiKey?: string | undefined;
            googleGeminiBaseUrl?: string | undefined;
            geminiCliOAuthPath?: string | undefined;
            geminiCliProjectId?: string | undefined;
            openAiNativeApiKey?: string | undefined;
            openAiNativeBaseUrl?: string | undefined;
            openAiNativeServiceTier?: "default" | "flex" | "priority" | undefined;
            mistralApiKey?: string | undefined;
            mistralCodestralUrl?: string | undefined;
            deepSeekBaseUrl?: string | undefined;
            deepSeekApiKey?: string | undefined;
            deepInfraBaseUrl?: string | undefined;
            deepInfraApiKey?: string | undefined;
            deepInfraModelId?: string | undefined;
            doubaoBaseUrl?: string | undefined;
            doubaoApiKey?: string | undefined;
            moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined;
            moonshotApiKey?: string | undefined;
            minimaxBaseUrl?: "https://api.minimax.io/v1" | "https://api.minimaxi.com/v1" | undefined;
            minimaxApiKey?: string | undefined;
            unboundApiKey?: string | undefined;
            unboundModelId?: string | undefined;
            requestyBaseUrl?: string | undefined;
            requestyApiKey?: string | undefined;
            requestyModelId?: string | undefined;
            fakeAi?: unknown;
            xaiApiKey?: string | undefined;
            groqApiKey?: string | undefined;
            huggingFaceApiKey?: string | undefined;
            huggingFaceModelId?: string | undefined;
            huggingFaceInferenceProvider?: string | undefined;
            chutesApiKey?: string | undefined;
            litellmBaseUrl?: string | undefined;
            litellmApiKey?: string | undefined;
            litellmModelId?: string | undefined;
            litellmUsePromptCache?: boolean | undefined;
            cerebrasApiKey?: string | undefined;
            sambaNovaApiKey?: string | undefined;
            zaiApiKey?: string | undefined;
            zaiApiLine?: "international_coding" | "china_coding" | undefined;
            fireworksApiKey?: string | undefined;
            featherlessApiKey?: string | undefined;
            ioIntelligenceModelId?: string | undefined;
            ioIntelligenceApiKey?: string | undefined;
            qwenCodeOauthPath?: string | undefined;
            vercelAiGatewayApiKey?: string | undefined;
            vercelAiGatewayModelId?: string | undefined;
            mode?: string | undefined;
            customInstructions?: string | undefined;
            customModes?: {
                name: string;
                slug: string;
                roleDefinition: string;
                groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
                    description?: string | undefined;
                    fileRegex?: string | undefined;
                }])[];
                description?: string | undefined;
                whenToUse?: string | undefined;
                customInstructions?: string | undefined;
                source?: "global" | "project" | undefined;
            }[] | undefined;
            currentApiConfigName?: string | undefined;
            listApiConfigMeta?: {
                id: string;
                name: string;
                apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
                modelId?: string | undefined;
            }[] | undefined;
            pinnedApiConfigs?: Record<string, boolean> | undefined;
            lastShownAnnouncementId?: string | undefined;
            taskHistory?: {
                number: number;
                ts: number;
                totalCost: number;
                id: string;
                task: string;
                tokensIn: number;
                tokensOut: number;
                rootTaskId?: string | undefined;
                parentTaskId?: string | undefined;
                cacheWrites?: number | undefined;
                cacheReads?: number | undefined;
                size?: number | undefined;
                workspace?: string | undefined;
                mode?: string | undefined;
            }[] | undefined;
            dismissedUpsells?: string[] | undefined;
            openRouterImageApiKey?: string | undefined;
            openRouterImageGenerationSelectedModel?: string | undefined;
            condensingApiConfigId?: string | undefined;
            customCondensingPrompt?: string | undefined;
            autoApprovalEnabled?: boolean | undefined;
            alwaysAllowReadOnly?: boolean | undefined;
            alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
            alwaysAllowWrite?: boolean | undefined;
            alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
            alwaysAllowWriteProtected?: boolean | undefined;
            writeDelayMs?: number | undefined;
            alwaysAllowBrowser?: boolean | undefined;
            alwaysApproveResubmit?: boolean | undefined;
            requestDelaySeconds?: number | undefined;
            alwaysAllowMcp?: boolean | undefined;
            alwaysAllowModeSwitch?: boolean | undefined;
            alwaysAllowSubtasks?: boolean | undefined;
            alwaysAllowExecute?: boolean | undefined;
            alwaysAllowFollowupQuestions?: boolean | undefined;
            followupAutoApproveTimeoutMs?: number | undefined;
            alwaysAllowUpdateTodoList?: boolean | undefined;
            allowedCommands?: string[] | undefined;
            deniedCommands?: string[] | undefined;
            commandExecutionTimeout?: number | undefined;
            commandTimeoutAllowlist?: string[] | undefined;
            preventCompletionWithOpenTodos?: boolean | undefined;
            allowedMaxRequests?: number | null | undefined;
            allowedMaxCost?: number | null | undefined;
            autoCondenseContext?: boolean | undefined;
            autoCondenseContextPercent?: number | undefined;
            maxConcurrentFileReads?: number | undefined;
            includeCurrentTime?: boolean | undefined;
            includeCurrentCost?: boolean | undefined;
            maxGitStatusFiles?: number | undefined;
            includeDiagnosticMessages?: boolean | undefined;
            maxDiagnosticMessages?: number | undefined;
            browserToolEnabled?: boolean | undefined;
            browserViewportSize?: string | undefined;
            screenshotQuality?: number | undefined;
            remoteBrowserEnabled?: boolean | undefined;
            remoteBrowserHost?: string | undefined;
            cachedChromeHostUrl?: string | undefined;
            enableCheckpoints?: boolean | undefined;
            checkpointTimeout?: number | undefined;
            ttsEnabled?: boolean | undefined;
            ttsSpeed?: number | undefined;
            soundEnabled?: boolean | undefined;
            soundVolume?: number | undefined;
            maxOpenTabsContext?: number | undefined;
            maxWorkspaceFiles?: number | undefined;
            showRooIgnoredFiles?: boolean | undefined;
            maxReadFileLine?: number | undefined;
            maxImageFileSize?: number | undefined;
            maxTotalImageSize?: number | undefined;
            terminalOutputLineLimit?: number | undefined;
            terminalOutputCharacterLimit?: number | undefined;
            terminalShellIntegrationTimeout?: number | undefined;
            terminalShellIntegrationDisabled?: boolean | undefined;
            terminalCommandDelay?: number | undefined;
            terminalPowershellCounter?: boolean | undefined;
            terminalZshClearEolMark?: boolean | undefined;
            terminalZshOhMy?: boolean | undefined;
            terminalZshP10k?: boolean | undefined;
            terminalZdotdir?: boolean | undefined;
            terminalCompressProgressBar?: boolean | undefined;
            diagnosticsEnabled?: boolean | undefined;
            experiments?: {
                powerSteering?: boolean | undefined;
                multiFileApplyDiff?: boolean | undefined;
                preventFocusDisruption?: boolean | undefined;
                imageGeneration?: boolean | undefined;
                runSlashCommand?: boolean | undefined;
                nativeToolCalling?: boolean | undefined;
            } | undefined;
            codebaseIndexModels?: {
                openai?: Record<string, {
                    dimension: number;
                }> | undefined;
                ollama?: Record<string, {
                    dimension: number;
                }> | undefined;
                "openai-compatible"?: Record<string, {
                    dimension: number;
                }> | undefined;
                gemini?: Record<string, {
                    dimension: number;
                }> | undefined;
                mistral?: Record<string, {
                    dimension: number;
                }> | undefined;
                "vercel-ai-gateway"?: Record<string, {
                    dimension: number;
                }> | undefined;
                openrouter?: Record<string, {
                    dimension: number;
                }> | undefined;
            } | undefined;
            codebaseIndexConfig?: {
                codebaseIndexEnabled?: boolean | undefined;
                codebaseIndexQdrantUrl?: string | undefined;
                codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | undefined;
                codebaseIndexEmbedderBaseUrl?: string | undefined;
                codebaseIndexEmbedderModelId?: string | undefined;
                codebaseIndexEmbedderModelDimension?: number | undefined;
                codebaseIndexSearchMinScore?: number | undefined;
                codebaseIndexSearchMaxResults?: number | undefined;
                codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
                codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
            } | undefined;
            telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
            mcpEnabled?: boolean | undefined;
            enableMcpServerCreation?: boolean | undefined;
            modeApiConfigs?: Record<string, string> | undefined;
            customModePrompts?: Record<string, {
                description?: string | undefined;
                roleDefinition?: string | undefined;
                whenToUse?: string | undefined;
                customInstructions?: string | undefined;
            } | undefined> | undefined;
            customSupportPrompts?: Record<string, string | undefined> | undefined;
            enhancementApiConfigId?: string | undefined;
            includeTaskHistoryInEnhance?: boolean | undefined;
            historyPreviewCollapsed?: boolean | undefined;
            reasoningBlockCollapsed?: boolean | undefined;
            profileThresholds?: Record<string, number> | undefined;
            hasOpenedModeSelector?: boolean | undefined;
            lastModeExportPath?: string | undefined;
            lastModeImportPath?: string | undefined;
        };
        images?: string[] | undefined;
        newTab?: boolean | undefined;
    }, {
        text: string;
        configuration: {
            reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
            codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
            codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
            codeIndexOpenAiKey?: string | undefined;
            codeIndexQdrantApiKey?: string | undefined;
            codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
            codebaseIndexGeminiApiKey?: string | undefined;
            codebaseIndexMistralApiKey?: string | undefined;
            codebaseIndexVercelAiGatewayApiKey?: string | undefined;
            codebaseIndexOpenRouterApiKey?: string | undefined;
            language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
            apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
            includeMaxTokens?: boolean | undefined;
            diffEnabled?: boolean | undefined;
            todoListEnabled?: boolean | undefined;
            fuzzyMatchThreshold?: number | undefined;
            modelTemperature?: number | null | undefined;
            rateLimitSeconds?: number | undefined;
            consecutiveMistakeLimit?: number | undefined;
            enableReasoningEffort?: boolean | undefined;
            modelMaxTokens?: number | undefined;
            modelMaxThinkingTokens?: number | undefined;
            verbosity?: "low" | "medium" | "high" | undefined;
            toolProtocol?: "xml" | "native" | undefined;
            apiModelId?: string | undefined;
            apiKey?: string | undefined;
            anthropicBaseUrl?: string | undefined;
            anthropicUseAuthToken?: boolean | undefined;
            anthropicBeta1MContext?: boolean | undefined;
            claudeCodePath?: string | undefined;
            claudeCodeMaxOutputTokens?: number | undefined;
            glamaModelId?: string | undefined;
            glamaApiKey?: string | undefined;
            openRouterApiKey?: string | undefined;
            openRouterModelId?: string | undefined;
            openRouterBaseUrl?: string | undefined;
            openRouterSpecificProvider?: string | undefined;
            openRouterUseMiddleOutTransform?: boolean | undefined;
            awsAccessKey?: string | undefined;
            awsSecretKey?: string | undefined;
            awsSessionToken?: string | undefined;
            awsRegion?: string | undefined;
            awsUseCrossRegionInference?: boolean | undefined;
            awsUseGlobalInference?: boolean | undefined;
            awsUsePromptCache?: boolean | undefined;
            awsProfile?: string | undefined;
            awsUseProfile?: boolean | undefined;
            awsApiKey?: string | undefined;
            awsUseApiKey?: boolean | undefined;
            awsCustomArn?: string | undefined;
            awsModelContextWindow?: number | undefined;
            awsBedrockEndpointEnabled?: boolean | undefined;
            awsBedrockEndpoint?: string | undefined;
            awsBedrock1MContext?: boolean | undefined;
            vertexKeyFile?: string | undefined;
            vertexJsonCredentials?: string | undefined;
            vertexProjectId?: string | undefined;
            vertexRegion?: string | undefined;
            enableUrlContext?: boolean | undefined;
            enableGrounding?: boolean | undefined;
            openAiBaseUrl?: string | undefined;
            openAiApiKey?: string | undefined;
            openAiLegacyFormat?: boolean | undefined;
            openAiR1FormatEnabled?: boolean | undefined;
            openAiModelId?: string | undefined;
            openAiCustomModelInfo?: {
                contextWindow: number;
                supportsPromptCache: boolean;
                maxTokens?: number | null | undefined;
                maxThinkingTokens?: number | null | undefined;
                supportsImages?: boolean | undefined;
                promptCacheRetention?: "in_memory" | "24h" | undefined;
                supportsVerbosity?: boolean | undefined;
                supportsReasoningBudget?: boolean | undefined;
                supportsReasoningBinary?: boolean | undefined;
                supportsTemperature?: boolean | undefined;
                defaultTemperature?: number | undefined;
                requiredReasoningBudget?: boolean | undefined;
                supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
                requiredReasoningEffort?: boolean | undefined;
                preserveReasoning?: boolean | undefined;
                supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
                inputPrice?: number | undefined;
                outputPrice?: number | undefined;
                cacheWritesPrice?: number | undefined;
                cacheReadsPrice?: number | undefined;
                description?: string | undefined;
                reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
                minTokensPerCachePoint?: number | undefined;
                maxCachePoints?: number | undefined;
                cachableFields?: string[] | undefined;
                deprecated?: boolean | undefined;
                isFree?: boolean | undefined;
                supportsNativeTools?: boolean | undefined;
                defaultToolProtocol?: "xml" | "native" | undefined;
                tiers?: {
                    contextWindow: number;
                    name?: "default" | "flex" | "priority" | undefined;
                    inputPrice?: number | undefined;
                    outputPrice?: number | undefined;
                    cacheWritesPrice?: number | undefined;
                    cacheReadsPrice?: number | undefined;
                }[] | undefined;
            } | null | undefined;
            openAiUseAzure?: boolean | undefined;
            azureApiVersion?: string | undefined;
            openAiStreamingEnabled?: boolean | undefined;
            openAiHostHeader?: string | undefined;
            openAiHeaders?: Record<string, string> | undefined;
            ollamaModelId?: string | undefined;
            ollamaBaseUrl?: string | undefined;
            ollamaApiKey?: string | undefined;
            ollamaNumCtx?: number | undefined;
            vsCodeLmModelSelector?: {
                id?: string | undefined;
                family?: string | undefined;
                version?: string | undefined;
                vendor?: string | undefined;
            } | undefined;
            lmStudioModelId?: string | undefined;
            lmStudioBaseUrl?: string | undefined;
            lmStudioDraftModelId?: string | undefined;
            lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
            geminiApiKey?: string | undefined;
            googleGeminiBaseUrl?: string | undefined;
            geminiCliOAuthPath?: string | undefined;
            geminiCliProjectId?: string | undefined;
            openAiNativeApiKey?: string | undefined;
            openAiNativeBaseUrl?: string | undefined;
            openAiNativeServiceTier?: "default" | "flex" | "priority" | undefined;
            mistralApiKey?: string | undefined;
            mistralCodestralUrl?: string | undefined;
            deepSeekBaseUrl?: string | undefined;
            deepSeekApiKey?: string | undefined;
            deepInfraBaseUrl?: string | undefined;
            deepInfraApiKey?: string | undefined;
            deepInfraModelId?: string | undefined;
            doubaoBaseUrl?: string | undefined;
            doubaoApiKey?: string | undefined;
            moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined;
            moonshotApiKey?: string | undefined;
            minimaxBaseUrl?: "https://api.minimax.io/v1" | "https://api.minimaxi.com/v1" | undefined;
            minimaxApiKey?: string | undefined;
            unboundApiKey?: string | undefined;
            unboundModelId?: string | undefined;
            requestyBaseUrl?: string | undefined;
            requestyApiKey?: string | undefined;
            requestyModelId?: string | undefined;
            fakeAi?: unknown;
            xaiApiKey?: string | undefined;
            groqApiKey?: string | undefined;
            huggingFaceApiKey?: string | undefined;
            huggingFaceModelId?: string | undefined;
            huggingFaceInferenceProvider?: string | undefined;
            chutesApiKey?: string | undefined;
            litellmBaseUrl?: string | undefined;
            litellmApiKey?: string | undefined;
            litellmModelId?: string | undefined;
            litellmUsePromptCache?: boolean | undefined;
            cerebrasApiKey?: string | undefined;
            sambaNovaApiKey?: string | undefined;
            zaiApiKey?: string | undefined;
            zaiApiLine?: "international_coding" | "china_coding" | undefined;
            fireworksApiKey?: string | undefined;
            featherlessApiKey?: string | undefined;
            ioIntelligenceModelId?: string | undefined;
            ioIntelligenceApiKey?: string | undefined;
            qwenCodeOauthPath?: string | undefined;
            vercelAiGatewayApiKey?: string | undefined;
            vercelAiGatewayModelId?: string | undefined;
            mode?: string | undefined;
            customInstructions?: string | undefined;
            customModes?: {
                name: string;
                slug: string;
                roleDefinition: string;
                groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
                    description?: string | undefined;
                    fileRegex?: string | undefined;
                }])[];
                description?: string | undefined;
                whenToUse?: string | undefined;
                customInstructions?: string | undefined;
                source?: "global" | "project" | undefined;
            }[] | undefined;
            currentApiConfigName?: string | undefined;
            listApiConfigMeta?: {
                id: string;
                name: string;
                apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
                modelId?: string | undefined;
            }[] | undefined;
            pinnedApiConfigs?: Record<string, boolean> | undefined;
            lastShownAnnouncementId?: string | undefined;
            taskHistory?: {
                number: number;
                ts: number;
                totalCost: number;
                id: string;
                task: string;
                tokensIn: number;
                tokensOut: number;
                rootTaskId?: string | undefined;
                parentTaskId?: string | undefined;
                cacheWrites?: number | undefined;
                cacheReads?: number | undefined;
                size?: number | undefined;
                workspace?: string | undefined;
                mode?: string | undefined;
            }[] | undefined;
            dismissedUpsells?: string[] | undefined;
            openRouterImageApiKey?: string | undefined;
            openRouterImageGenerationSelectedModel?: string | undefined;
            condensingApiConfigId?: string | undefined;
            customCondensingPrompt?: string | undefined;
            autoApprovalEnabled?: boolean | undefined;
            alwaysAllowReadOnly?: boolean | undefined;
            alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
            alwaysAllowWrite?: boolean | undefined;
            alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
            alwaysAllowWriteProtected?: boolean | undefined;
            writeDelayMs?: number | undefined;
            alwaysAllowBrowser?: boolean | undefined;
            alwaysApproveResubmit?: boolean | undefined;
            requestDelaySeconds?: number | undefined;
            alwaysAllowMcp?: boolean | undefined;
            alwaysAllowModeSwitch?: boolean | undefined;
            alwaysAllowSubtasks?: boolean | undefined;
            alwaysAllowExecute?: boolean | undefined;
            alwaysAllowFollowupQuestions?: boolean | undefined;
            followupAutoApproveTimeoutMs?: number | undefined;
            alwaysAllowUpdateTodoList?: boolean | undefined;
            allowedCommands?: string[] | undefined;
            deniedCommands?: string[] | undefined;
            commandExecutionTimeout?: number | undefined;
            commandTimeoutAllowlist?: string[] | undefined;
            preventCompletionWithOpenTodos?: boolean | undefined;
            allowedMaxRequests?: number | null | undefined;
            allowedMaxCost?: number | null | undefined;
            autoCondenseContext?: boolean | undefined;
            autoCondenseContextPercent?: number | undefined;
            maxConcurrentFileReads?: number | undefined;
            includeCurrentTime?: boolean | undefined;
            includeCurrentCost?: boolean | undefined;
            maxGitStatusFiles?: number | undefined;
            includeDiagnosticMessages?: boolean | undefined;
            maxDiagnosticMessages?: number | undefined;
            browserToolEnabled?: boolean | undefined;
            browserViewportSize?: string | undefined;
            screenshotQuality?: number | undefined;
            remoteBrowserEnabled?: boolean | undefined;
            remoteBrowserHost?: string | undefined;
            cachedChromeHostUrl?: string | undefined;
            enableCheckpoints?: boolean | undefined;
            checkpointTimeout?: number | undefined;
            ttsEnabled?: boolean | undefined;
            ttsSpeed?: number | undefined;
            soundEnabled?: boolean | undefined;
            soundVolume?: number | undefined;
            maxOpenTabsContext?: number | undefined;
            maxWorkspaceFiles?: number | undefined;
            showRooIgnoredFiles?: boolean | undefined;
            maxReadFileLine?: number | undefined;
            maxImageFileSize?: number | undefined;
            maxTotalImageSize?: number | undefined;
            terminalOutputLineLimit?: number | undefined;
            terminalOutputCharacterLimit?: number | undefined;
            terminalShellIntegrationTimeout?: number | undefined;
            terminalShellIntegrationDisabled?: boolean | undefined;
            terminalCommandDelay?: number | undefined;
            terminalPowershellCounter?: boolean | undefined;
            terminalZshClearEolMark?: boolean | undefined;
            terminalZshOhMy?: boolean | undefined;
            terminalZshP10k?: boolean | undefined;
            terminalZdotdir?: boolean | undefined;
            terminalCompressProgressBar?: boolean | undefined;
            diagnosticsEnabled?: boolean | undefined;
            experiments?: {
                powerSteering?: boolean | undefined;
                multiFileApplyDiff?: boolean | undefined;
                preventFocusDisruption?: boolean | undefined;
                imageGeneration?: boolean | undefined;
                runSlashCommand?: boolean | undefined;
                nativeToolCalling?: boolean | undefined;
            } | undefined;
            codebaseIndexModels?: {
                openai?: Record<string, {
                    dimension: number;
                }> | undefined;
                ollama?: Record<string, {
                    dimension: number;
                }> | undefined;
                "openai-compatible"?: Record<string, {
                    dimension: number;
                }> | undefined;
                gemini?: Record<string, {
                    dimension: number;
                }> | undefined;
                mistral?: Record<string, {
                    dimension: number;
                }> | undefined;
                "vercel-ai-gateway"?: Record<string, {
                    dimension: number;
                }> | undefined;
                openrouter?: Record<string, {
                    dimension: number;
                }> | undefined;
            } | undefined;
            codebaseIndexConfig?: {
                codebaseIndexEnabled?: boolean | undefined;
                codebaseIndexQdrantUrl?: string | undefined;
                codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | undefined;
                codebaseIndexEmbedderBaseUrl?: string | undefined;
                codebaseIndexEmbedderModelId?: string | undefined;
                codebaseIndexEmbedderModelDimension?: number | undefined;
                codebaseIndexSearchMinScore?: number | undefined;
                codebaseIndexSearchMaxResults?: number | undefined;
                codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
                codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
            } | undefined;
            telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
            mcpEnabled?: boolean | undefined;
            enableMcpServerCreation?: boolean | undefined;
            modeApiConfigs?: Record<string, string> | undefined;
            customModePrompts?: Record<string, {
                description?: string | undefined;
                roleDefinition?: string | undefined;
                whenToUse?: string | undefined;
                customInstructions?: string | undefined;
            } | undefined> | undefined;
            customSupportPrompts?: Record<string, string | undefined> | undefined;
            enhancementApiConfigId?: string | undefined;
            includeTaskHistoryInEnhance?: boolean | undefined;
            historyPreviewCollapsed?: boolean | undefined;
            reasoningBlockCollapsed?: boolean | undefined;
            profileThresholds?: Record<string, number> | undefined;
            hasOpenedModeSelector?: boolean | undefined;
            lastModeExportPath?: string | undefined;
            lastModeImportPath?: string | undefined;
        };
        images?: string[] | undefined;
        newTab?: boolean | undefined;
    }>;
}, "strip", z.ZodTypeAny, {
    data: {
        text: string;
        configuration: {
            reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
            codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
            codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
            codeIndexOpenAiKey?: string | undefined;
            codeIndexQdrantApiKey?: string | undefined;
            codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
            codebaseIndexGeminiApiKey?: string | undefined;
            codebaseIndexMistralApiKey?: string | undefined;
            codebaseIndexVercelAiGatewayApiKey?: string | undefined;
            codebaseIndexOpenRouterApiKey?: string | undefined;
            language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
            apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
            includeMaxTokens?: boolean | undefined;
            diffEnabled?: boolean | undefined;
            todoListEnabled?: boolean | undefined;
            fuzzyMatchThreshold?: number | undefined;
            modelTemperature?: number | null | undefined;
            rateLimitSeconds?: number | undefined;
            consecutiveMistakeLimit?: number | undefined;
            enableReasoningEffort?: boolean | undefined;
            modelMaxTokens?: number | undefined;
            modelMaxThinkingTokens?: number | undefined;
            verbosity?: "low" | "medium" | "high" | undefined;
            toolProtocol?: "xml" | "native" | undefined;
            apiModelId?: string | undefined;
            apiKey?: string | undefined;
            anthropicBaseUrl?: string | undefined;
            anthropicUseAuthToken?: boolean | undefined;
            anthropicBeta1MContext?: boolean | undefined;
            claudeCodePath?: string | undefined;
            claudeCodeMaxOutputTokens?: number | undefined;
            glamaModelId?: string | undefined;
            glamaApiKey?: string | undefined;
            openRouterApiKey?: string | undefined;
            openRouterModelId?: string | undefined;
            openRouterBaseUrl?: string | undefined;
            openRouterSpecificProvider?: string | undefined;
            openRouterUseMiddleOutTransform?: boolean | undefined;
            awsAccessKey?: string | undefined;
            awsSecretKey?: string | undefined;
            awsSessionToken?: string | undefined;
            awsRegion?: string | undefined;
            awsUseCrossRegionInference?: boolean | undefined;
            awsUseGlobalInference?: boolean | undefined;
            awsUsePromptCache?: boolean | undefined;
            awsProfile?: string | undefined;
            awsUseProfile?: boolean | undefined;
            awsApiKey?: string | undefined;
            awsUseApiKey?: boolean | undefined;
            awsCustomArn?: string | undefined;
            awsModelContextWindow?: number | undefined;
            awsBedrockEndpointEnabled?: boolean | undefined;
            awsBedrockEndpoint?: string | undefined;
            awsBedrock1MContext?: boolean | undefined;
            vertexKeyFile?: string | undefined;
            vertexJsonCredentials?: string | undefined;
            vertexProjectId?: string | undefined;
            vertexRegion?: string | undefined;
            enableUrlContext?: boolean | undefined;
            enableGrounding?: boolean | undefined;
            openAiBaseUrl?: string | undefined;
            openAiApiKey?: string | undefined;
            openAiLegacyFormat?: boolean | undefined;
            openAiR1FormatEnabled?: boolean | undefined;
            openAiModelId?: string | undefined;
            openAiCustomModelInfo?: {
                contextWindow: number;
                supportsPromptCache: boolean;
                maxTokens?: number | null | undefined;
                maxThinkingTokens?: number | null | undefined;
                supportsImages?: boolean | undefined;
                promptCacheRetention?: "in_memory" | "24h" | undefined;
                supportsVerbosity?: boolean | undefined;
                supportsReasoningBudget?: boolean | undefined;
                supportsReasoningBinary?: boolean | undefined;
                supportsTemperature?: boolean | undefined;
                defaultTemperature?: number | undefined;
                requiredReasoningBudget?: boolean | undefined;
                supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
                requiredReasoningEffort?: boolean | undefined;
                preserveReasoning?: boolean | undefined;
                supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
                inputPrice?: number | undefined;
                outputPrice?: number | undefined;
                cacheWritesPrice?: number | undefined;
                cacheReadsPrice?: number | undefined;
                description?: string | undefined;
                reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
                minTokensPerCachePoint?: number | undefined;
                maxCachePoints?: number | undefined;
                cachableFields?: string[] | undefined;
                deprecated?: boolean | undefined;
                isFree?: boolean | undefined;
                supportsNativeTools?: boolean | undefined;
                defaultToolProtocol?: "xml" | "native" | undefined;
                tiers?: {
                    contextWindow: number;
                    name?: "default" | "flex" | "priority" | undefined;
                    inputPrice?: number | undefined;
                    outputPrice?: number | undefined;
                    cacheWritesPrice?: number | undefined;
                    cacheReadsPrice?: number | undefined;
                }[] | undefined;
            } | null | undefined;
            openAiUseAzure?: boolean | undefined;
            azureApiVersion?: string | undefined;
            openAiStreamingEnabled?: boolean | undefined;
            openAiHostHeader?: string | undefined;
            openAiHeaders?: Record<string, string> | undefined;
            ollamaModelId?: string | undefined;
            ollamaBaseUrl?: string | undefined;
            ollamaApiKey?: string | undefined;
            ollamaNumCtx?: number | undefined;
            vsCodeLmModelSelector?: {
                id?: string | undefined;
                family?: string | undefined;
                version?: string | undefined;
                vendor?: string | undefined;
            } | undefined;
            lmStudioModelId?: string | undefined;
            lmStudioBaseUrl?: string | undefined;
            lmStudioDraftModelId?: string | undefined;
            lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
            geminiApiKey?: string | undefined;
            googleGeminiBaseUrl?: string | undefined;
            geminiCliOAuthPath?: string | undefined;
            geminiCliProjectId?: string | undefined;
            openAiNativeApiKey?: string | undefined;
            openAiNativeBaseUrl?: string | undefined;
            openAiNativeServiceTier?: "default" | "flex" | "priority" | undefined;
            mistralApiKey?: string | undefined;
            mistralCodestralUrl?: string | undefined;
            deepSeekBaseUrl?: string | undefined;
            deepSeekApiKey?: string | undefined;
            deepInfraBaseUrl?: string | undefined;
            deepInfraApiKey?: string | undefined;
            deepInfraModelId?: string | undefined;
            doubaoBaseUrl?: string | undefined;
            doubaoApiKey?: string | undefined;
            moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined;
            moonshotApiKey?: string | undefined;
            minimaxBaseUrl?: "https://api.minimax.io/v1" | "https://api.minimaxi.com/v1" | undefined;
            minimaxApiKey?: string | undefined;
            unboundApiKey?: string | undefined;
            unboundModelId?: string | undefined;
            requestyBaseUrl?: string | undefined;
            requestyApiKey?: string | undefined;
            requestyModelId?: string | undefined;
            fakeAi?: unknown;
            xaiApiKey?: string | undefined;
            groqApiKey?: string | undefined;
            huggingFaceApiKey?: string | undefined;
            huggingFaceModelId?: string | undefined;
            huggingFaceInferenceProvider?: string | undefined;
            chutesApiKey?: string | undefined;
            litellmBaseUrl?: string | undefined;
            litellmApiKey?: string | undefined;
            litellmModelId?: string | undefined;
            litellmUsePromptCache?: boolean | undefined;
            cerebrasApiKey?: string | undefined;
            sambaNovaApiKey?: string | undefined;
            zaiApiKey?: string | undefined;
            zaiApiLine?: "international_coding" | "china_coding" | undefined;
            fireworksApiKey?: string | undefined;
            featherlessApiKey?: string | undefined;
            ioIntelligenceModelId?: string | undefined;
            ioIntelligenceApiKey?: string | undefined;
            qwenCodeOauthPath?: string | undefined;
            vercelAiGatewayApiKey?: string | undefined;
            vercelAiGatewayModelId?: string | undefined;
            mode?: string | undefined;
            customInstructions?: string | undefined;
            customModes?: {
                name: string;
                slug: string;
                roleDefinition: string;
                groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
                    description?: string | undefined;
                    fileRegex?: string | undefined;
                }])[];
                description?: string | undefined;
                whenToUse?: string | undefined;
                customInstructions?: string | undefined;
                source?: "global" | "project" | undefined;
            }[] | undefined;
            currentApiConfigName?: string | undefined;
            listApiConfigMeta?: {
                id: string;
                name: string;
                apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
                modelId?: string | undefined;
            }[] | undefined;
            pinnedApiConfigs?: Record<string, boolean> | undefined;
            lastShownAnnouncementId?: string | undefined;
            taskHistory?: {
                number: number;
                ts: number;
                totalCost: number;
                id: string;
                task: string;
                tokensIn: number;
                tokensOut: number;
                rootTaskId?: string | undefined;
                parentTaskId?: string | undefined;
                cacheWrites?: number | undefined;
                cacheReads?: number | undefined;
                size?: number | undefined;
                workspace?: string | undefined;
                mode?: string | undefined;
            }[] | undefined;
            dismissedUpsells?: string[] | undefined;
            openRouterImageApiKey?: string | undefined;
            openRouterImageGenerationSelectedModel?: string | undefined;
            condensingApiConfigId?: string | undefined;
            customCondensingPrompt?: string | undefined;
            autoApprovalEnabled?: boolean | undefined;
            alwaysAllowReadOnly?: boolean | undefined;
            alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
            alwaysAllowWrite?: boolean | undefined;
            alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
            alwaysAllowWriteProtected?: boolean | undefined;
            writeDelayMs?: number | undefined;
            alwaysAllowBrowser?: boolean | undefined;
            alwaysApproveResubmit?: boolean | undefined;
            requestDelaySeconds?: number | undefined;
            alwaysAllowMcp?: boolean | undefined;
            alwaysAllowModeSwitch?: boolean | undefined;
            alwaysAllowSubtasks?: boolean | undefined;
            alwaysAllowExecute?: boolean | undefined;
            alwaysAllowFollowupQuestions?: boolean | undefined;
            followupAutoApproveTimeoutMs?: number | undefined;
            alwaysAllowUpdateTodoList?: boolean | undefined;
            allowedCommands?: string[] | undefined;
            deniedCommands?: string[] | undefined;
            commandExecutionTimeout?: number | undefined;
            commandTimeoutAllowlist?: string[] | undefined;
            preventCompletionWithOpenTodos?: boolean | undefined;
            allowedMaxRequests?: number | null | undefined;
            allowedMaxCost?: number | null | undefined;
            autoCondenseContext?: boolean | undefined;
            autoCondenseContextPercent?: number | undefined;
            maxConcurrentFileReads?: number | undefined;
            includeCurrentTime?: boolean | undefined;
            includeCurrentCost?: boolean | undefined;
            maxGitStatusFiles?: number | undefined;
            includeDiagnosticMessages?: boolean | undefined;
            maxDiagnosticMessages?: number | undefined;
            browserToolEnabled?: boolean | undefined;
            browserViewportSize?: string | undefined;
            screenshotQuality?: number | undefined;
            remoteBrowserEnabled?: boolean | undefined;
            remoteBrowserHost?: string | undefined;
            cachedChromeHostUrl?: string | undefined;
            enableCheckpoints?: boolean | undefined;
            checkpointTimeout?: number | undefined;
            ttsEnabled?: boolean | undefined;
            ttsSpeed?: number | undefined;
            soundEnabled?: boolean | undefined;
            soundVolume?: number | undefined;
            maxOpenTabsContext?: number | undefined;
            maxWorkspaceFiles?: number | undefined;
            showRooIgnoredFiles?: boolean | undefined;
            maxReadFileLine?: number | undefined;
            maxImageFileSize?: number | undefined;
            maxTotalImageSize?: number | undefined;
            terminalOutputLineLimit?: number | undefined;
            terminalOutputCharacterLimit?: number | undefined;
            terminalShellIntegrationTimeout?: number | undefined;
            terminalShellIntegrationDisabled?: boolean | undefined;
            terminalCommandDelay?: number | undefined;
            terminalPowershellCounter?: boolean | undefined;
            terminalZshClearEolMark?: boolean | undefined;
            terminalZshOhMy?: boolean | undefined;
            terminalZshP10k?: boolean | undefined;
            terminalZdotdir?: boolean | undefined;
            terminalCompressProgressBar?: boolean | undefined;
            diagnosticsEnabled?: boolean | undefined;
            experiments?: {
                powerSteering?: boolean | undefined;
                multiFileApplyDiff?: boolean | undefined;
                preventFocusDisruption?: boolean | undefined;
                imageGeneration?: boolean | undefined;
                runSlashCommand?: boolean | undefined;
                nativeToolCalling?: boolean | undefined;
            } | undefined;
            codebaseIndexModels?: {
                openai?: Record<string, {
                    dimension: number;
                }> | undefined;
                ollama?: Record<string, {
                    dimension: number;
                }> | undefined;
                "openai-compatible"?: Record<string, {
                    dimension: number;
                }> | undefined;
                gemini?: Record<string, {
                    dimension: number;
                }> | undefined;
                mistral?: Record<string, {
                    dimension: number;
                }> | undefined;
                "vercel-ai-gateway"?: Record<string, {
                    dimension: number;
                }> | undefined;
                openrouter?: Record<string, {
                    dimension: number;
                }> | undefined;
            } | undefined;
            codebaseIndexConfig?: {
                codebaseIndexEnabled?: boolean | undefined;
                codebaseIndexQdrantUrl?: string | undefined;
                codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | undefined;
                codebaseIndexEmbedderBaseUrl?: string | undefined;
                codebaseIndexEmbedderModelId?: string | undefined;
                codebaseIndexEmbedderModelDimension?: number | undefined;
                codebaseIndexSearchMinScore?: number | undefined;
                codebaseIndexSearchMaxResults?: number | undefined;
                codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
                codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
            } | undefined;
            telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
            mcpEnabled?: boolean | undefined;
            enableMcpServerCreation?: boolean | undefined;
            modeApiConfigs?: Record<string, string> | undefined;
            customModePrompts?: Record<string, {
                description?: string | undefined;
                roleDefinition?: string | undefined;
                whenToUse?: string | undefined;
                customInstructions?: string | undefined;
            } | undefined> | undefined;
            customSupportPrompts?: Record<string, string | undefined> | undefined;
            enhancementApiConfigId?: string | undefined;
            includeTaskHistoryInEnhance?: boolean | undefined;
            historyPreviewCollapsed?: boolean | undefined;
            reasoningBlockCollapsed?: boolean | undefined;
            profileThresholds?: Record<string, number> | undefined;
            hasOpenedModeSelector?: boolean | undefined;
            lastModeExportPath?: string | undefined;
            lastModeImportPath?: string | undefined;
        };
        images?: string[] | undefined;
        newTab?: boolean | undefined;
    };
    commandName: TaskCommandName.StartNewTask;
}, {
    data: {
        text: string;
        configuration: {
            reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
            codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
            codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
            codeIndexOpenAiKey?: string | undefined;
            codeIndexQdrantApiKey?: string | undefined;
            codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
            codebaseIndexGeminiApiKey?: string | undefined;
            codebaseIndexMistralApiKey?: string | undefined;
            codebaseIndexVercelAiGatewayApiKey?: string | undefined;
            codebaseIndexOpenRouterApiKey?: string | undefined;
            language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
            apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
            includeMaxTokens?: boolean | undefined;
            diffEnabled?: boolean | undefined;
            todoListEnabled?: boolean | undefined;
            fuzzyMatchThreshold?: number | undefined;
            modelTemperature?: number | null | undefined;
            rateLimitSeconds?: number | undefined;
            consecutiveMistakeLimit?: number | undefined;
            enableReasoningEffort?: boolean | undefined;
            modelMaxTokens?: number | undefined;
            modelMaxThinkingTokens?: number | undefined;
            verbosity?: "low" | "medium" | "high" | undefined;
            toolProtocol?: "xml" | "native" | undefined;
            apiModelId?: string | undefined;
            apiKey?: string | undefined;
            anthropicBaseUrl?: string | undefined;
            anthropicUseAuthToken?: boolean | undefined;
            anthropicBeta1MContext?: boolean | undefined;
            claudeCodePath?: string | undefined;
            claudeCodeMaxOutputTokens?: number | undefined;
            glamaModelId?: string | undefined;
            glamaApiKey?: string | undefined;
            openRouterApiKey?: string | undefined;
            openRouterModelId?: string | undefined;
            openRouterBaseUrl?: string | undefined;
            openRouterSpecificProvider?: string | undefined;
            openRouterUseMiddleOutTransform?: boolean | undefined;
            awsAccessKey?: string | undefined;
            awsSecretKey?: string | undefined;
            awsSessionToken?: string | undefined;
            awsRegion?: string | undefined;
            awsUseCrossRegionInference?: boolean | undefined;
            awsUseGlobalInference?: boolean | undefined;
            awsUsePromptCache?: boolean | undefined;
            awsProfile?: string | undefined;
            awsUseProfile?: boolean | undefined;
            awsApiKey?: string | undefined;
            awsUseApiKey?: boolean | undefined;
            awsCustomArn?: string | undefined;
            awsModelContextWindow?: number | undefined;
            awsBedrockEndpointEnabled?: boolean | undefined;
            awsBedrockEndpoint?: string | undefined;
            awsBedrock1MContext?: boolean | undefined;
            vertexKeyFile?: string | undefined;
            vertexJsonCredentials?: string | undefined;
            vertexProjectId?: string | undefined;
            vertexRegion?: string | undefined;
            enableUrlContext?: boolean | undefined;
            enableGrounding?: boolean | undefined;
            openAiBaseUrl?: string | undefined;
            openAiApiKey?: string | undefined;
            openAiLegacyFormat?: boolean | undefined;
            openAiR1FormatEnabled?: boolean | undefined;
            openAiModelId?: string | undefined;
            openAiCustomModelInfo?: {
                contextWindow: number;
                supportsPromptCache: boolean;
                maxTokens?: number | null | undefined;
                maxThinkingTokens?: number | null | undefined;
                supportsImages?: boolean | undefined;
                promptCacheRetention?: "in_memory" | "24h" | undefined;
                supportsVerbosity?: boolean | undefined;
                supportsReasoningBudget?: boolean | undefined;
                supportsReasoningBinary?: boolean | undefined;
                supportsTemperature?: boolean | undefined;
                defaultTemperature?: number | undefined;
                requiredReasoningBudget?: boolean | undefined;
                supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
                requiredReasoningEffort?: boolean | undefined;
                preserveReasoning?: boolean | undefined;
                supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
                inputPrice?: number | undefined;
                outputPrice?: number | undefined;
                cacheWritesPrice?: number | undefined;
                cacheReadsPrice?: number | undefined;
                description?: string | undefined;
                reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
                minTokensPerCachePoint?: number | undefined;
                maxCachePoints?: number | undefined;
                cachableFields?: string[] | undefined;
                deprecated?: boolean | undefined;
                isFree?: boolean | undefined;
                supportsNativeTools?: boolean | undefined;
                defaultToolProtocol?: "xml" | "native" | undefined;
                tiers?: {
                    contextWindow: number;
                    name?: "default" | "flex" | "priority" | undefined;
                    inputPrice?: number | undefined;
                    outputPrice?: number | undefined;
                    cacheWritesPrice?: number | undefined;
                    cacheReadsPrice?: number | undefined;
                }[] | undefined;
            } | null | undefined;
            openAiUseAzure?: boolean | undefined;
            azureApiVersion?: string | undefined;
            openAiStreamingEnabled?: boolean | undefined;
            openAiHostHeader?: string | undefined;
            openAiHeaders?: Record<string, string> | undefined;
            ollamaModelId?: string | undefined;
            ollamaBaseUrl?: string | undefined;
            ollamaApiKey?: string | undefined;
            ollamaNumCtx?: number | undefined;
            vsCodeLmModelSelector?: {
                id?: string | undefined;
                family?: string | undefined;
                version?: string | undefined;
                vendor?: string | undefined;
            } | undefined;
            lmStudioModelId?: string | undefined;
            lmStudioBaseUrl?: string | undefined;
            lmStudioDraftModelId?: string | undefined;
            lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
            geminiApiKey?: string | undefined;
            googleGeminiBaseUrl?: string | undefined;
            geminiCliOAuthPath?: string | undefined;
            geminiCliProjectId?: string | undefined;
            openAiNativeApiKey?: string | undefined;
            openAiNativeBaseUrl?: string | undefined;
            openAiNativeServiceTier?: "default" | "flex" | "priority" | undefined;
            mistralApiKey?: string | undefined;
            mistralCodestralUrl?: string | undefined;
            deepSeekBaseUrl?: string | undefined;
            deepSeekApiKey?: string | undefined;
            deepInfraBaseUrl?: string | undefined;
            deepInfraApiKey?: string | undefined;
            deepInfraModelId?: string | undefined;
            doubaoBaseUrl?: string | undefined;
            doubaoApiKey?: string | undefined;
            moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined;
            moonshotApiKey?: string | undefined;
            minimaxBaseUrl?: "https://api.minimax.io/v1" | "https://api.minimaxi.com/v1" | undefined;
            minimaxApiKey?: string | undefined;
            unboundApiKey?: string | undefined;
            unboundModelId?: string | undefined;
            requestyBaseUrl?: string | undefined;
            requestyApiKey?: string | undefined;
            requestyModelId?: string | undefined;
            fakeAi?: unknown;
            xaiApiKey?: string | undefined;
            groqApiKey?: string | undefined;
            huggingFaceApiKey?: string | undefined;
            huggingFaceModelId?: string | undefined;
            huggingFaceInferenceProvider?: string | undefined;
            chutesApiKey?: string | undefined;
            litellmBaseUrl?: string | undefined;
            litellmApiKey?: string | undefined;
            litellmModelId?: string | undefined;
            litellmUsePromptCache?: boolean | undefined;
            cerebrasApiKey?: string | undefined;
            sambaNovaApiKey?: string | undefined;
            zaiApiKey?: string | undefined;
            zaiApiLine?: "international_coding" | "china_coding" | undefined;
            fireworksApiKey?: string | undefined;
            featherlessApiKey?: string | undefined;
            ioIntelligenceModelId?: string | undefined;
            ioIntelligenceApiKey?: string | undefined;
            qwenCodeOauthPath?: string | undefined;
            vercelAiGatewayApiKey?: string | undefined;
            vercelAiGatewayModelId?: string | undefined;
            mode?: string | undefined;
            customInstructions?: string | undefined;
            customModes?: {
                name: string;
                slug: string;
                roleDefinition: string;
                groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
                    description?: string | undefined;
                    fileRegex?: string | undefined;
                }])[];
                description?: string | undefined;
                whenToUse?: string | undefined;
                customInstructions?: string | undefined;
                source?: "global" | "project" | undefined;
            }[] | undefined;
            currentApiConfigName?: string | undefined;
            listApiConfigMeta?: {
                id: string;
                name: string;
                apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
                modelId?: string | undefined;
            }[] | undefined;
            pinnedApiConfigs?: Record<string, boolean> | undefined;
            lastShownAnnouncementId?: string | undefined;
            taskHistory?: {
                number: number;
                ts: number;
                totalCost: number;
                id: string;
                task: string;
                tokensIn: number;
                tokensOut: number;
                rootTaskId?: string | undefined;
                parentTaskId?: string | undefined;
                cacheWrites?: number | undefined;
                cacheReads?: number | undefined;
                size?: number | undefined;
                workspace?: string | undefined;
                mode?: string | undefined;
            }[] | undefined;
            dismissedUpsells?: string[] | undefined;
            openRouterImageApiKey?: string | undefined;
            openRouterImageGenerationSelectedModel?: string | undefined;
            condensingApiConfigId?: string | undefined;
            customCondensingPrompt?: string | undefined;
            autoApprovalEnabled?: boolean | undefined;
            alwaysAllowReadOnly?: boolean | undefined;
            alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
            alwaysAllowWrite?: boolean | undefined;
            alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
            alwaysAllowWriteProtected?: boolean | undefined;
            writeDelayMs?: number | undefined;
            alwaysAllowBrowser?: boolean | undefined;
            alwaysApproveResubmit?: boolean | undefined;
            requestDelaySeconds?: number | undefined;
            alwaysAllowMcp?: boolean | undefined;
            alwaysAllowModeSwitch?: boolean | undefined;
            alwaysAllowSubtasks?: boolean | undefined;
            alwaysAllowExecute?: boolean | undefined;
            alwaysAllowFollowupQuestions?: boolean | undefined;
            followupAutoApproveTimeoutMs?: number | undefined;
            alwaysAllowUpdateTodoList?: boolean | undefined;
            allowedCommands?: string[] | undefined;
            deniedCommands?: string[] | undefined;
            commandExecutionTimeout?: number | undefined;
            commandTimeoutAllowlist?: string[] | undefined;
            preventCompletionWithOpenTodos?: boolean | undefined;
            allowedMaxRequests?: number | null | undefined;
            allowedMaxCost?: number | null | undefined;
            autoCondenseContext?: boolean | undefined;
            autoCondenseContextPercent?: number | undefined;
            maxConcurrentFileReads?: number | undefined;
            includeCurrentTime?: boolean | undefined;
            includeCurrentCost?: boolean | undefined;
            maxGitStatusFiles?: number | undefined;
            includeDiagnosticMessages?: boolean | undefined;
            maxDiagnosticMessages?: number | undefined;
            browserToolEnabled?: boolean | undefined;
            browserViewportSize?: string | undefined;
            screenshotQuality?: number | undefined;
            remoteBrowserEnabled?: boolean | undefined;
            remoteBrowserHost?: string | undefined;
            cachedChromeHostUrl?: string | undefined;
            enableCheckpoints?: boolean | undefined;
            checkpointTimeout?: number | undefined;
            ttsEnabled?: boolean | undefined;
            ttsSpeed?: number | undefined;
            soundEnabled?: boolean | undefined;
            soundVolume?: number | undefined;
            maxOpenTabsContext?: number | undefined;
            maxWorkspaceFiles?: number | undefined;
            showRooIgnoredFiles?: boolean | undefined;
            maxReadFileLine?: number | undefined;
            maxImageFileSize?: number | undefined;
            maxTotalImageSize?: number | undefined;
            terminalOutputLineLimit?: number | undefined;
            terminalOutputCharacterLimit?: number | undefined;
            terminalShellIntegrationTimeout?: number | undefined;
            terminalShellIntegrationDisabled?: boolean | undefined;
            terminalCommandDelay?: number | undefined;
            terminalPowershellCounter?: boolean | undefined;
            terminalZshClearEolMark?: boolean | undefined;
            terminalZshOhMy?: boolean | undefined;
            terminalZshP10k?: boolean | undefined;
            terminalZdotdir?: boolean | undefined;
            terminalCompressProgressBar?: boolean | undefined;
            diagnosticsEnabled?: boolean | undefined;
            experiments?: {
                powerSteering?: boolean | undefined;
                multiFileApplyDiff?: boolean | undefined;
                preventFocusDisruption?: boolean | undefined;
                imageGeneration?: boolean | undefined;
                runSlashCommand?: boolean | undefined;
                nativeToolCalling?: boolean | undefined;
            } | undefined;
            codebaseIndexModels?: {
                openai?: Record<string, {
                    dimension: number;
                }> | undefined;
                ollama?: Record<string, {
                    dimension: number;
                }> | undefined;
                "openai-compatible"?: Record<string, {
                    dimension: number;
                }> | undefined;
                gemini?: Record<string, {
                    dimension: number;
                }> | undefined;
                mistral?: Record<string, {
                    dimension: number;
                }> | undefined;
                "vercel-ai-gateway"?: Record<string, {
                    dimension: number;
                }> | undefined;
                openrouter?: Record<string, {
                    dimension: number;
                }> | undefined;
            } | undefined;
            codebaseIndexConfig?: {
                codebaseIndexEnabled?: boolean | undefined;
                codebaseIndexQdrantUrl?: string | undefined;
                codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | undefined;
                codebaseIndexEmbedderBaseUrl?: string | undefined;
                codebaseIndexEmbedderModelId?: string | undefined;
                codebaseIndexEmbedderModelDimension?: number | undefined;
                codebaseIndexSearchMinScore?: number | undefined;
                codebaseIndexSearchMaxResults?: number | undefined;
                codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
                codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
            } | undefined;
            telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
            mcpEnabled?: boolean | undefined;
            enableMcpServerCreation?: boolean | undefined;
            modeApiConfigs?: Record<string, string> | undefined;
            customModePrompts?: Record<string, {
                description?: string | undefined;
                roleDefinition?: string | undefined;
                whenToUse?: string | undefined;
                customInstructions?: string | undefined;
            } | undefined> | undefined;
            customSupportPrompts?: Record<string, string | undefined> | undefined;
            enhancementApiConfigId?: string | undefined;
            includeTaskHistoryInEnhance?: boolean | undefined;
            historyPreviewCollapsed?: boolean | undefined;
            reasoningBlockCollapsed?: boolean | undefined;
            profileThresholds?: Record<string, number> | undefined;
            hasOpenedModeSelector?: boolean | undefined;
            lastModeExportPath?: string | undefined;
            lastModeImportPath?: string | undefined;
        };
        images?: string[] | undefined;
        newTab?: boolean | undefined;
    };
    commandName: TaskCommandName.StartNewTask;
}>, z.ZodObject<{
    commandName: z.ZodLiteral<TaskCommandName.CancelTask>;
    data: z.ZodString;
}, "strip", z.ZodTypeAny, {
    data: string;
    commandName: TaskCommandName.CancelTask;
}, {
    data: string;
    commandName: TaskCommandName.CancelTask;
}>, z.ZodObject<{
    commandName: z.ZodLiteral<TaskCommandName.CloseTask>;
    data: z.ZodString;
}, "strip", z.ZodTypeAny, {
    data: string;
    commandName: TaskCommandName.CloseTask;
}, {
    data: string;
    commandName: TaskCommandName.CloseTask;
}>, z.ZodObject<{
    commandName: z.ZodLiteral<TaskCommandName.ResumeTask>;
    data: z.ZodString;
}, "strip", z.ZodTypeAny, {
    data: string;
    commandName: TaskCommandName.ResumeTask;
}, {
    data: string;
    commandName: TaskCommandName.ResumeTask;
}>, z.ZodObject<{
    commandName: z.ZodLiteral<TaskCommandName.SendMessage>;
    data: z.ZodObject<{
        text: z.ZodOptional<z.ZodString>;
        images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    }, "strip", z.ZodTypeAny, {
        text?: string | undefined;
        images?: string[] | undefined;
    }, {
        text?: string | undefined;
        images?: string[] | undefined;
    }>;
}, "strip", z.ZodTypeAny, {
    data: {
        text?: string | undefined;
        images?: string[] | undefined;
    };
    commandName: TaskCommandName.SendMessage;
}, {
    data: {
        text?: string | undefined;
        images?: string[] | undefined;
    };
    commandName: TaskCommandName.SendMessage;
}>]>;
type TaskCommand = z.infer<typeof taskCommandSchema>;
/**
 * IpcMessage
 */
declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
    type: z.ZodLiteral<IpcMessageType.Ack>;
    origin: z.ZodLiteral<IpcOrigin.Server>;
    data: z.ZodObject<{
        clientId: z.ZodString;
        pid: z.ZodNumber;
        ppid: z.ZodNumber;
    }, "strip", z.ZodTypeAny, {
        clientId: string;
        pid: number;
        ppid: number;
    }, {
        clientId: string;
        pid: number;
        ppid: number;
    }>;
}, "strip", z.ZodTypeAny, {
    type: IpcMessageType.Ack;
    data: {
        clientId: string;
        pid: number;
        ppid: number;
    };
    origin: IpcOrigin.Server;
}, {
    type: IpcMessageType.Ack;
    data: {
        clientId: string;
        pid: number;
        ppid: number;
    };
    origin: IpcOrigin.Server;
}>, z.ZodObject<{
    type: z.ZodLiteral<IpcMessageType.TaskCommand>;
    origin: z.ZodLiteral<IpcOrigin.Client>;
    clientId: z.ZodString;
    data: z.ZodDiscriminatedUnion<"commandName", [z.ZodObject<{
        commandName: z.ZodLiteral<TaskCommandName.StartNewTask>;
        data: z.ZodObject<{
            configuration: z.ZodObject<{
                codeIndexOpenAiKey: z.ZodOptional<z.ZodString>;
                codeIndexQdrantApiKey: z.ZodOptional<z.ZodString>;
                codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
                codebaseIndexOpenAiCompatibleApiKey: z.ZodOptional<z.ZodString>;
                codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
                codebaseIndexGeminiApiKey: z.ZodOptional<z.ZodString>;
                codebaseIndexMistralApiKey: z.ZodOptional<z.ZodString>;
                codebaseIndexVercelAiGatewayApiKey: z.ZodOptional<z.ZodString>;
                codebaseIndexOpenRouterApiKey: z.ZodOptional<z.ZodString>;
                includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
                todoListEnabled: z.ZodOptional<z.ZodBoolean>;
                modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
                consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
                enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
                reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
                modelMaxTokens: z.ZodOptional<z.ZodNumber>;
                modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
                verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
                toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
                vercelAiGatewayApiKey: z.ZodOptional<z.ZodString>;
                vercelAiGatewayModelId: z.ZodOptional<z.ZodString>;
                apiModelId: z.ZodOptional<z.ZodString>;
                qwenCodeOauthPath: z.ZodOptional<z.ZodString>;
                ioIntelligenceModelId: z.ZodOptional<z.ZodString>;
                ioIntelligenceApiKey: z.ZodOptional<z.ZodString>;
                featherlessApiKey: z.ZodOptional<z.ZodString>;
                fireworksApiKey: z.ZodOptional<z.ZodString>;
                zaiApiKey: z.ZodOptional<z.ZodString>;
                zaiApiLine: z.ZodOptional<z.ZodEnum<["international_coding", "china_coding"]>>;
                sambaNovaApiKey: z.ZodOptional<z.ZodString>;
                cerebrasApiKey: z.ZodOptional<z.ZodString>;
                litellmBaseUrl: z.ZodOptional<z.ZodString>;
                litellmApiKey: z.ZodOptional<z.ZodString>;
                litellmModelId: z.ZodOptional<z.ZodString>;
                litellmUsePromptCache: z.ZodOptional<z.ZodBoolean>;
                chutesApiKey: z.ZodOptional<z.ZodString>;
                huggingFaceApiKey: z.ZodOptional<z.ZodString>;
                huggingFaceModelId: z.ZodOptional<z.ZodString>;
                huggingFaceInferenceProvider: z.ZodOptional<z.ZodString>;
                groqApiKey: z.ZodOptional<z.ZodString>;
                xaiApiKey: z.ZodOptional<z.ZodString>;
                fakeAi: z.ZodOptional<z.ZodUnknown>;
                requestyBaseUrl: z.ZodOptional<z.ZodString>;
                requestyApiKey: z.ZodOptional<z.ZodString>;
                requestyModelId: z.ZodOptional<z.ZodString>;
                unboundApiKey: z.ZodOptional<z.ZodString>;
                unboundModelId: z.ZodOptional<z.ZodString>;
                minimaxBaseUrl: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"https://api.minimax.io/v1">, z.ZodLiteral<"https://api.minimaxi.com/v1">]>>;
                minimaxApiKey: z.ZodOptional<z.ZodString>;
                moonshotBaseUrl: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"https://api.moonshot.ai/v1">, z.ZodLiteral<"https://api.moonshot.cn/v1">]>>;
                moonshotApiKey: z.ZodOptional<z.ZodString>;
                doubaoBaseUrl: z.ZodOptional<z.ZodString>;
                doubaoApiKey: z.ZodOptional<z.ZodString>;
                deepInfraBaseUrl: z.ZodOptional<z.ZodString>;
                deepInfraApiKey: z.ZodOptional<z.ZodString>;
                deepInfraModelId: z.ZodOptional<z.ZodString>;
                deepSeekBaseUrl: z.ZodOptional<z.ZodString>;
                deepSeekApiKey: z.ZodOptional<z.ZodString>;
                mistralApiKey: z.ZodOptional<z.ZodString>;
                mistralCodestralUrl: z.ZodOptional<z.ZodString>;
                openAiNativeApiKey: z.ZodOptional<z.ZodString>;
                openAiNativeBaseUrl: z.ZodOptional<z.ZodString>;
                openAiNativeServiceTier: z.ZodOptional<z.ZodEnum<["default", "flex", "priority"]>>;
                geminiCliOAuthPath: z.ZodOptional<z.ZodString>;
                geminiCliProjectId: z.ZodOptional<z.ZodString>;
                geminiApiKey: z.ZodOptional<z.ZodString>;
                googleGeminiBaseUrl: z.ZodOptional<z.ZodString>;
                enableUrlContext: z.ZodOptional<z.ZodBoolean>;
                enableGrounding: z.ZodOptional<z.ZodBoolean>;
                lmStudioModelId: z.ZodOptional<z.ZodString>;
                lmStudioBaseUrl: z.ZodOptional<z.ZodString>;
                lmStudioDraftModelId: z.ZodOptional<z.ZodString>;
                lmStudioSpeculativeDecodingEnabled: z.ZodOptional<z.ZodBoolean>;
                vsCodeLmModelSelector: z.ZodOptional<z.ZodObject<{
                    vendor: z.ZodOptional<z.ZodString>;
                    family: z.ZodOptional<z.ZodString>;
                    version: z.ZodOptional<z.ZodString>;
                    id: z.ZodOptional<z.ZodString>;
                }, "strip", z.ZodTypeAny, {
                    id?: string | undefined;
                    family?: string | undefined;
                    version?: string | undefined;
                    vendor?: string | undefined;
                }, {
                    id?: string | undefined;
                    family?: string | undefined;
                    version?: string | undefined;
                    vendor?: string | undefined;
                }>>;
                ollamaModelId: z.ZodOptional<z.ZodString>;
                ollamaBaseUrl: z.ZodOptional<z.ZodString>;
                ollamaApiKey: z.ZodOptional<z.ZodString>;
                ollamaNumCtx: z.ZodOptional<z.ZodNumber>;
                openAiBaseUrl: z.ZodOptional<z.ZodString>;
                openAiApiKey: z.ZodOptional<z.ZodString>;
                openAiLegacyFormat: z.ZodOptional<z.ZodBoolean>;
                openAiR1FormatEnabled: z.ZodOptional<z.ZodBoolean>;
                openAiModelId: z.ZodOptional<z.ZodString>;
                openAiCustomModelInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
                    maxTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
                    maxThinkingTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
                    contextWindow: z.ZodNumber;
                    supportsImages: z.ZodOptional<z.ZodBoolean>;
                    supportsPromptCache: z.ZodBoolean;
                    promptCacheRetention: z.ZodOptional<z.ZodEnum<["in_memory", "24h"]>>;
                    supportsVerbosity: z.ZodOptional<z.ZodBoolean>;
                    supportsReasoningBudget: z.ZodOptional<z.ZodBoolean>;
                    supportsReasoningBinary: z.ZodOptional<z.ZodBoolean>;
                    supportsTemperature: z.ZodOptional<z.ZodBoolean>;
                    defaultTemperature: z.ZodOptional<z.ZodNumber>;
                    requiredReasoningBudget: z.ZodOptional<z.ZodBoolean>;
                    supportsReasoningEffort: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>, "many">]>>;
                    requiredReasoningEffort: z.ZodOptional<z.ZodBoolean>;
                    preserveReasoning: z.ZodOptional<z.ZodBoolean>;
                    supportedParameters: z.ZodOptional<z.ZodArray<z.ZodEnum<["max_tokens", "temperature", "reasoning", "include_reasoning"]>, "many">>;
                    inputPrice: z.ZodOptional<z.ZodNumber>;
                    outputPrice: z.ZodOptional<z.ZodNumber>;
                    cacheWritesPrice: z.ZodOptional<z.ZodNumber>;
                    cacheReadsPrice: z.ZodOptional<z.ZodNumber>;
                    description: z.ZodOptional<z.ZodString>;
                    reasoningEffort: z.ZodOptional<z.ZodEnum<["none", "minimal", "low", "medium", "high"]>>;
                    minTokensPerCachePoint: z.ZodOptional<z.ZodNumber>;
                    maxCachePoints: z.ZodOptional<z.ZodNumber>;
                    cachableFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
                    deprecated: z.ZodOptional<z.ZodBoolean>;
                    isFree: z.ZodOptional<z.ZodBoolean>;
                    supportsNativeTools: z.ZodOptional<z.ZodBoolean>;
                    defaultToolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
                    tiers: z.ZodOptional<z.ZodArray<z.ZodObject<{
                        name: z.ZodOptional<z.ZodEnum<["default", "flex", "priority"]>>;
                        contextWindow: z.ZodNumber;
                        inputPrice: z.ZodOptional<z.ZodNumber>;
                        outputPrice: z.ZodOptional<z.ZodNumber>;
                        cacheWritesPrice: z.ZodOptional<z.ZodNumber>;
                        cacheReadsPrice: z.ZodOptional<z.ZodNumber>;
                    }, "strip", z.ZodTypeAny, {
                        contextWindow: number;
                        name?: "default" | "flex" | "priority" | undefined;
                        inputPrice?: number | undefined;
                        outputPrice?: number | undefined;
                        cacheWritesPrice?: number | undefined;
                        cacheReadsPrice?: number | undefined;
                    }, {
                        contextWindow: number;
                        name?: "default" | "flex" | "priority" | undefined;
                        inputPrice?: number | undefined;
                        outputPrice?: number | undefined;
                        cacheWritesPrice?: number | undefined;
                        cacheReadsPrice?: number | undefined;
                    }>, "many">>;
                }, "strip", z.ZodTypeAny, {
                    contextWindow: number;
                    supportsPromptCache: boolean;
                    maxTokens?: number | null | undefined;
                    maxThinkingTokens?: number | null | undefined;
                    supportsImages?: boolean | undefined;
                    promptCacheRetention?: "in_memory" | "24h" | undefined;
                    supportsVerbosity?: boolean | undefined;
                    supportsReasoningBudget?: boolean | undefined;
                    supportsReasoningBinary?: boolean | undefined;
                    supportsTemperature?: boolean | undefined;
                    defaultTemperature?: number | undefined;
                    requiredReasoningBudget?: boolean | undefined;
                    supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
                    requiredReasoningEffort?: boolean | undefined;
                    preserveReasoning?: boolean | undefined;
                    supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
                    inputPrice?: number | undefined;
                    outputPrice?: number | undefined;
                    cacheWritesPrice?: number | undefined;
                    cacheReadsPrice?: number | undefined;
                    description?: string | undefined;
                    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
                    minTokensPerCachePoint?: number | undefined;
                    maxCachePoints?: number | undefined;
                    cachableFields?: string[] | undefined;
                    deprecated?: boolean | undefined;
                    isFree?: boolean | undefined;
                    supportsNativeTools?: boolean | undefined;
                    defaultToolProtocol?: "xml" | "native" | undefined;
                    tiers?: {
                        contextWindow: number;
                        name?: "default" | "flex" | "priority" | undefined;
                        inputPrice?: number | undefined;
                        outputPrice?: number | undefined;
                        cacheWritesPrice?: number | undefined;
                        cacheReadsPrice?: number | undefined;
                    }[] | undefined;
                }, {
                    contextWindow: number;
                    supportsPromptCache: boolean;
                    maxTokens?: number | null | undefined;
                    maxThinkingTokens?: number | null | undefined;
                    supportsImages?: boolean | undefined;
                    promptCacheRetention?: "in_memory" | "24h" | undefined;
                    supportsVerbosity?: boolean | undefined;
                    supportsReasoningBudget?: boolean | undefined;
                    supportsReasoningBinary?: boolean | undefined;
                    supportsTemperature?: boolean | undefined;
                    defaultTemperature?: number | undefined;
                    requiredReasoningBudget?: boolean | undefined;
                    supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
                    requiredReasoningEffort?: boolean | undefined;
                    preserveReasoning?: boolean | undefined;
                    supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
                    inputPrice?: number | undefined;
                    outputPrice?: number | undefined;
                    cacheWritesPrice?: number | undefined;
                    cacheReadsPrice?: number | undefined;
                    description?: string | undefined;
                    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
                    minTokensPerCachePoint?: number | undefined;
                    maxCachePoints?: number | undefined;
                    cachableFields?: string[] | undefined;
                    deprecated?: boolean | undefined;
                    isFree?: boolean | undefined;
                    supportsNativeTools?: boolean | undefined;
                    defaultToolProtocol?: "xml" | "native" | undefined;
                    tiers?: {
                        contextWindow: number;
                        name?: "default" | "flex" | "priority" | undefined;
                        inputPrice?: number | undefined;
                        outputPrice?: number | undefined;
                        cacheWritesPrice?: number | undefined;
                        cacheReadsPrice?: number | undefined;
                    }[] | undefined;
                }>>>;
                openAiUseAzure: z.ZodOptional<z.ZodBoolean>;
                azureApiVersion: z.ZodOptional<z.ZodString>;
                openAiStreamingEnabled: z.ZodOptional<z.ZodBoolean>;
                openAiHostHeader: z.ZodOptional<z.ZodString>;
                openAiHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
                vertexKeyFile: z.ZodOptional<z.ZodString>;
                vertexJsonCredentials: z.ZodOptional<z.ZodString>;
                vertexProjectId: z.ZodOptional<z.ZodString>;
                vertexRegion: z.ZodOptional<z.ZodString>;
                awsAccessKey: z.ZodOptional<z.ZodString>;
                awsSecretKey: z.ZodOptional<z.ZodString>;
                awsSessionToken: z.ZodOptional<z.ZodString>;
                awsRegion: z.ZodOptional<z.ZodString>;
                awsUseCrossRegionInference: z.ZodOptional<z.ZodBoolean>;
                awsUseGlobalInference: z.ZodOptional<z.ZodBoolean>;
                awsUsePromptCache: z.ZodOptional<z.ZodBoolean>;
                awsProfile: z.ZodOptional<z.ZodString>;
                awsUseProfile: z.ZodOptional<z.ZodBoolean>;
                awsApiKey: z.ZodOptional<z.ZodString>;
                awsUseApiKey: z.ZodOptional<z.ZodBoolean>;
                awsCustomArn: z.ZodOptional<z.ZodString>;
                awsModelContextWindow: z.ZodOptional<z.ZodNumber>;
                awsBedrockEndpointEnabled: z.ZodOptional<z.ZodBoolean>;
                awsBedrockEndpoint: z.ZodOptional<z.ZodString>;
                awsBedrock1MContext: z.ZodOptional<z.ZodBoolean>;
                openRouterApiKey: z.ZodOptional<z.ZodString>;
                openRouterModelId: z.ZodOptional<z.ZodString>;
                openRouterBaseUrl: z.ZodOptional<z.ZodString>;
                openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
                openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
                glamaModelId: z.ZodOptional<z.ZodString>;
                glamaApiKey: z.ZodOptional<z.ZodString>;
                claudeCodePath: z.ZodOptional<z.ZodString>;
                claudeCodeMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
                apiKey: z.ZodOptional<z.ZodString>;
                anthropicBaseUrl: z.ZodOptional<z.ZodString>;
                anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
                anthropicBeta1MContext: z.ZodOptional<z.ZodBoolean>;
                apiProvider: z.ZodOptional<z.ZodEnum<["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "roo", "chutes", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "minimax", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"]>>;
            } & {
                currentApiConfigName: z.ZodOptional<z.ZodString>;
                listApiConfigMeta: z.ZodOptional<z.ZodArray<z.ZodObject<{
                    id: z.ZodString;
                    name: z.ZodString;
                    apiProvider: z.ZodOptional<z.ZodEnum<["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "roo", "chutes", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "minimax", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"]>>;
                    modelId: z.ZodOptional<z.ZodString>;
                }, "strip", z.ZodTypeAny, {
                    id: string;
                    name: string;
                    apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
                    modelId?: string | undefined;
                }, {
                    id: string;
                    name: string;
                    apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
                    modelId?: string | undefined;
                }>, "many">>;
                pinnedApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
                lastShownAnnouncementId: z.ZodOptional<z.ZodString>;
                customInstructions: z.ZodOptional<z.ZodString>;
                taskHistory: z.ZodOptional<z.ZodArray<z.ZodObject<{
                    id: z.ZodString;
                    rootTaskId: z.ZodOptional<z.ZodString>;
                    parentTaskId: z.ZodOptional<z.ZodString>;
                    number: z.ZodNumber;
                    ts: z.ZodNumber;
                    task: z.ZodString;
                    tokensIn: z.ZodNumber;
                    tokensOut: z.ZodNumber;
                    cacheWrites: z.ZodOptional<z.ZodNumber>;
                    cacheReads: z.ZodOptional<z.ZodNumber>;
                    totalCost: z.ZodNumber;
                    size: z.ZodOptional<z.ZodNumber>;
                    workspace: z.ZodOptional<z.ZodString>;
                    mode: z.ZodOptional<z.ZodString>;
                }, "strip", z.ZodTypeAny, {
                    number: number;
                    ts: number;
                    totalCost: number;
                    id: string;
                    task: string;
                    tokensIn: number;
                    tokensOut: number;
                    rootTaskId?: string | undefined;
                    parentTaskId?: string | undefined;
                    cacheWrites?: number | undefined;
                    cacheReads?: number | undefined;
                    size?: number | undefined;
                    workspace?: string | undefined;
                    mode?: string | undefined;
                }, {
                    number: number;
                    ts: number;
                    totalCost: number;
                    id: string;
                    task: string;
                    tokensIn: number;
                    tokensOut: number;
                    rootTaskId?: string | undefined;
                    parentTaskId?: string | undefined;
                    cacheWrites?: number | undefined;
                    cacheReads?: number | undefined;
                    size?: number | undefined;
                    workspace?: string | undefined;
                    mode?: string | undefined;
                }>, "many">>;
                dismissedUpsells: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
                openRouterImageApiKey: z.ZodOptional<z.ZodString>;
                openRouterImageGenerationSelectedModel: z.ZodOptional<z.ZodString>;
                condensingApiConfigId: z.ZodOptional<z.ZodString>;
                customCondensingPrompt: z.ZodOptional<z.ZodString>;
                autoApprovalEnabled: z.ZodOptional<z.ZodBoolean>;
                alwaysAllowReadOnly: z.ZodOptional<z.ZodBoolean>;
                alwaysAllowReadOnlyOutsideWorkspace: z.ZodOptional<z.ZodBoolean>;
                alwaysAllowWrite: z.ZodOptional<z.ZodBoolean>;
                alwaysAllowWriteOutsideWorkspace: z.ZodOptional<z.ZodBoolean>;
                alwaysAllowWriteProtected: z.ZodOptional<z.ZodBoolean>;
                writeDelayMs: z.ZodOptional<z.ZodNumber>;
                alwaysAllowBrowser: z.ZodOptional<z.ZodBoolean>;
                alwaysApproveResubmit: z.ZodOptional<z.ZodBoolean>;
                requestDelaySeconds: z.ZodOptional<z.ZodNumber>;
                alwaysAllowMcp: z.ZodOptional<z.ZodBoolean>;
                alwaysAllowModeSwitch: z.ZodOptional<z.ZodBoolean>;
                alwaysAllowSubtasks: z.ZodOptional<z.ZodBoolean>;
                alwaysAllowExecute: z.ZodOptional<z.ZodBoolean>;
                alwaysAllowFollowupQuestions: z.ZodOptional<z.ZodBoolean>;
                followupAutoApproveTimeoutMs: z.ZodOptional<z.ZodNumber>;
                alwaysAllowUpdateTodoList: z.ZodOptional<z.ZodBoolean>;
                allowedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
                deniedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
                commandExecutionTimeout: z.ZodOptional<z.ZodNumber>;
                commandTimeoutAllowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
                preventCompletionWithOpenTodos: z.ZodOptional<z.ZodBoolean>;
                allowedMaxRequests: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
                allowedMaxCost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
                autoCondenseContext: z.ZodOptional<z.ZodBoolean>;
                autoCondenseContextPercent: z.ZodOptional<z.ZodNumber>;
                maxConcurrentFileReads: z.ZodOptional<z.ZodNumber>;
                includeCurrentTime: z.ZodOptional<z.ZodBoolean>;
                includeCurrentCost: z.ZodOptional<z.ZodBoolean>;
                maxGitStatusFiles: z.ZodOptional<z.ZodNumber>;
                includeDiagnosticMessages: z.ZodOptional<z.ZodBoolean>;
                maxDiagnosticMessages: z.ZodOptional<z.ZodNumber>;
                browserToolEnabled: z.ZodOptional<z.ZodBoolean>;
                browserViewportSize: z.ZodOptional<z.ZodString>;
                screenshotQuality: z.ZodOptional<z.ZodNumber>;
                remoteBrowserEnabled: z.ZodOptional<z.ZodBoolean>;
                remoteBrowserHost: z.ZodOptional<z.ZodString>;
                cachedChromeHostUrl: z.ZodOptional<z.ZodString>;
                enableCheckpoints: z.ZodOptional<z.ZodBoolean>;
                checkpointTimeout: z.ZodOptional<z.ZodNumber>;
                ttsEnabled: z.ZodOptional<z.ZodBoolean>;
                ttsSpeed: z.ZodOptional<z.ZodNumber>;
                soundEnabled: z.ZodOptional<z.ZodBoolean>;
                soundVolume: z.ZodOptional<z.ZodNumber>;
                maxOpenTabsContext: z.ZodOptional<z.ZodNumber>;
                maxWorkspaceFiles: z.ZodOptional<z.ZodNumber>;
                showRooIgnoredFiles: z.ZodOptional<z.ZodBoolean>;
                maxReadFileLine: z.ZodOptional<z.ZodNumber>;
                maxImageFileSize: z.ZodOptional<z.ZodNumber>;
                maxTotalImageSize: z.ZodOptional<z.ZodNumber>;
                terminalOutputLineLimit: z.ZodOptional<z.ZodNumber>;
                terminalOutputCharacterLimit: z.ZodOptional<z.ZodNumber>;
                terminalShellIntegrationTimeout: z.ZodOptional<z.ZodNumber>;
                terminalShellIntegrationDisabled: z.ZodOptional<z.ZodBoolean>;
                terminalCommandDelay: z.ZodOptional<z.ZodNumber>;
                terminalPowershellCounter: z.ZodOptional<z.ZodBoolean>;
                terminalZshClearEolMark: z.ZodOptional<z.ZodBoolean>;
                terminalZshOhMy: z.ZodOptional<z.ZodBoolean>;
                terminalZshP10k: z.ZodOptional<z.ZodBoolean>;
                terminalZdotdir: z.ZodOptional<z.ZodBoolean>;
                terminalCompressProgressBar: z.ZodOptional<z.ZodBoolean>;
                diagnosticsEnabled: z.ZodOptional<z.ZodBoolean>;
                rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
                diffEnabled: z.ZodOptional<z.ZodBoolean>;
                fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
                experiments: z.ZodOptional<z.ZodObject<{
                    powerSteering: z.ZodOptional<z.ZodBoolean>;
                    multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
                    preventFocusDisruption: z.ZodOptional<z.ZodBoolean>;
                    imageGeneration: z.ZodOptional<z.ZodBoolean>;
                    runSlashCommand: z.ZodOptional<z.ZodBoolean>;
                    nativeToolCalling: z.ZodOptional<z.ZodBoolean>;
                }, "strip", z.ZodTypeAny, {
                    powerSteering?: boolean | undefined;
                    multiFileApplyDiff?: boolean | undefined;
                    preventFocusDisruption?: boolean | undefined;
                    imageGeneration?: boolean | undefined;
                    runSlashCommand?: boolean | undefined;
                    nativeToolCalling?: boolean | undefined;
                }, {
                    powerSteering?: boolean | undefined;
                    multiFileApplyDiff?: boolean | undefined;
                    preventFocusDisruption?: boolean | undefined;
                    imageGeneration?: boolean | undefined;
                    runSlashCommand?: boolean | undefined;
                    nativeToolCalling?: boolean | undefined;
                }>>;
                codebaseIndexModels: z.ZodOptional<z.ZodObject<{
                    openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
                        dimension: z.ZodNumber;
                    }, "strip", z.ZodTypeAny, {
                        dimension: number;
                    }, {
                        dimension: number;
                    }>>>;
                    ollama: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
                        dimension: z.ZodNumber;
                    }, "strip", z.ZodTypeAny, {
                        dimension: number;
                    }, {
                        dimension: number;
                    }>>>;
                    "openai-compatible": z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
                        dimension: z.ZodNumber;
                    }, "strip", z.ZodTypeAny, {
                        dimension: number;
                    }, {
                        dimension: number;
                    }>>>;
                    gemini: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
                        dimension: z.ZodNumber;
                    }, "strip", z.ZodTypeAny, {
                        dimension: number;
                    }, {
                        dimension: number;
                    }>>>;
                    mistral: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
                        dimension: z.ZodNumber;
                    }, "strip", z.ZodTypeAny, {
                        dimension: number;
                    }, {
                        dimension: number;
                    }>>>;
                    "vercel-ai-gateway": z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
                        dimension: z.ZodNumber;
                    }, "strip", z.ZodTypeAny, {
                        dimension: number;
                    }, {
                        dimension: number;
                    }>>>;
                    openrouter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
                        dimension: z.ZodNumber;
                    }, "strip", z.ZodTypeAny, {
                        dimension: number;
                    }, {
                        dimension: number;
                    }>>>;
                }, "strip", z.ZodTypeAny, {
                    openai?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    ollama?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    "openai-compatible"?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    gemini?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    mistral?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    "vercel-ai-gateway"?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    openrouter?: Record<string, {
                        dimension: number;
                    }> | undefined;
                }, {
                    openai?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    ollama?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    "openai-compatible"?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    gemini?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    mistral?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    "vercel-ai-gateway"?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    openrouter?: Record<string, {
                        dimension: number;
                    }> | undefined;
                }>>;
                codebaseIndexConfig: z.ZodOptional<z.ZodObject<{
                    codebaseIndexEnabled: z.ZodOptional<z.ZodBoolean>;
                    codebaseIndexQdrantUrl: z.ZodOptional<z.ZodString>;
                    codebaseIndexEmbedderProvider: z.ZodOptional<z.ZodEnum<["openai", "ollama", "openai-compatible", "gemini", "mistral", "vercel-ai-gateway", "openrouter"]>>;
                    codebaseIndexEmbedderBaseUrl: z.ZodOptional<z.ZodString>;
                    codebaseIndexEmbedderModelId: z.ZodOptional<z.ZodString>;
                    codebaseIndexEmbedderModelDimension: z.ZodOptional<z.ZodNumber>;
                    codebaseIndexSearchMinScore: z.ZodOptional<z.ZodNumber>;
                    codebaseIndexSearchMaxResults: z.ZodOptional<z.ZodNumber>;
                    codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
                    codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
                }, "strip", z.ZodTypeAny, {
                    codebaseIndexEnabled?: boolean | undefined;
                    codebaseIndexQdrantUrl?: string | undefined;
                    codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | undefined;
                    codebaseIndexEmbedderBaseUrl?: string | undefined;
                    codebaseIndexEmbedderModelId?: string | undefined;
                    codebaseIndexEmbedderModelDimension?: number | undefined;
                    codebaseIndexSearchMinScore?: number | undefined;
                    codebaseIndexSearchMaxResults?: number | undefined;
                    codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
                    codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
                }, {
                    codebaseIndexEnabled?: boolean | undefined;
                    codebaseIndexQdrantUrl?: string | undefined;
                    codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | undefined;
                    codebaseIndexEmbedderBaseUrl?: string | undefined;
                    codebaseIndexEmbedderModelId?: string | undefined;
                    codebaseIndexEmbedderModelDimension?: number | undefined;
                    codebaseIndexSearchMinScore?: number | undefined;
                    codebaseIndexSearchMaxResults?: number | undefined;
                    codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
                    codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
                }>>;
                language: z.ZodOptional<z.ZodEnum<["ca", "de", "en", "es", "fr", "hi", "id", "it", "ja", "ko", "nl", "pl", "pt-BR", "ru", "tr", "vi", "zh-CN", "zh-TW"]>>;
                telemetrySetting: z.ZodOptional<z.ZodEnum<["unset", "enabled", "disabled"]>>;
                mcpEnabled: z.ZodOptional<z.ZodBoolean>;
                enableMcpServerCreation: z.ZodOptional<z.ZodBoolean>;
                mode: z.ZodOptional<z.ZodString>;
                modeApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
                customModes: z.ZodOptional<z.ZodArray<z.ZodObject<{
                    slug: z.ZodString;
                    name: z.ZodString;
                    roleDefinition: z.ZodString;
                    whenToUse: z.ZodOptional<z.ZodString>;
                    description: z.ZodOptional<z.ZodString>;
                    customInstructions: z.ZodOptional<z.ZodString>;
                    groups: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodTuple<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodObject<{
                        fileRegex: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
                        description: z.ZodOptional<z.ZodString>;
                    }, "strip", z.ZodTypeAny, {
                        description?: string | undefined;
                        fileRegex?: string | undefined;
                    }, {
                        description?: string | undefined;
                        fileRegex?: string | undefined;
                    }>], null>]>, "many">, ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
                        description?: string | undefined;
                        fileRegex?: string | undefined;
                    }])[], ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
                        description?: string | undefined;
                        fileRegex?: string | undefined;
                    }])[]>;
                    source: z.ZodOptional<z.ZodEnum<["global", "project"]>>;
                }, "strip", z.ZodTypeAny, {
                    name: string;
                    slug: string;
                    roleDefinition: string;
                    groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
                        description?: string | undefined;
                        fileRegex?: string | undefined;
                    }])[];
                    description?: string | undefined;
                    whenToUse?: string | undefined;
                    customInstructions?: string | undefined;
                    source?: "global" | "project" | undefined;
                }, {
                    name: string;
                    slug: string;
                    roleDefinition: string;
                    groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
                        description?: string | undefined;
                        fileRegex?: string | undefined;
                    }])[];
                    description?: string | undefined;
                    whenToUse?: string | undefined;
                    customInstructions?: string | undefined;
                    source?: "global" | "project" | undefined;
                }>, "many">>;
                customModePrompts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodObject<{
                    roleDefinition: z.ZodOptional<z.ZodString>;
                    whenToUse: z.ZodOptional<z.ZodString>;
                    description: z.ZodOptional<z.ZodString>;
                    customInstructions: z.ZodOptional<z.ZodString>;
                }, "strip", z.ZodTypeAny, {
                    description?: string | undefined;
                    roleDefinition?: string | undefined;
                    whenToUse?: string | undefined;
                    customInstructions?: string | undefined;
                }, {
                    description?: string | undefined;
                    roleDefinition?: string | undefined;
                    whenToUse?: string | undefined;
                    customInstructions?: string | undefined;
                }>>>>;
                customSupportPrompts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
                enhancementApiConfigId: z.ZodOptional<z.ZodString>;
                includeTaskHistoryInEnhance: z.ZodOptional<z.ZodBoolean>;
                historyPreviewCollapsed: z.ZodOptional<z.ZodBoolean>;
                reasoningBlockCollapsed: z.ZodOptional<z.ZodBoolean>;
                profileThresholds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
                hasOpenedModeSelector: z.ZodOptional<z.ZodBoolean>;
                lastModeExportPath: z.ZodOptional<z.ZodString>;
                lastModeImportPath: z.ZodOptional<z.ZodString>;
            }, "strip", z.ZodTypeAny, {
                reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
                codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
                codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
                codeIndexOpenAiKey?: string | undefined;
                codeIndexQdrantApiKey?: string | undefined;
                codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
                codebaseIndexGeminiApiKey?: string | undefined;
                codebaseIndexMistralApiKey?: string | undefined;
                codebaseIndexVercelAiGatewayApiKey?: string | undefined;
                codebaseIndexOpenRouterApiKey?: string | undefined;
                language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
                apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
                includeMaxTokens?: boolean | undefined;
                diffEnabled?: boolean | undefined;
                todoListEnabled?: boolean | undefined;
                fuzzyMatchThreshold?: number | undefined;
                modelTemperature?: number | null | undefined;
                rateLimitSeconds?: number | undefined;
                consecutiveMistakeLimit?: number | undefined;
                enableReasoningEffort?: boolean | undefined;
                modelMaxTokens?: number | undefined;
                modelMaxThinkingTokens?: number | undefined;
                verbosity?: "low" | "medium" | "high" | undefined;
                toolProtocol?: "xml" | "native" | undefined;
                apiModelId?: string | undefined;
                apiKey?: string | undefined;
                anthropicBaseUrl?: string | undefined;
                anthropicUseAuthToken?: boolean | undefined;
                anthropicBeta1MContext?: boolean | undefined;
                claudeCodePath?: string | undefined;
                claudeCodeMaxOutputTokens?: number | undefined;
                glamaModelId?: string | undefined;
                glamaApiKey?: string | undefined;
                openRouterApiKey?: string | undefined;
                openRouterModelId?: string | undefined;
                openRouterBaseUrl?: string | undefined;
                openRouterSpecificProvider?: string | undefined;
                openRouterUseMiddleOutTransform?: boolean | undefined;
                awsAccessKey?: string | undefined;
                awsSecretKey?: string | undefined;
                awsSessionToken?: string | undefined;
                awsRegion?: string | undefined;
                awsUseCrossRegionInference?: boolean | undefined;
                awsUseGlobalInference?: boolean | undefined;
                awsUsePromptCache?: boolean | undefined;
                awsProfile?: string | undefined;
                awsUseProfile?: boolean | undefined;
                awsApiKey?: string | undefined;
                awsUseApiKey?: boolean | undefined;
                awsCustomArn?: string | undefined;
                awsModelContextWindow?: number | undefined;
                awsBedrockEndpointEnabled?: boolean | undefined;
                awsBedrockEndpoint?: string | undefined;
                awsBedrock1MContext?: boolean | undefined;
                vertexKeyFile?: string | undefined;
                vertexJsonCredentials?: string | undefined;
                vertexProjectId?: string | undefined;
                vertexRegion?: string | undefined;
                enableUrlContext?: boolean | undefined;
                enableGrounding?: boolean | undefined;
                openAiBaseUrl?: string | undefined;
                openAiApiKey?: string | undefined;
                openAiLegacyFormat?: boolean | undefined;
                openAiR1FormatEnabled?: boolean | undefined;
                openAiModelId?: string | undefined;
                openAiCustomModelInfo?: {
                    contextWindow: number;
                    supportsPromptCache: boolean;
                    maxTokens?: number | null | undefined;
                    maxThinkingTokens?: number | null | undefined;
                    supportsImages?: boolean | undefined;
                    promptCacheRetention?: "in_memory" | "24h" | undefined;
                    supportsVerbosity?: boolean | undefined;
                    supportsReasoningBudget?: boolean | undefined;
                    supportsReasoningBinary?: boolean | undefined;
                    supportsTemperature?: boolean | undefined;
                    defaultTemperature?: number | undefined;
                    requiredReasoningBudget?: boolean | undefined;
                    supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
                    requiredReasoningEffort?: boolean | undefined;
                    preserveReasoning?: boolean | undefined;
                    supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
                    inputPrice?: number | undefined;
                    outputPrice?: number | undefined;
                    cacheWritesPrice?: number | undefined;
                    cacheReadsPrice?: number | undefined;
                    description?: string | undefined;
                    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
                    minTokensPerCachePoint?: number | undefined;
                    maxCachePoints?: number | undefined;
                    cachableFields?: string[] | undefined;
                    deprecated?: boolean | undefined;
                    isFree?: boolean | undefined;
                    supportsNativeTools?: boolean | undefined;
                    defaultToolProtocol?: "xml" | "native" | undefined;
                    tiers?: {
                        contextWindow: number;
                        name?: "default" | "flex" | "priority" | undefined;
                        inputPrice?: number | undefined;
                        outputPrice?: number | undefined;
                        cacheWritesPrice?: number | undefined;
                        cacheReadsPrice?: number | undefined;
                    }[] | undefined;
                } | null | undefined;
                openAiUseAzure?: boolean | undefined;
                azureApiVersion?: string | undefined;
                openAiStreamingEnabled?: boolean | undefined;
                openAiHostHeader?: string | undefined;
                openAiHeaders?: Record<string, string> | undefined;
                ollamaModelId?: string | undefined;
                ollamaBaseUrl?: string | undefined;
                ollamaApiKey?: string | undefined;
                ollamaNumCtx?: number | undefined;
                vsCodeLmModelSelector?: {
                    id?: string | undefined;
                    family?: string | undefined;
                    version?: string | undefined;
                    vendor?: string | undefined;
                } | undefined;
                lmStudioModelId?: string | undefined;
                lmStudioBaseUrl?: string | undefined;
                lmStudioDraftModelId?: string | undefined;
                lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
                geminiApiKey?: string | undefined;
                googleGeminiBaseUrl?: string | undefined;
                geminiCliOAuthPath?: string | undefined;
                geminiCliProjectId?: string | undefined;
                openAiNativeApiKey?: string | undefined;
                openAiNativeBaseUrl?: string | undefined;
                openAiNativeServiceTier?: "default" | "flex" | "priority" | undefined;
                mistralApiKey?: string | undefined;
                mistralCodestralUrl?: string | undefined;
                deepSeekBaseUrl?: string | undefined;
                deepSeekApiKey?: string | undefined;
                deepInfraBaseUrl?: string | undefined;
                deepInfraApiKey?: string | undefined;
                deepInfraModelId?: string | undefined;
                doubaoBaseUrl?: string | undefined;
                doubaoApiKey?: string | undefined;
                moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined;
                moonshotApiKey?: string | undefined;
                minimaxBaseUrl?: "https://api.minimax.io/v1" | "https://api.minimaxi.com/v1" | undefined;
                minimaxApiKey?: string | undefined;
                unboundApiKey?: string | undefined;
                unboundModelId?: string | undefined;
                requestyBaseUrl?: string | undefined;
                requestyApiKey?: string | undefined;
                requestyModelId?: string | undefined;
                fakeAi?: unknown;
                xaiApiKey?: string | undefined;
                groqApiKey?: string | undefined;
                huggingFaceApiKey?: string | undefined;
                huggingFaceModelId?: string | undefined;
                huggingFaceInferenceProvider?: string | undefined;
                chutesApiKey?: string | undefined;
                litellmBaseUrl?: string | undefined;
                litellmApiKey?: string | undefined;
                litellmModelId?: string | undefined;
                litellmUsePromptCache?: boolean | undefined;
                cerebrasApiKey?: string | undefined;
                sambaNovaApiKey?: string | undefined;
                zaiApiKey?: string | undefined;
                zaiApiLine?: "international_coding" | "china_coding" | undefined;
                fireworksApiKey?: string | undefined;
                featherlessApiKey?: string | undefined;
                ioIntelligenceModelId?: string | undefined;
                ioIntelligenceApiKey?: string | undefined;
                qwenCodeOauthPath?: string | undefined;
                vercelAiGatewayApiKey?: string | undefined;
                vercelAiGatewayModelId?: string | undefined;
                mode?: string | undefined;
                customInstructions?: string | undefined;
                customModes?: {
                    name: string;
                    slug: string;
                    roleDefinition: string;
                    groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
                        description?: string | undefined;
                        fileRegex?: string | undefined;
                    }])[];
                    description?: string | undefined;
                    whenToUse?: string | undefined;
                    customInstructions?: string | undefined;
                    source?: "global" | "project" | undefined;
                }[] | undefined;
                currentApiConfigName?: string | undefined;
                listApiConfigMeta?: {
                    id: string;
                    name: string;
                    apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
                    modelId?: string | undefined;
                }[] | undefined;
                pinnedApiConfigs?: Record<string, boolean> | undefined;
                lastShownAnnouncementId?: string | undefined;
                taskHistory?: {
                    number: number;
                    ts: number;
                    totalCost: number;
                    id: string;
                    task: string;
                    tokensIn: number;
                    tokensOut: number;
                    rootTaskId?: string | undefined;
                    parentTaskId?: string | undefined;
                    cacheWrites?: number | undefined;
                    cacheReads?: number | undefined;
                    size?: number | undefined;
                    workspace?: string | undefined;
                    mode?: string | undefined;
                }[] | undefined;
                dismissedUpsells?: string[] | undefined;
                openRouterImageApiKey?: string | undefined;
                openRouterImageGenerationSelectedModel?: string | undefined;
                condensingApiConfigId?: string | undefined;
                customCondensingPrompt?: string | undefined;
                autoApprovalEnabled?: boolean | undefined;
                alwaysAllowReadOnly?: boolean | undefined;
                alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
                alwaysAllowWrite?: boolean | undefined;
                alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
                alwaysAllowWriteProtected?: boolean | undefined;
                writeDelayMs?: number | undefined;
                alwaysAllowBrowser?: boolean | undefined;
                alwaysApproveResubmit?: boolean | undefined;
                requestDelaySeconds?: number | undefined;
                alwaysAllowMcp?: boolean | undefined;
                alwaysAllowModeSwitch?: boolean | undefined;
                alwaysAllowSubtasks?: boolean | undefined;
                alwaysAllowExecute?: boolean | undefined;
                alwaysAllowFollowupQuestions?: boolean | undefined;
                followupAutoApproveTimeoutMs?: number | undefined;
                alwaysAllowUpdateTodoList?: boolean | undefined;
                allowedCommands?: string[] | undefined;
                deniedCommands?: string[] | undefined;
                commandExecutionTimeout?: number | undefined;
                commandTimeoutAllowlist?: string[] | undefined;
                preventCompletionWithOpenTodos?: boolean | undefined;
                allowedMaxRequests?: number | null | undefined;
                allowedMaxCost?: number | null | undefined;
                autoCondenseContext?: boolean | undefined;
                autoCondenseContextPercent?: number | undefined;
                maxConcurrentFileReads?: number | undefined;
                includeCurrentTime?: boolean | undefined;
                includeCurrentCost?: boolean | undefined;
                maxGitStatusFiles?: number | undefined;
                includeDiagnosticMessages?: boolean | undefined;
                maxDiagnosticMessages?: number | undefined;
                browserToolEnabled?: boolean | undefined;
                browserViewportSize?: string | undefined;
                screenshotQuality?: number | undefined;
                remoteBrowserEnabled?: boolean | undefined;
                remoteBrowserHost?: string | undefined;
                cachedChromeHostUrl?: string | undefined;
                enableCheckpoints?: boolean | undefined;
                checkpointTimeout?: number | undefined;
                ttsEnabled?: boolean | undefined;
                ttsSpeed?: number | undefined;
                soundEnabled?: boolean | undefined;
                soundVolume?: number | undefined;
                maxOpenTabsContext?: number | undefined;
                maxWorkspaceFiles?: number | undefined;
                showRooIgnoredFiles?: boolean | undefined;
                maxReadFileLine?: number | undefined;
                maxImageFileSize?: number | undefined;
                maxTotalImageSize?: number | undefined;
                terminalOutputLineLimit?: number | undefined;
                terminalOutputCharacterLimit?: number | undefined;
                terminalShellIntegrationTimeout?: number | undefined;
                terminalShellIntegrationDisabled?: boolean | undefined;
                terminalCommandDelay?: number | undefined;
                terminalPowershellCounter?: boolean | undefined;
                terminalZshClearEolMark?: boolean | undefined;
                terminalZshOhMy?: boolean | undefined;
                terminalZshP10k?: boolean | undefined;
                terminalZdotdir?: boolean | undefined;
                terminalCompressProgressBar?: boolean | undefined;
                diagnosticsEnabled?: boolean | undefined;
                experiments?: {
                    powerSteering?: boolean | undefined;
                    multiFileApplyDiff?: boolean | undefined;
                    preventFocusDisruption?: boolean | undefined;
                    imageGeneration?: boolean | undefined;
                    runSlashCommand?: boolean | undefined;
                    nativeToolCalling?: boolean | undefined;
                } | undefined;
                codebaseIndexModels?: {
                    openai?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    ollama?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    "openai-compatible"?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    gemini?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    mistral?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    "vercel-ai-gateway"?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    openrouter?: Record<string, {
                        dimension: number;
                    }> | undefined;
                } | undefined;
                codebaseIndexConfig?: {
                    codebaseIndexEnabled?: boolean | undefined;
                    codebaseIndexQdrantUrl?: string | undefined;
                    codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | undefined;
                    codebaseIndexEmbedderBaseUrl?: string | undefined;
                    codebaseIndexEmbedderModelId?: string | undefined;
                    codebaseIndexEmbedderModelDimension?: number | undefined;
                    codebaseIndexSearchMinScore?: number | undefined;
                    codebaseIndexSearchMaxResults?: number | undefined;
                    codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
                    codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
                } | undefined;
                telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
                mcpEnabled?: boolean | undefined;
                enableMcpServerCreation?: boolean | undefined;
                modeApiConfigs?: Record<string, string> | undefined;
                customModePrompts?: Record<string, {
                    description?: string | undefined;
                    roleDefinition?: string | undefined;
                    whenToUse?: string | undefined;
                    customInstructions?: string | undefined;
                } | undefined> | undefined;
                customSupportPrompts?: Record<string, string | undefined> | undefined;
                enhancementApiConfigId?: string | undefined;
                includeTaskHistoryInEnhance?: boolean | undefined;
                historyPreviewCollapsed?: boolean | undefined;
                reasoningBlockCollapsed?: boolean | undefined;
                profileThresholds?: Record<string, number> | undefined;
                hasOpenedModeSelector?: boolean | undefined;
                lastModeExportPath?: string | undefined;
                lastModeImportPath?: string | undefined;
            }, {
                reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
                codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
                codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
                codeIndexOpenAiKey?: string | undefined;
                codeIndexQdrantApiKey?: string | undefined;
                codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
                codebaseIndexGeminiApiKey?: string | undefined;
                codebaseIndexMistralApiKey?: string | undefined;
                codebaseIndexVercelAiGatewayApiKey?: string | undefined;
                codebaseIndexOpenRouterApiKey?: string | undefined;
                language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
                apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
                includeMaxTokens?: boolean | undefined;
                diffEnabled?: boolean | undefined;
                todoListEnabled?: boolean | undefined;
                fuzzyMatchThreshold?: number | undefined;
                modelTemperature?: number | null | undefined;
                rateLimitSeconds?: number | undefined;
                consecutiveMistakeLimit?: number | undefined;
                enableReasoningEffort?: boolean | undefined;
                modelMaxTokens?: number | undefined;
                modelMaxThinkingTokens?: number | undefined;
                verbosity?: "low" | "medium" | "high" | undefined;
                toolProtocol?: "xml" | "native" | undefined;
                apiModelId?: string | undefined;
                apiKey?: string | undefined;
                anthropicBaseUrl?: string | undefined;
                anthropicUseAuthToken?: boolean | undefined;
                anthropicBeta1MContext?: boolean | undefined;
                claudeCodePath?: string | undefined;
                claudeCodeMaxOutputTokens?: number | undefined;
                glamaModelId?: string | undefined;
                glamaApiKey?: string | undefined;
                openRouterApiKey?: string | undefined;
                openRouterModelId?: string | undefined;
                openRouterBaseUrl?: string | undefined;
                openRouterSpecificProvider?: string | undefined;
                openRouterUseMiddleOutTransform?: boolean | undefined;
                awsAccessKey?: string | undefined;
                awsSecretKey?: string | undefined;
                awsSessionToken?: string | undefined;
                awsRegion?: string | undefined;
                awsUseCrossRegionInference?: boolean | undefined;
                awsUseGlobalInference?: boolean | undefined;
                awsUsePromptCache?: boolean | undefined;
                awsProfile?: string | undefined;
                awsUseProfile?: boolean | undefined;
                awsApiKey?: string | undefined;
                awsUseApiKey?: boolean | undefined;
                awsCustomArn?: string | undefined;
                awsModelContextWindow?: number | undefined;
                awsBedrockEndpointEnabled?: boolean | undefined;
                awsBedrockEndpoint?: string | undefined;
                awsBedrock1MContext?: boolean | undefined;
                vertexKeyFile?: string | undefined;
                vertexJsonCredentials?: string | undefined;
                vertexProjectId?: string | undefined;
                vertexRegion?: string | undefined;
                enableUrlContext?: boolean | undefined;
                enableGrounding?: boolean | undefined;
                openAiBaseUrl?: string | undefined;
                openAiApiKey?: string | undefined;
                openAiLegacyFormat?: boolean | undefined;
                openAiR1FormatEnabled?: boolean | undefined;
                openAiModelId?: string | undefined;
                openAiCustomModelInfo?: {
                    contextWindow: number;
                    supportsPromptCache: boolean;
                    maxTokens?: number | null | undefined;
                    maxThinkingTokens?: number | null | undefined;
                    supportsImages?: boolean | undefined;
                    promptCacheRetention?: "in_memory" | "24h" | undefined;
                    supportsVerbosity?: boolean | undefined;
                    supportsReasoningBudget?: boolean | undefined;
                    supportsReasoningBinary?: boolean | undefined;
                    supportsTemperature?: boolean | undefined;
                    defaultTemperature?: number | undefined;
                    requiredReasoningBudget?: boolean | undefined;
                    supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
                    requiredReasoningEffort?: boolean | undefined;
                    preserveReasoning?: boolean | undefined;
                    supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
                    inputPrice?: number | undefined;
                    outputPrice?: number | undefined;
                    cacheWritesPrice?: number | undefined;
                    cacheReadsPrice?: number | undefined;
                    description?: string | undefined;
                    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
                    minTokensPerCachePoint?: number | undefined;
                    maxCachePoints?: number | undefined;
                    cachableFields?: string[] | undefined;
                    deprecated?: boolean | undefined;
                    isFree?: boolean | undefined;
                    supportsNativeTools?: boolean | undefined;
                    defaultToolProtocol?: "xml" | "native" | undefined;
                    tiers?: {
                        contextWindow: number;
                        name?: "default" | "flex" | "priority" | undefined;
                        inputPrice?: number | undefined;
                        outputPrice?: number | undefined;
                        cacheWritesPrice?: number | undefined;
                        cacheReadsPrice?: number | undefined;
                    }[] | undefined;
                } | null | undefined;
                openAiUseAzure?: boolean | undefined;
                azureApiVersion?: string | undefined;
                openAiStreamingEnabled?: boolean | undefined;
                openAiHostHeader?: string | undefined;
                openAiHeaders?: Record<string, string> | undefined;
                ollamaModelId?: string | undefined;
                ollamaBaseUrl?: string | undefined;
                ollamaApiKey?: string | undefined;
                ollamaNumCtx?: number | undefined;
                vsCodeLmModelSelector?: {
                    id?: string | undefined;
                    family?: string | undefined;
                    version?: string | undefined;
                    vendor?: string | undefined;
                } | undefined;
                lmStudioModelId?: string | undefined;
                lmStudioBaseUrl?: string | undefined;
                lmStudioDraftModelId?: string | undefined;
                lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
                geminiApiKey?: string | undefined;
                googleGeminiBaseUrl?: string | undefined;
                geminiCliOAuthPath?: string | undefined;
                geminiCliProjectId?: string | undefined;
                openAiNativeApiKey?: string | undefined;
                openAiNativeBaseUrl?: string | undefined;
                openAiNativeServiceTier?: "default" | "flex" | "priority" | undefined;
                mistralApiKey?: string | undefined;
                mistralCodestralUrl?: string | undefined;
                deepSeekBaseUrl?: string | undefined;
                deepSeekApiKey?: string | undefined;
                deepInfraBaseUrl?: string | undefined;
                deepInfraApiKey?: string | undefined;
                deepInfraModelId?: string | undefined;
                doubaoBaseUrl?: string | undefined;
                doubaoApiKey?: string | undefined;
                moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined;
                moonshotApiKey?: string | undefined;
                minimaxBaseUrl?: "https://api.minimax.io/v1" | "https://api.minimaxi.com/v1" | undefined;
                minimaxApiKey?: string | undefined;
                unboundApiKey?: string | undefined;
                unboundModelId?: string | undefined;
                requestyBaseUrl?: string | undefined;
                requestyApiKey?: string | undefined;
                requestyModelId?: string | undefined;
                fakeAi?: unknown;
                xaiApiKey?: string | undefined;
                groqApiKey?: string | undefined;
                huggingFaceApiKey?: string | undefined;
                huggingFaceModelId?: string | undefined;
                huggingFaceInferenceProvider?: string | undefined;
                chutesApiKey?: string | undefined;
                litellmBaseUrl?: string | undefined;
                litellmApiKey?: string | undefined;
                litellmModelId?: string | undefined;
                litellmUsePromptCache?: boolean | undefined;
                cerebrasApiKey?: string | undefined;
                sambaNovaApiKey?: string | undefined;
                zaiApiKey?: string | undefined;
                zaiApiLine?: "international_coding" | "china_coding" | undefined;
                fireworksApiKey?: string | undefined;
                featherlessApiKey?: string | undefined;
                ioIntelligenceModelId?: string | undefined;
                ioIntelligenceApiKey?: string | undefined;
                qwenCodeOauthPath?: string | undefined;
                vercelAiGatewayApiKey?: string | undefined;
                vercelAiGatewayModelId?: string | undefined;
                mode?: string | undefined;
                customInstructions?: string | undefined;
                customModes?: {
                    name: string;
                    slug: string;
                    roleDefinition: string;
                    groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
                        description?: string | undefined;
                        fileRegex?: string | undefined;
                    }])[];
                    description?: string | undefined;
                    whenToUse?: string | undefined;
                    customInstructions?: string | undefined;
                    source?: "global" | "project" | undefined;
                }[] | undefined;
                currentApiConfigName?: string | undefined;
                listApiConfigMeta?: {
                    id: string;
                    name: string;
                    apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
                    modelId?: string | undefined;
                }[] | undefined;
                pinnedApiConfigs?: Record<string, boolean> | undefined;
                lastShownAnnouncementId?: string | undefined;
                taskHistory?: {
                    number: number;
                    ts: number;
                    totalCost: number;
                    id: string;
                    task: string;
                    tokensIn: number;
                    tokensOut: number;
                    rootTaskId?: string | undefined;
                    parentTaskId?: string | undefined;
                    cacheWrites?: number | undefined;
                    cacheReads?: number | undefined;
                    size?: number | undefined;
                    workspace?: string | undefined;
                    mode?: string | undefined;
                }[] | undefined;
                dismissedUpsells?: string[] | undefined;
                openRouterImageApiKey?: string | undefined;
                openRouterImageGenerationSelectedModel?: string | undefined;
                condensingApiConfigId?: string | undefined;
                customCondensingPrompt?: string | undefined;
                autoApprovalEnabled?: boolean | undefined;
                alwaysAllowReadOnly?: boolean | undefined;
                alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
                alwaysAllowWrite?: boolean | undefined;
                alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
                alwaysAllowWriteProtected?: boolean | undefined;
                writeDelayMs?: number | undefined;
                alwaysAllowBrowser?: boolean | undefined;
                alwaysApproveResubmit?: boolean | undefined;
                requestDelaySeconds?: number | undefined;
                alwaysAllowMcp?: boolean | undefined;
                alwaysAllowModeSwitch?: boolean | undefined;
                alwaysAllowSubtasks?: boolean | undefined;
                alwaysAllowExecute?: boolean | undefined;
                alwaysAllowFollowupQuestions?: boolean | undefined;
                followupAutoApproveTimeoutMs?: number | undefined;
                alwaysAllowUpdateTodoList?: boolean | undefined;
                allowedCommands?: string[] | undefined;
                deniedCommands?: string[] | undefined;
                commandExecutionTimeout?: number | undefined;
                commandTimeoutAllowlist?: string[] | undefined;
                preventCompletionWithOpenTodos?: boolean | undefined;
                allowedMaxRequests?: number | null | undefined;
                allowedMaxCost?: number | null | undefined;
                autoCondenseContext?: boolean | undefined;
                autoCondenseContextPercent?: number | undefined;
                maxConcurrentFileReads?: number | undefined;
                includeCurrentTime?: boolean | undefined;
                includeCurrentCost?: boolean | undefined;
                maxGitStatusFiles?: number | undefined;
                includeDiagnosticMessages?: boolean | undefined;
                maxDiagnosticMessages?: number | undefined;
                browserToolEnabled?: boolean | undefined;
                browserViewportSize?: string | undefined;
                screenshotQuality?: number | undefined;
                remoteBrowserEnabled?: boolean | undefined;
                remoteBrowserHost?: string | undefined;
                cachedChromeHostUrl?: string | undefined;
                enableCheckpoints?: boolean | undefined;
                checkpointTimeout?: number | undefined;
                ttsEnabled?: boolean | undefined;
                ttsSpeed?: number | undefined;
                soundEnabled?: boolean | undefined;
                soundVolume?: number | undefined;
                maxOpenTabsContext?: number | undefined;
                maxWorkspaceFiles?: number | undefined;
                showRooIgnoredFiles?: boolean | undefined;
                maxReadFileLine?: number | undefined;
                maxImageFileSize?: number | undefined;
                maxTotalImageSize?: number | undefined;
                terminalOutputLineLimit?: number | undefined;
                terminalOutputCharacterLimit?: number | undefined;
                terminalShellIntegrationTimeout?: number | undefined;
                terminalShellIntegrationDisabled?: boolean | undefined;
                terminalCommandDelay?: number | undefined;
                terminalPowershellCounter?: boolean | undefined;
                terminalZshClearEolMark?: boolean | undefined;
                terminalZshOhMy?: boolean | undefined;
                terminalZshP10k?: boolean | undefined;
                terminalZdotdir?: boolean | undefined;
                terminalCompressProgressBar?: boolean | undefined;
                diagnosticsEnabled?: boolean | undefined;
                experiments?: {
                    powerSteering?: boolean | undefined;
                    multiFileApplyDiff?: boolean | undefined;
                    preventFocusDisruption?: boolean | undefined;
                    imageGeneration?: boolean | undefined;
                    runSlashCommand?: boolean | undefined;
                    nativeToolCalling?: boolean | undefined;
                } | undefined;
                codebaseIndexModels?: {
                    openai?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    ollama?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    "openai-compatible"?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    gemini?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    mistral?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    "vercel-ai-gateway"?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    openrouter?: Record<string, {
                        dimension: number;
                    }> | undefined;
                } | undefined;
                codebaseIndexConfig?: {
                    codebaseIndexEnabled?: boolean | undefined;
                    codebaseIndexQdrantUrl?: string | undefined;
                    codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | undefined;
                    codebaseIndexEmbedderBaseUrl?: string | undefined;
                    codebaseIndexEmbedderModelId?: string | undefined;
                    codebaseIndexEmbedderModelDimension?: number | undefined;
                    codebaseIndexSearchMinScore?: number | undefined;
                    codebaseIndexSearchMaxResults?: number | undefined;
                    codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
                    codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
                } | undefined;
                telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
                mcpEnabled?: boolean | undefined;
                enableMcpServerCreation?: boolean | undefined;
                modeApiConfigs?: Record<string, string> | undefined;
                customModePrompts?: Record<string, {
                    description?: string | undefined;
                    roleDefinition?: string | undefined;
                    whenToUse?: string | undefined;
                    customInstructions?: string | undefined;
                } | undefined> | undefined;
                customSupportPrompts?: Record<string, string | undefined> | undefined;
                enhancementApiConfigId?: string | undefined;
                includeTaskHistoryInEnhance?: boolean | undefined;
                historyPreviewCollapsed?: boolean | undefined;
                reasoningBlockCollapsed?: boolean | undefined;
                profileThresholds?: Record<string, number> | undefined;
                hasOpenedModeSelector?: boolean | undefined;
                lastModeExportPath?: string | undefined;
                lastModeImportPath?: string | undefined;
            }>;
            text: z.ZodString;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            newTab: z.ZodOptional<z.ZodBoolean>;
        }, "strip", z.ZodTypeAny, {
            text: string;
            configuration: {
                reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
                codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
                codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
                codeIndexOpenAiKey?: string | undefined;
                codeIndexQdrantApiKey?: string | undefined;
                codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
                codebaseIndexGeminiApiKey?: string | undefined;
                codebaseIndexMistralApiKey?: string | undefined;
                codebaseIndexVercelAiGatewayApiKey?: string | undefined;
                codebaseIndexOpenRouterApiKey?: string | undefined;
                language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
                apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
                includeMaxTokens?: boolean | undefined;
                diffEnabled?: boolean | undefined;
                todoListEnabled?: boolean | undefined;
                fuzzyMatchThreshold?: number | undefined;
                modelTemperature?: number | null | undefined;
                rateLimitSeconds?: number | undefined;
                consecutiveMistakeLimit?: number | undefined;
                enableReasoningEffort?: boolean | undefined;
                modelMaxTokens?: number | undefined;
                modelMaxThinkingTokens?: number | undefined;
                verbosity?: "low" | "medium" | "high" | undefined;
                toolProtocol?: "xml" | "native" | undefined;
                apiModelId?: string | undefined;
                apiKey?: string | undefined;
                anthropicBaseUrl?: string | undefined;
                anthropicUseAuthToken?: boolean | undefined;
                anthropicBeta1MContext?: boolean | undefined;
                claudeCodePath?: string | undefined;
                claudeCodeMaxOutputTokens?: number | undefined;
                glamaModelId?: string | undefined;
                glamaApiKey?: string | undefined;
                openRouterApiKey?: string | undefined;
                openRouterModelId?: string | undefined;
                openRouterBaseUrl?: string | undefined;
                openRouterSpecificProvider?: string | undefined;
                openRouterUseMiddleOutTransform?: boolean | undefined;
                awsAccessKey?: string | undefined;
                awsSecretKey?: string | undefined;
                awsSessionToken?: string | undefined;
                awsRegion?: string | undefined;
                awsUseCrossRegionInference?: boolean | undefined;
                awsUseGlobalInference?: boolean | undefined;
                awsUsePromptCache?: boolean | undefined;
                awsProfile?: string | undefined;
                awsUseProfile?: boolean | undefined;
                awsApiKey?: string | undefined;
                awsUseApiKey?: boolean | undefined;
                awsCustomArn?: string | undefined;
                awsModelContextWindow?: number | undefined;
                awsBedrockEndpointEnabled?: boolean | undefined;
                awsBedrockEndpoint?: string | undefined;
                awsBedrock1MContext?: boolean | undefined;
                vertexKeyFile?: string | undefined;
                vertexJsonCredentials?: string | undefined;
                vertexProjectId?: string | undefined;
                vertexRegion?: string | undefined;
                enableUrlContext?: boolean | undefined;
                enableGrounding?: boolean | undefined;
                openAiBaseUrl?: string | undefined;
                openAiApiKey?: string | undefined;
                openAiLegacyFormat?: boolean | undefined;
                openAiR1FormatEnabled?: boolean | undefined;
                openAiModelId?: string | undefined;
                openAiCustomModelInfo?: {
                    contextWindow: number;
                    supportsPromptCache: boolean;
                    maxTokens?: number | null | undefined;
                    maxThinkingTokens?: number | null | undefined;
                    supportsImages?: boolean | undefined;
                    promptCacheRetention?: "in_memory" | "24h" | undefined;
                    supportsVerbosity?: boolean | undefined;
                    supportsReasoningBudget?: boolean | undefined;
                    supportsReasoningBinary?: boolean | undefined;
                    supportsTemperature?: boolean | undefined;
                    defaultTemperature?: number | undefined;
                    requiredReasoningBudget?: boolean | undefined;
                    supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
                    requiredReasoningEffort?: boolean | undefined;
                    preserveReasoning?: boolean | undefined;
                    supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
                    inputPrice?: number | undefined;
                    outputPrice?: number | undefined;
                    cacheWritesPrice?: number | undefined;
                    cacheReadsPrice?: number | undefined;
                    description?: string | undefined;
                    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
                    minTokensPerCachePoint?: number | undefined;
                    maxCachePoints?: number | undefined;
                    cachableFields?: string[] | undefined;
                    deprecated?: boolean | undefined;
                    isFree?: boolean | undefined;
                    supportsNativeTools?: boolean | undefined;
                    defaultToolProtocol?: "xml" | "native" | undefined;
                    tiers?: {
                        contextWindow: number;
                        name?: "default" | "flex" | "priority" | undefined;
                        inputPrice?: number | undefined;
                        outputPrice?: number | undefined;
                        cacheWritesPrice?: number | undefined;
                        cacheReadsPrice?: number | undefined;
                    }[] | undefined;
                } | null | undefined;
                openAiUseAzure?: boolean | undefined;
                azureApiVersion?: string | undefined;
                openAiStreamingEnabled?: boolean | undefined;
                openAiHostHeader?: string | undefined;
                openAiHeaders?: Record<string, string> | undefined;
                ollamaModelId?: string | undefined;
                ollamaBaseUrl?: string | undefined;
                ollamaApiKey?: string | undefined;
                ollamaNumCtx?: number | undefined;
                vsCodeLmModelSelector?: {
                    id?: string | undefined;
                    family?: string | undefined;
                    version?: string | undefined;
                    vendor?: string | undefined;
                } | undefined;
                lmStudioModelId?: string | undefined;
                lmStudioBaseUrl?: string | undefined;
                lmStudioDraftModelId?: string | undefined;
                lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
                geminiApiKey?: string | undefined;
                googleGeminiBaseUrl?: string | undefined;
                geminiCliOAuthPath?: string | undefined;
                geminiCliProjectId?: string | undefined;
                openAiNativeApiKey?: string | undefined;
                openAiNativeBaseUrl?: string | undefined;
                openAiNativeServiceTier?: "default" | "flex" | "priority" | undefined;
                mistralApiKey?: string | undefined;
                mistralCodestralUrl?: string | undefined;
                deepSeekBaseUrl?: string | undefined;
                deepSeekApiKey?: string | undefined;
                deepInfraBaseUrl?: string | undefined;
                deepInfraApiKey?: string | undefined;
                deepInfraModelId?: string | undefined;
                doubaoBaseUrl?: string | undefined;
                doubaoApiKey?: string | undefined;
                moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined;
                moonshotApiKey?: string | undefined;
                minimaxBaseUrl?: "https://api.minimax.io/v1" | "https://api.minimaxi.com/v1" | undefined;
                minimaxApiKey?: string | undefined;
                unboundApiKey?: string | undefined;
                unboundModelId?: string | undefined;
                requestyBaseUrl?: string | undefined;
                requestyApiKey?: string | undefined;
                requestyModelId?: string | undefined;
                fakeAi?: unknown;
                xaiApiKey?: string | undefined;
                groqApiKey?: string | undefined;
                huggingFaceApiKey?: string | undefined;
                huggingFaceModelId?: string | undefined;
                huggingFaceInferenceProvider?: string | undefined;
                chutesApiKey?: string | undefined;
                litellmBaseUrl?: string | undefined;
                litellmApiKey?: string | undefined;
                litellmModelId?: string | undefined;
                litellmUsePromptCache?: boolean | undefined;
                cerebrasApiKey?: string | undefined;
                sambaNovaApiKey?: string | undefined;
                zaiApiKey?: string | undefined;
                zaiApiLine?: "international_coding" | "china_coding" | undefined;
                fireworksApiKey?: string | undefined;
                featherlessApiKey?: string | undefined;
                ioIntelligenceModelId?: string | undefined;
                ioIntelligenceApiKey?: string | undefined;
                qwenCodeOauthPath?: string | undefined;
                vercelAiGatewayApiKey?: string | undefined;
                vercelAiGatewayModelId?: string | undefined;
                mode?: string | undefined;
                customInstructions?: string | undefined;
                customModes?: {
                    name: string;
                    slug: string;
                    roleDefinition: string;
                    groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
                        description?: string | undefined;
                        fileRegex?: string | undefined;
                    }])[];
                    description?: string | undefined;
                    whenToUse?: string | undefined;
                    customInstructions?: string | undefined;
                    source?: "global" | "project" | undefined;
                }[] | undefined;
                currentApiConfigName?: string | undefined;
                listApiConfigMeta?: {
                    id: string;
                    name: string;
                    apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
                    modelId?: string | undefined;
                }[] | undefined;
                pinnedApiConfigs?: Record<string, boolean> | undefined;
                lastShownAnnouncementId?: string | undefined;
                taskHistory?: {
                    number: number;
                    ts: number;
                    totalCost: number;
                    id: string;
                    task: string;
                    tokensIn: number;
                    tokensOut: number;
                    rootTaskId?: string | undefined;
                    parentTaskId?: string | undefined;
                    cacheWrites?: number | undefined;
                    cacheReads?: number | undefined;
                    size?: number | undefined;
                    workspace?: string | undefined;
                    mode?: string | undefined;
                }[] | undefined;
                dismissedUpsells?: string[] | undefined;
                openRouterImageApiKey?: string | undefined;
                openRouterImageGenerationSelectedModel?: string | undefined;
                condensingApiConfigId?: string | undefined;
                customCondensingPrompt?: string | undefined;
                autoApprovalEnabled?: boolean | undefined;
                alwaysAllowReadOnly?: boolean | undefined;
                alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
                alwaysAllowWrite?: boolean | undefined;
                alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
                alwaysAllowWriteProtected?: boolean | undefined;
                writeDelayMs?: number | undefined;
                alwaysAllowBrowser?: boolean | undefined;
                alwaysApproveResubmit?: boolean | undefined;
                requestDelaySeconds?: number | undefined;
                alwaysAllowMcp?: boolean | undefined;
                alwaysAllowModeSwitch?: boolean | undefined;
                alwaysAllowSubtasks?: boolean | undefined;
                alwaysAllowExecute?: boolean | undefined;
                alwaysAllowFollowupQuestions?: boolean | undefined;
                followupAutoApproveTimeoutMs?: number | undefined;
                alwaysAllowUpdateTodoList?: boolean | undefined;
                allowedCommands?: string[] | undefined;
                deniedCommands?: string[] | undefined;
                commandExecutionTimeout?: number | undefined;
                commandTimeoutAllowlist?: string[] | undefined;
                preventCompletionWithOpenTodos?: boolean | undefined;
                allowedMaxRequests?: number | null | undefined;
                allowedMaxCost?: number | null | undefined;
                autoCondenseContext?: boolean | undefined;
                autoCondenseContextPercent?: number | undefined;
                maxConcurrentFileReads?: number | undefined;
                includeCurrentTime?: boolean | undefined;
                includeCurrentCost?: boolean | undefined;
                maxGitStatusFiles?: number | undefined;
                includeDiagnosticMessages?: boolean | undefined;
                maxDiagnosticMessages?: number | undefined;
                browserToolEnabled?: boolean | undefined;
                browserViewportSize?: string | undefined;
                screenshotQuality?: number | undefined;
                remoteBrowserEnabled?: boolean | undefined;
                remoteBrowserHost?: string | undefined;
                cachedChromeHostUrl?: string | undefined;
                enableCheckpoints?: boolean | undefined;
                checkpointTimeout?: number | undefined;
                ttsEnabled?: boolean | undefined;
                ttsSpeed?: number | undefined;
                soundEnabled?: boolean | undefined;
                soundVolume?: number | undefined;
                maxOpenTabsContext?: number | undefined;
                maxWorkspaceFiles?: number | undefined;
                showRooIgnoredFiles?: boolean | undefined;
                maxReadFileLine?: number | undefined;
                maxImageFileSize?: number | undefined;
                maxTotalImageSize?: number | undefined;
                terminalOutputLineLimit?: number | undefined;
                terminalOutputCharacterLimit?: number | undefined;
                terminalShellIntegrationTimeout?: number | undefined;
                terminalShellIntegrationDisabled?: boolean | undefined;
                terminalCommandDelay?: number | undefined;
                terminalPowershellCounter?: boolean | undefined;
                terminalZshClearEolMark?: boolean | undefined;
                terminalZshOhMy?: boolean | undefined;
                terminalZshP10k?: boolean | undefined;
                terminalZdotdir?: boolean | undefined;
                terminalCompressProgressBar?: boolean | undefined;
                diagnosticsEnabled?: boolean | undefined;
                experiments?: {
                    powerSteering?: boolean | undefined;
                    multiFileApplyDiff?: boolean | undefined;
                    preventFocusDisruption?: boolean | undefined;
                    imageGeneration?: boolean | undefined;
                    runSlashCommand?: boolean | undefined;
                    nativeToolCalling?: boolean | undefined;
                } | undefined;
                codebaseIndexModels?: {
                    openai?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    ollama?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    "openai-compatible"?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    gemini?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    mistral?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    "vercel-ai-gateway"?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    openrouter?: Record<string, {
                        dimension: number;
                    }> | undefined;
                } | undefined;
                codebaseIndexConfig?: {
                    codebaseIndexEnabled?: boolean | undefined;
                    codebaseIndexQdrantUrl?: string | undefined;
                    codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | undefined;
                    codebaseIndexEmbedderBaseUrl?: string | undefined;
                    codebaseIndexEmbedderModelId?: string | undefined;
                    codebaseIndexEmbedderModelDimension?: number | undefined;
                    codebaseIndexSearchMinScore?: number | undefined;
                    codebaseIndexSearchMaxResults?: number | undefined;
                    codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
                    codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
                } | undefined;
                telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
                mcpEnabled?: boolean | undefined;
                enableMcpServerCreation?: boolean | undefined;
                modeApiConfigs?: Record<string, string> | undefined;
                customModePrompts?: Record<string, {
                    description?: string | undefined;
                    roleDefinition?: string | undefined;
                    whenToUse?: string | undefined;
                    customInstructions?: string | undefined;
                } | undefined> | undefined;
                customSupportPrompts?: Record<string, string | undefined> | undefined;
                enhancementApiConfigId?: string | undefined;
                includeTaskHistoryInEnhance?: boolean | undefined;
                historyPreviewCollapsed?: boolean | undefined;
                reasoningBlockCollapsed?: boolean | undefined;
                profileThresholds?: Record<string, number> | undefined;
                hasOpenedModeSelector?: boolean | undefined;
                lastModeExportPath?: string | undefined;
                lastModeImportPath?: string | undefined;
            };
            images?: string[] | undefined;
            newTab?: boolean | undefined;
        }, {
            text: string;
            configuration: {
                reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
                codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
                codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
                codeIndexOpenAiKey?: string | undefined;
                codeIndexQdrantApiKey?: string | undefined;
                codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
                codebaseIndexGeminiApiKey?: string | undefined;
                codebaseIndexMistralApiKey?: string | undefined;
                codebaseIndexVercelAiGatewayApiKey?: string | undefined;
                codebaseIndexOpenRouterApiKey?: string | undefined;
                language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
                apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
                includeMaxTokens?: boolean | undefined;
                diffEnabled?: boolean | undefined;
                todoListEnabled?: boolean | undefined;
                fuzzyMatchThreshold?: number | undefined;
                modelTemperature?: number | null | undefined;
                rateLimitSeconds?: number | undefined;
                consecutiveMistakeLimit?: number | undefined;
                enableReasoningEffort?: boolean | undefined;
                modelMaxTokens?: number | undefined;
                modelMaxThinkingTokens?: number | undefined;
                verbosity?: "low" | "medium" | "high" | undefined;
                toolProtocol?: "xml" | "native" | undefined;
                apiModelId?: string | undefined;
                apiKey?: string | undefined;
                anthropicBaseUrl?: string | undefined;
                anthropicUseAuthToken?: boolean | undefined;
                anthropicBeta1MContext?: boolean | undefined;
                claudeCodePath?: string | undefined;
                claudeCodeMaxOutputTokens?: number | undefined;
                glamaModelId?: string | undefined;
                glamaApiKey?: string | undefined;
                openRouterApiKey?: string | undefined;
                openRouterModelId?: string | undefined;
                openRouterBaseUrl?: string | undefined;
                openRouterSpecificProvider?: string | undefined;
                openRouterUseMiddleOutTransform?: boolean | undefined;
                awsAccessKey?: string | undefined;
                awsSecretKey?: string | undefined;
                awsSessionToken?: string | undefined;
                awsRegion?: string | undefined;
                awsUseCrossRegionInference?: boolean | undefined;
                awsUseGlobalInference?: boolean | undefined;
                awsUsePromptCache?: boolean | undefined;
                awsProfile?: string | undefined;
                awsUseProfile?: boolean | undefined;
                awsApiKey?: string | undefined;
                awsUseApiKey?: boolean | undefined;
                awsCustomArn?: string | undefined;
                awsModelContextWindow?: number | undefined;
                awsBedrockEndpointEnabled?: boolean | undefined;
                awsBedrockEndpoint?: string | undefined;
                awsBedrock1MContext?: boolean | undefined;
                vertexKeyFile?: string | undefined;
                vertexJsonCredentials?: string | undefined;
                vertexProjectId?: string | undefined;
                vertexRegion?: string | undefined;
                enableUrlContext?: boolean | undefined;
                enableGrounding?: boolean | undefined;
                openAiBaseUrl?: string | undefined;
                openAiApiKey?: string | undefined;
                openAiLegacyFormat?: boolean | undefined;
                openAiR1FormatEnabled?: boolean | undefined;
                openAiModelId?: string | undefined;
                openAiCustomModelInfo?: {
                    contextWindow: number;
                    supportsPromptCache: boolean;
                    maxTokens?: number | null | undefined;
                    maxThinkingTokens?: number | null | undefined;
                    supportsImages?: boolean | undefined;
                    promptCacheRetention?: "in_memory" | "24h" | undefined;
                    supportsVerbosity?: boolean | undefined;
                    supportsReasoningBudget?: boolean | undefined;
                    supportsReasoningBinary?: boolean | undefined;
                    supportsTemperature?: boolean | undefined;
                    defaultTemperature?: number | undefined;
                    requiredReasoningBudget?: boolean | undefined;
                    supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
                    requiredReasoningEffort?: boolean | undefined;
                    preserveReasoning?: boolean | undefined;
                    supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
                    inputPrice?: number | undefined;
                    outputPrice?: number | undefined;
                    cacheWritesPrice?: number | undefined;
                    cacheReadsPrice?: number | undefined;
                    description?: string | undefined;
                    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
                    minTokensPerCachePoint?: number | undefined;
                    maxCachePoints?: number | undefined;
                    cachableFields?: string[] | undefined;
                    deprecated?: boolean | undefined;
                    isFree?: boolean | undefined;
                    supportsNativeTools?: boolean | undefined;
                    defaultToolProtocol?: "xml" | "native" | undefined;
                    tiers?: {
                        contextWindow: number;
                        name?: "default" | "flex" | "priority" | undefined;
                        inputPrice?: number | undefined;
                        outputPrice?: number | undefined;
                        cacheWritesPrice?: number | undefined;
                        cacheReadsPrice?: number | undefined;
                    }[] | undefined;
                } | null | undefined;
                openAiUseAzure?: boolean | undefined;
                azureApiVersion?: string | undefined;
                openAiStreamingEnabled?: boolean | undefined;
                openAiHostHeader?: string | undefined;
                openAiHeaders?: Record<string, string> | undefined;
                ollamaModelId?: string | undefined;
                ollamaBaseUrl?: string | undefined;
                ollamaApiKey?: string | undefined;
                ollamaNumCtx?: number | undefined;
                vsCodeLmModelSelector?: {
                    id?: string | undefined;
                    family?: string | undefined;
                    version?: string | undefined;
                    vendor?: string | undefined;
                } | undefined;
                lmStudioModelId?: string | undefined;
                lmStudioBaseUrl?: string | undefined;
                lmStudioDraftModelId?: string | undefined;
                lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
                geminiApiKey?: string | undefined;
                googleGeminiBaseUrl?: string | undefined;
                geminiCliOAuthPath?: string | undefined;
                geminiCliProjectId?: string | undefined;
                openAiNativeApiKey?: string | undefined;
                openAiNativeBaseUrl?: string | undefined;
                openAiNativeServiceTier?: "default" | "flex" | "priority" | undefined;
                mistralApiKey?: string | undefined;
                mistralCodestralUrl?: string | undefined;
                deepSeekBaseUrl?: string | undefined;
                deepSeekApiKey?: string | undefined;
                deepInfraBaseUrl?: string | undefined;
                deepInfraApiKey?: string | undefined;
                deepInfraModelId?: string | undefined;
                doubaoBaseUrl?: string | undefined;
                doubaoApiKey?: string | undefined;
                moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined;
                moonshotApiKey?: string | undefined;
                minimaxBaseUrl?: "https://api.minimax.io/v1" | "https://api.minimaxi.com/v1" | undefined;
                minimaxApiKey?: string | undefined;
                unboundApiKey?: string | undefined;
                unboundModelId?: string | undefined;
                requestyBaseUrl?: string | undefined;
                requestyApiKey?: string | undefined;
                requestyModelId?: string | undefined;
                fakeAi?: unknown;
                xaiApiKey?: string | undefined;
                groqApiKey?: string | undefined;
                huggingFaceApiKey?: string | undefined;
                huggingFaceModelId?: string | undefined;
                huggingFaceInferenceProvider?: string | undefined;
                chutesApiKey?: string | undefined;
                litellmBaseUrl?: string | undefined;
                litellmApiKey?: string | undefined;
                litellmModelId?: string | undefined;
                litellmUsePromptCache?: boolean | undefined;
                cerebrasApiKey?: string | undefined;
                sambaNovaApiKey?: string | undefined;
                zaiApiKey?: string | undefined;
                zaiApiLine?: "international_coding" | "china_coding" | undefined;
                fireworksApiKey?: string | undefined;
                featherlessApiKey?: string | undefined;
                ioIntelligenceModelId?: string | undefined;
                ioIntelligenceApiKey?: string | undefined;
                qwenCodeOauthPath?: string | undefined;
                vercelAiGatewayApiKey?: string | undefined;
                vercelAiGatewayModelId?: string | undefined;
                mode?: string | undefined;
                customInstructions?: string | undefined;
                customModes?: {
                    name: string;
                    slug: string;
                    roleDefinition: string;
                    groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
                        description?: string | undefined;
                        fileRegex?: string | undefined;
                    }])[];
                    description?: string | undefined;
                    whenToUse?: string | undefined;
                    customInstructions?: string | undefined;
                    source?: "global" | "project" | undefined;
                }[] | undefined;
                currentApiConfigName?: string | undefined;
                listApiConfigMeta?: {
                    id: string;
                    name: string;
                    apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
                    modelId?: string | undefined;
                }[] | undefined;
                pinnedApiConfigs?: Record<string, boolean> | undefined;
                lastShownAnnouncementId?: string | undefined;
                taskHistory?: {
                    number: number;
                    ts: number;
                    totalCost: number;
                    id: string;
                    task: string;
                    tokensIn: number;
                    tokensOut: number;
                    rootTaskId?: string | undefined;
                    parentTaskId?: string | undefined;
                    cacheWrites?: number | undefined;
                    cacheReads?: number | undefined;
                    size?: number | undefined;
                    workspace?: string | undefined;
                    mode?: string | undefined;
                }[] | undefined;
                dismissedUpsells?: string[] | undefined;
                openRouterImageApiKey?: string | undefined;
                openRouterImageGenerationSelectedModel?: string | undefined;
                condensingApiConfigId?: string | undefined;
                customCondensingPrompt?: string | undefined;
                autoApprovalEnabled?: boolean | undefined;
                alwaysAllowReadOnly?: boolean | undefined;
                alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
                alwaysAllowWrite?: boolean | undefined;
                alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
                alwaysAllowWriteProtected?: boolean | undefined;
                writeDelayMs?: number | undefined;
                alwaysAllowBrowser?: boolean | undefined;
                alwaysApproveResubmit?: boolean | undefined;
                requestDelaySeconds?: number | undefined;
                alwaysAllowMcp?: boolean | undefined;
                alwaysAllowModeSwitch?: boolean | undefined;
                alwaysAllowSubtasks?: boolean | undefined;
                alwaysAllowExecute?: boolean | undefined;
                alwaysAllowFollowupQuestions?: boolean | undefined;
                followupAutoApproveTimeoutMs?: number | undefined;
                alwaysAllowUpdateTodoList?: boolean | undefined;
                allowedCommands?: string[] | undefined;
                deniedCommands?: string[] | undefined;
                commandExecutionTimeout?: number | undefined;
                commandTimeoutAllowlist?: string[] | undefined;
                preventCompletionWithOpenTodos?: boolean | undefined;
                allowedMaxRequests?: number | null | undefined;
                allowedMaxCost?: number | null | undefined;
                autoCondenseContext?: boolean | undefined;
                autoCondenseContextPercent?: number | undefined;
                maxConcurrentFileReads?: number | undefined;
                includeCurrentTime?: boolean | undefined;
                includeCurrentCost?: boolean | undefined;
                maxGitStatusFiles?: number | undefined;
                includeDiagnosticMessages?: boolean | undefined;
                maxDiagnosticMessages?: number | undefined;
                browserToolEnabled?: boolean | undefined;
                browserViewportSize?: string | undefined;
                screenshotQuality?: number | undefined;
                remoteBrowserEnabled?: boolean | undefined;
                remoteBrowserHost?: string | undefined;
                cachedChromeHostUrl?: string | undefined;
                enableCheckpoints?: boolean | undefined;
                checkpointTimeout?: number | undefined;
                ttsEnabled?: boolean | undefined;
                ttsSpeed?: number | undefined;
                soundEnabled?: boolean | undefined;
                soundVolume?: number | undefined;
                maxOpenTabsContext?: number | undefined;
                maxWorkspaceFiles?: number | undefined;
                showRooIgnoredFiles?: boolean | undefined;
                maxReadFileLine?: number | undefined;
                maxImageFileSize?: number | undefined;
                maxTotalImageSize?: number | undefined;
                terminalOutputLineLimit?: number | undefined;
                terminalOutputCharacterLimit?: number | undefined;
                terminalShellIntegrationTimeout?: number | undefined;
                terminalShellIntegrationDisabled?: boolean | undefined;
                terminalCommandDelay?: number | undefined;
                terminalPowershellCounter?: boolean | undefined;
                terminalZshClearEolMark?: boolean | undefined;
                terminalZshOhMy?: boolean | undefined;
                terminalZshP10k?: boolean | undefined;
                terminalZdotdir?: boolean | undefined;
                terminalCompressProgressBar?: boolean | undefined;
                diagnosticsEnabled?: boolean | undefined;
                experiments?: {
                    powerSteering?: boolean | undefined;
                    multiFileApplyDiff?: boolean | undefined;
                    preventFocusDisruption?: boolean | undefined;
                    imageGeneration?: boolean | undefined;
                    runSlashCommand?: boolean | undefined;
                    nativeToolCalling?: boolean | undefined;
                } | undefined;
                codebaseIndexModels?: {
                    openai?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    ollama?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    "openai-compatible"?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    gemini?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    mistral?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    "vercel-ai-gateway"?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    openrouter?: Record<string, {
                        dimension: number;
                    }> | undefined;
                } | undefined;
                codebaseIndexConfig?: {
                    codebaseIndexEnabled?: boolean | undefined;
                    codebaseIndexQdrantUrl?: string | undefined;
                    codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | undefined;
                    codebaseIndexEmbedderBaseUrl?: string | undefined;
                    codebaseIndexEmbedderModelId?: string | undefined;
                    codebaseIndexEmbedderModelDimension?: number | undefined;
                    codebaseIndexSearchMinScore?: number | undefined;
                    codebaseIndexSearchMaxResults?: number | undefined;
                    codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
                    codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
                } | undefined;
                telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
                mcpEnabled?: boolean | undefined;
                enableMcpServerCreation?: boolean | undefined;
                modeApiConfigs?: Record<string, string> | undefined;
                customModePrompts?: Record<string, {
                    description?: string | undefined;
                    roleDefinition?: string | undefined;
                    whenToUse?: string | undefined;
                    customInstructions?: string | undefined;
                } | undefined> | undefined;
                customSupportPrompts?: Record<string, string | undefined> | undefined;
                enhancementApiConfigId?: string | undefined;
                includeTaskHistoryInEnhance?: boolean | undefined;
                historyPreviewCollapsed?: boolean | undefined;
                reasoningBlockCollapsed?: boolean | undefined;
                profileThresholds?: Record<string, number> | undefined;
                hasOpenedModeSelector?: boolean | undefined;
                lastModeExportPath?: string | undefined;
                lastModeImportPath?: string | undefined;
            };
            images?: string[] | undefined;
            newTab?: boolean | undefined;
        }>;
    }, "strip", z.ZodTypeAny, {
        data: {
            text: string;
            configuration: {
                reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
                codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
                codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
                codeIndexOpenAiKey?: string | undefined;
                codeIndexQdrantApiKey?: string | undefined;
                codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
                codebaseIndexGeminiApiKey?: string | undefined;
                codebaseIndexMistralApiKey?: string | undefined;
                codebaseIndexVercelAiGatewayApiKey?: string | undefined;
                codebaseIndexOpenRouterApiKey?: string | undefined;
                language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
                apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
                includeMaxTokens?: boolean | undefined;
                diffEnabled?: boolean | undefined;
                todoListEnabled?: boolean | undefined;
                fuzzyMatchThreshold?: number | undefined;
                modelTemperature?: number | null | undefined;
                rateLimitSeconds?: number | undefined;
                consecutiveMistakeLimit?: number | undefined;
                enableReasoningEffort?: boolean | undefined;
                modelMaxTokens?: number | undefined;
                modelMaxThinkingTokens?: number | undefined;
                verbosity?: "low" | "medium" | "high" | undefined;
                toolProtocol?: "xml" | "native" | undefined;
                apiModelId?: string | undefined;
                apiKey?: string | undefined;
                anthropicBaseUrl?: string | undefined;
                anthropicUseAuthToken?: boolean | undefined;
                anthropicBeta1MContext?: boolean | undefined;
                claudeCodePath?: string | undefined;
                claudeCodeMaxOutputTokens?: number | undefined;
                glamaModelId?: string | undefined;
                glamaApiKey?: string | undefined;
                openRouterApiKey?: string | undefined;
                openRouterModelId?: string | undefined;
                openRouterBaseUrl?: string | undefined;
                openRouterSpecificProvider?: string | undefined;
                openRouterUseMiddleOutTransform?: boolean | undefined;
                awsAccessKey?: string | undefined;
                awsSecretKey?: string | undefined;
                awsSessionToken?: string | undefined;
                awsRegion?: string | undefined;
                awsUseCrossRegionInference?: boolean | undefined;
                awsUseGlobalInference?: boolean | undefined;
                awsUsePromptCache?: boolean | undefined;
                awsProfile?: string | undefined;
                awsUseProfile?: boolean | undefined;
                awsApiKey?: string | undefined;
                awsUseApiKey?: boolean | undefined;
                awsCustomArn?: string | undefined;
                awsModelContextWindow?: number | undefined;
                awsBedrockEndpointEnabled?: boolean | undefined;
                awsBedrockEndpoint?: string | undefined;
                awsBedrock1MContext?: boolean | undefined;
                vertexKeyFile?: string | undefined;
                vertexJsonCredentials?: string | undefined;
                vertexProjectId?: string | undefined;
                vertexRegion?: string | undefined;
                enableUrlContext?: boolean | undefined;
                enableGrounding?: boolean | undefined;
                openAiBaseUrl?: string | undefined;
                openAiApiKey?: string | undefined;
                openAiLegacyFormat?: boolean | undefined;
                openAiR1FormatEnabled?: boolean | undefined;
                openAiModelId?: string | undefined;
                openAiCustomModelInfo?: {
                    contextWindow: number;
                    supportsPromptCache: boolean;
                    maxTokens?: number | null | undefined;
                    maxThinkingTokens?: number | null | undefined;
                    supportsImages?: boolean | undefined;
                    promptCacheRetention?: "in_memory" | "24h" | undefined;
                    supportsVerbosity?: boolean | undefined;
                    supportsReasoningBudget?: boolean | undefined;
                    supportsReasoningBinary?: boolean | undefined;
                    supportsTemperature?: boolean | undefined;
                    defaultTemperature?: number | undefined;
                    requiredReasoningBudget?: boolean | undefined;
                    supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
                    requiredReasoningEffort?: boolean | undefined;
                    preserveReasoning?: boolean | undefined;
                    supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
                    inputPrice?: number | undefined;
                    outputPrice?: number | undefined;
                    cacheWritesPrice?: number | undefined;
                    cacheReadsPrice?: number | undefined;
                    description?: string | undefined;
                    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
                    minTokensPerCachePoint?: number | undefined;
                    maxCachePoints?: number | undefined;
                    cachableFields?: string[] | undefined;
                    deprecated?: boolean | undefined;
                    isFree?: boolean | undefined;
                    supportsNativeTools?: boolean | undefined;
                    defaultToolProtocol?: "xml" | "native" | undefined;
                    tiers?: {
                        contextWindow: number;
                        name?: "default" | "flex" | "priority" | undefined;
                        inputPrice?: number | undefined;
                        outputPrice?: number | undefined;
                        cacheWritesPrice?: number | undefined;
                        cacheReadsPrice?: number | undefined;
                    }[] | undefined;
                } | null | undefined;
                openAiUseAzure?: boolean | undefined;
                azureApiVersion?: string | undefined;
                openAiStreamingEnabled?: boolean | undefined;
                openAiHostHeader?: string | undefined;
                openAiHeaders?: Record<string, string> | undefined;
                ollamaModelId?: string | undefined;
                ollamaBaseUrl?: string | undefined;
                ollamaApiKey?: string | undefined;
                ollamaNumCtx?: number | undefined;
                vsCodeLmModelSelector?: {
                    id?: string | undefined;
                    family?: string | undefined;
                    version?: string | undefined;
                    vendor?: string | undefined;
                } | undefined;
                lmStudioModelId?: string | undefined;
                lmStudioBaseUrl?: string | undefined;
                lmStudioDraftModelId?: string | undefined;
                lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
                geminiApiKey?: string | undefined;
                googleGeminiBaseUrl?: string | undefined;
                geminiCliOAuthPath?: string | undefined;
                geminiCliProjectId?: string | undefined;
                openAiNativeApiKey?: string | undefined;
                openAiNativeBaseUrl?: string | undefined;
                openAiNativeServiceTier?: "default" | "flex" | "priority" | undefined;
                mistralApiKey?: string | undefined;
                mistralCodestralUrl?: string | undefined;
                deepSeekBaseUrl?: string | undefined;
                deepSeekApiKey?: string | undefined;
                deepInfraBaseUrl?: string | undefined;
                deepInfraApiKey?: string | undefined;
                deepInfraModelId?: string | undefined;
                doubaoBaseUrl?: string | undefined;
                doubaoApiKey?: string | undefined;
                moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined;
                moonshotApiKey?: string | undefined;
                minimaxBaseUrl?: "https://api.minimax.io/v1" | "https://api.minimaxi.com/v1" | undefined;
                minimaxApiKey?: string | undefined;
                unboundApiKey?: string | undefined;
                unboundModelId?: string | undefined;
                requestyBaseUrl?: string | undefined;
                requestyApiKey?: string | undefined;
                requestyModelId?: string | undefined;
                fakeAi?: unknown;
                xaiApiKey?: string | undefined;
                groqApiKey?: string | undefined;
                huggingFaceApiKey?: string | undefined;
                huggingFaceModelId?: string | undefined;
                huggingFaceInferenceProvider?: string | undefined;
                chutesApiKey?: string | undefined;
                litellmBaseUrl?: string | undefined;
                litellmApiKey?: string | undefined;
                litellmModelId?: string | undefined;
                litellmUsePromptCache?: boolean | undefined;
                cerebrasApiKey?: string | undefined;
                sambaNovaApiKey?: string | undefined;
                zaiApiKey?: string | undefined;
                zaiApiLine?: "international_coding" | "china_coding" | undefined;
                fireworksApiKey?: string | undefined;
                featherlessApiKey?: string | undefined;
                ioIntelligenceModelId?: string | undefined;
                ioIntelligenceApiKey?: string | undefined;
                qwenCodeOauthPath?: string | undefined;
                vercelAiGatewayApiKey?: string | undefined;
                vercelAiGatewayModelId?: string | undefined;
                mode?: string | undefined;
                customInstructions?: string | undefined;
                customModes?: {
                    name: string;
                    slug: string;
                    roleDefinition: string;
                    groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
                        description?: string | undefined;
                        fileRegex?: string | undefined;
                    }])[];
                    description?: string | undefined;
                    whenToUse?: string | undefined;
                    customInstructions?: string | undefined;
                    source?: "global" | "project" | undefined;
                }[] | undefined;
                currentApiConfigName?: string | undefined;
                listApiConfigMeta?: {
                    id: string;
                    name: string;
                    apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
                    modelId?: string | undefined;
                }[] | undefined;
                pinnedApiConfigs?: Record<string, boolean> | undefined;
                lastShownAnnouncementId?: string | undefined;
                taskHistory?: {
                    number: number;
                    ts: number;
                    totalCost: number;
                    id: string;
                    task: string;
                    tokensIn: number;
                    tokensOut: number;
                    rootTaskId?: string | undefined;
                    parentTaskId?: string | undefined;
                    cacheWrites?: number | undefined;
                    cacheReads?: number | undefined;
                    size?: number | undefined;
                    workspace?: string | undefined;
                    mode?: string | undefined;
                }[] | undefined;
                dismissedUpsells?: string[] | undefined;
                openRouterImageApiKey?: string | undefined;
                openRouterImageGenerationSelectedModel?: string | undefined;
                condensingApiConfigId?: string | undefined;
                customCondensingPrompt?: string | undefined;
                autoApprovalEnabled?: boolean | undefined;
                alwaysAllowReadOnly?: boolean | undefined;
                alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
                alwaysAllowWrite?: boolean | undefined;
                alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
                alwaysAllowWriteProtected?: boolean | undefined;
                writeDelayMs?: number | undefined;
                alwaysAllowBrowser?: boolean | undefined;
                alwaysApproveResubmit?: boolean | undefined;
                requestDelaySeconds?: number | undefined;
                alwaysAllowMcp?: boolean | undefined;
                alwaysAllowModeSwitch?: boolean | undefined;
                alwaysAllowSubtasks?: boolean | undefined;
                alwaysAllowExecute?: boolean | undefined;
                alwaysAllowFollowupQuestions?: boolean | undefined;
                followupAutoApproveTimeoutMs?: number | undefined;
                alwaysAllowUpdateTodoList?: boolean | undefined;
                allowedCommands?: string[] | undefined;
                deniedCommands?: string[] | undefined;
                commandExecutionTimeout?: number | undefined;
                commandTimeoutAllowlist?: string[] | undefined;
                preventCompletionWithOpenTodos?: boolean | undefined;
                allowedMaxRequests?: number | null | undefined;
                allowedMaxCost?: number | null | undefined;
                autoCondenseContext?: boolean | undefined;
                autoCondenseContextPercent?: number | undefined;
                maxConcurrentFileReads?: number | undefined;
                includeCurrentTime?: boolean | undefined;
                includeCurrentCost?: boolean | undefined;
                maxGitStatusFiles?: number | undefined;
                includeDiagnosticMessages?: boolean | undefined;
                maxDiagnosticMessages?: number | undefined;
                browserToolEnabled?: boolean | undefined;
                browserViewportSize?: string | undefined;
                screenshotQuality?: number | undefined;
                remoteBrowserEnabled?: boolean | undefined;
                remoteBrowserHost?: string | undefined;
                cachedChromeHostUrl?: string | undefined;
                enableCheckpoints?: boolean | undefined;
                checkpointTimeout?: number | undefined;
                ttsEnabled?: boolean | undefined;
                ttsSpeed?: number | undefined;
                soundEnabled?: boolean | undefined;
                soundVolume?: number | undefined;
                maxOpenTabsContext?: number | undefined;
                maxWorkspaceFiles?: number | undefined;
                showRooIgnoredFiles?: boolean | undefined;
                maxReadFileLine?: number | undefined;
                maxImageFileSize?: number | undefined;
                maxTotalImageSize?: number | undefined;
                terminalOutputLineLimit?: number | undefined;
                terminalOutputCharacterLimit?: number | undefined;
                terminalShellIntegrationTimeout?: number | undefined;
                terminalShellIntegrationDisabled?: boolean | undefined;
                terminalCommandDelay?: number | undefined;
                terminalPowershellCounter?: boolean | undefined;
                terminalZshClearEolMark?: boolean | undefined;
                terminalZshOhMy?: boolean | undefined;
                terminalZshP10k?: boolean | undefined;
                terminalZdotdir?: boolean | undefined;
                terminalCompressProgressBar?: boolean | undefined;
                diagnosticsEnabled?: boolean | undefined;
                experiments?: {
                    powerSteering?: boolean | undefined;
                    multiFileApplyDiff?: boolean | undefined;
                    preventFocusDisruption?: boolean | undefined;
                    imageGeneration?: boolean | undefined;
                    runSlashCommand?: boolean | undefined;
                    nativeToolCalling?: boolean | undefined;
                } | undefined;
                codebaseIndexModels?: {
                    openai?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    ollama?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    "openai-compatible"?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    gemini?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    mistral?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    "vercel-ai-gateway"?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    openrouter?: Record<string, {
                        dimension: number;
                    }> | undefined;
                } | undefined;
                codebaseIndexConfig?: {
                    codebaseIndexEnabled?: boolean | undefined;
                    codebaseIndexQdrantUrl?: string | undefined;
                    codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | undefined;
                    codebaseIndexEmbedderBaseUrl?: string | undefined;
                    codebaseIndexEmbedderModelId?: string | undefined;
                    codebaseIndexEmbedderModelDimension?: number | undefined;
                    codebaseIndexSearchMinScore?: number | undefined;
                    codebaseIndexSearchMaxResults?: number | undefined;
                    codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
                    codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
                } | undefined;
                telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
                mcpEnabled?: boolean | undefined;
                enableMcpServerCreation?: boolean | undefined;
                modeApiConfigs?: Record<string, string> | undefined;
                customModePrompts?: Record<string, {
                    description?: string | undefined;
                    roleDefinition?: string | undefined;
                    whenToUse?: string | undefined;
                    customInstructions?: string | undefined;
                } | undefined> | undefined;
                customSupportPrompts?: Record<string, string | undefined> | undefined;
                enhancementApiConfigId?: string | undefined;
                includeTaskHistoryInEnhance?: boolean | undefined;
                historyPreviewCollapsed?: boolean | undefined;
                reasoningBlockCollapsed?: boolean | undefined;
                profileThresholds?: Record<string, number> | undefined;
                hasOpenedModeSelector?: boolean | undefined;
                lastModeExportPath?: string | undefined;
                lastModeImportPath?: string | undefined;
            };
            images?: string[] | undefined;
            newTab?: boolean | undefined;
        };
        commandName: TaskCommandName.StartNewTask;
    }, {
        data: {
            text: string;
            configuration: {
                reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
                codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
                codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
                codeIndexOpenAiKey?: string | undefined;
                codeIndexQdrantApiKey?: string | undefined;
                codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
                codebaseIndexGeminiApiKey?: string | undefined;
                codebaseIndexMistralApiKey?: string | undefined;
                codebaseIndexVercelAiGatewayApiKey?: string | undefined;
                codebaseIndexOpenRouterApiKey?: string | undefined;
                language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
                apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
                includeMaxTokens?: boolean | undefined;
                diffEnabled?: boolean | undefined;
                todoListEnabled?: boolean | undefined;
                fuzzyMatchThreshold?: number | undefined;
                modelTemperature?: number | null | undefined;
                rateLimitSeconds?: number | undefined;
                consecutiveMistakeLimit?: number | undefined;
                enableReasoningEffort?: boolean | undefined;
                modelMaxTokens?: number | undefined;
                modelMaxThinkingTokens?: number | undefined;
                verbosity?: "low" | "medium" | "high" | undefined;
                toolProtocol?: "xml" | "native" | undefined;
                apiModelId?: string | undefined;
                apiKey?: string | undefined;
                anthropicBaseUrl?: string | undefined;
                anthropicUseAuthToken?: boolean | undefined;
                anthropicBeta1MContext?: boolean | undefined;
                claudeCodePath?: string | undefined;
                claudeCodeMaxOutputTokens?: number | undefined;
                glamaModelId?: string | undefined;
                glamaApiKey?: string | undefined;
                openRouterApiKey?: string | undefined;
                openRouterModelId?: string | undefined;
                openRouterBaseUrl?: string | undefined;
                openRouterSpecificProvider?: string | undefined;
                openRouterUseMiddleOutTransform?: boolean | undefined;
                awsAccessKey?: string | undefined;
                awsSecretKey?: string | undefined;
                awsSessionToken?: string | undefined;
                awsRegion?: string | undefined;
                awsUseCrossRegionInference?: boolean | undefined;
                awsUseGlobalInference?: boolean | undefined;
                awsUsePromptCache?: boolean | undefined;
                awsProfile?: string | undefined;
                awsUseProfile?: boolean | undefined;
                awsApiKey?: string | undefined;
                awsUseApiKey?: boolean | undefined;
                awsCustomArn?: string | undefined;
                awsModelContextWindow?: number | undefined;
                awsBedrockEndpointEnabled?: boolean | undefined;
                awsBedrockEndpoint?: string | undefined;
                awsBedrock1MContext?: boolean | undefined;
                vertexKeyFile?: string | undefined;
                vertexJsonCredentials?: string | undefined;
                vertexProjectId?: string | undefined;
                vertexRegion?: string | undefined;
                enableUrlContext?: boolean | undefined;
                enableGrounding?: boolean | undefined;
                openAiBaseUrl?: string | undefined;
                openAiApiKey?: string | undefined;
                openAiLegacyFormat?: boolean | undefined;
                openAiR1FormatEnabled?: boolean | undefined;
                openAiModelId?: string | undefined;
                openAiCustomModelInfo?: {
                    contextWindow: number;
                    supportsPromptCache: boolean;
                    maxTokens?: number | null | undefined;
                    maxThinkingTokens?: number | null | undefined;
                    supportsImages?: boolean | undefined;
                    promptCacheRetention?: "in_memory" | "24h" | undefined;
                    supportsVerbosity?: boolean | undefined;
                    supportsReasoningBudget?: boolean | undefined;
                    supportsReasoningBinary?: boolean | undefined;
                    supportsTemperature?: boolean | undefined;
                    defaultTemperature?: number | undefined;
                    requiredReasoningBudget?: boolean | undefined;
                    supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
                    requiredReasoningEffort?: boolean | undefined;
                    preserveReasoning?: boolean | undefined;
                    supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
                    inputPrice?: number | undefined;
                    outputPrice?: number | undefined;
                    cacheWritesPrice?: number | undefined;
                    cacheReadsPrice?: number | undefined;
                    description?: string | undefined;
                    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
                    minTokensPerCachePoint?: number | undefined;
                    maxCachePoints?: number | undefined;
                    cachableFields?: string[] | undefined;
                    deprecated?: boolean | undefined;
                    isFree?: boolean | undefined;
                    supportsNativeTools?: boolean | undefined;
                    defaultToolProtocol?: "xml" | "native" | undefined;
                    tiers?: {
                        contextWindow: number;
                        name?: "default" | "flex" | "priority" | undefined;
                        inputPrice?: number | undefined;
                        outputPrice?: number | undefined;
                        cacheWritesPrice?: number | undefined;
                        cacheReadsPrice?: number | undefined;
                    }[] | undefined;
                } | null | undefined;
                openAiUseAzure?: boolean | undefined;
                azureApiVersion?: string | undefined;
                openAiStreamingEnabled?: boolean | undefined;
                openAiHostHeader?: string | undefined;
                openAiHeaders?: Record<string, string> | undefined;
                ollamaModelId?: string | undefined;
                ollamaBaseUrl?: string | undefined;
                ollamaApiKey?: string | undefined;
                ollamaNumCtx?: number | undefined;
                vsCodeLmModelSelector?: {
                    id?: string | undefined;
                    family?: string | undefined;
                    version?: string | undefined;
                    vendor?: string | undefined;
                } | undefined;
                lmStudioModelId?: string | undefined;
                lmStudioBaseUrl?: string | undefined;
                lmStudioDraftModelId?: string | undefined;
                lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
                geminiApiKey?: string | undefined;
                googleGeminiBaseUrl?: string | undefined;
                geminiCliOAuthPath?: string | undefined;
                geminiCliProjectId?: string | undefined;
                openAiNativeApiKey?: string | undefined;
                openAiNativeBaseUrl?: string | undefined;
                openAiNativeServiceTier?: "default" | "flex" | "priority" | undefined;
                mistralApiKey?: string | undefined;
                mistralCodestralUrl?: string | undefined;
                deepSeekBaseUrl?: string | undefined;
                deepSeekApiKey?: string | undefined;
                deepInfraBaseUrl?: string | undefined;
                deepInfraApiKey?: string | undefined;
                deepInfraModelId?: string | undefined;
                doubaoBaseUrl?: string | undefined;
                doubaoApiKey?: string | undefined;
                moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined;
                moonshotApiKey?: string | undefined;
                minimaxBaseUrl?: "https://api.minimax.io/v1" | "https://api.minimaxi.com/v1" | undefined;
                minimaxApiKey?: string | undefined;
                unboundApiKey?: string | undefined;
                unboundModelId?: string | undefined;
                requestyBaseUrl?: string | undefined;
                requestyApiKey?: string | undefined;
                requestyModelId?: string | undefined;
                fakeAi?: unknown;
                xaiApiKey?: string | undefined;
                groqApiKey?: string | undefined;
                huggingFaceApiKey?: string | undefined;
                huggingFaceModelId?: string | undefined;
                huggingFaceInferenceProvider?: string | undefined;
                chutesApiKey?: string | undefined;
                litellmBaseUrl?: string | undefined;
                litellmApiKey?: string | undefined;
                litellmModelId?: string | undefined;
                litellmUsePromptCache?: boolean | undefined;
                cerebrasApiKey?: string | undefined;
                sambaNovaApiKey?: string | undefined;
                zaiApiKey?: string | undefined;
                zaiApiLine?: "international_coding" | "china_coding" | undefined;
                fireworksApiKey?: string | undefined;
                featherlessApiKey?: string | undefined;
                ioIntelligenceModelId?: string | undefined;
                ioIntelligenceApiKey?: string | undefined;
                qwenCodeOauthPath?: string | undefined;
                vercelAiGatewayApiKey?: string | undefined;
                vercelAiGatewayModelId?: string | undefined;
                mode?: string | undefined;
                customInstructions?: string | undefined;
                customModes?: {
                    name: string;
                    slug: string;
                    roleDefinition: string;
                    groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
                        description?: string | undefined;
                        fileRegex?: string | undefined;
                    }])[];
                    description?: string | undefined;
                    whenToUse?: string | undefined;
                    customInstructions?: string | undefined;
                    source?: "global" | "project" | undefined;
                }[] | undefined;
                currentApiConfigName?: string | undefined;
                listApiConfigMeta?: {
                    id: string;
                    name: string;
                    apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
                    modelId?: string | undefined;
                }[] | undefined;
                pinnedApiConfigs?: Record<string, boolean> | undefined;
                lastShownAnnouncementId?: string | undefined;
                taskHistory?: {
                    number: number;
                    ts: number;
                    totalCost: number;
                    id: string;
                    task: string;
                    tokensIn: number;
                    tokensOut: number;
                    rootTaskId?: string | undefined;
                    parentTaskId?: string | undefined;
                    cacheWrites?: number | undefined;
                    cacheReads?: number | undefined;
                    size?: number | undefined;
                    workspace?: string | undefined;
                    mode?: string | undefined;
                }[] | undefined;
                dismissedUpsells?: string[] | undefined;
                openRouterImageApiKey?: string | undefined;
                openRouterImageGenerationSelectedModel?: string | undefined;
                condensingApiConfigId?: string | undefined;
                customCondensingPrompt?: string | undefined;
                autoApprovalEnabled?: boolean | undefined;
                alwaysAllowReadOnly?: boolean | undefined;
                alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
                alwaysAllowWrite?: boolean | undefined;
                alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
                alwaysAllowWriteProtected?: boolean | undefined;
                writeDelayMs?: number | undefined;
                alwaysAllowBrowser?: boolean | undefined;
                alwaysApproveResubmit?: boolean | undefined;
                requestDelaySeconds?: number | undefined;
                alwaysAllowMcp?: boolean | undefined;
                alwaysAllowModeSwitch?: boolean | undefined;
                alwaysAllowSubtasks?: boolean | undefined;
                alwaysAllowExecute?: boolean | undefined;
                alwaysAllowFollowupQuestions?: boolean | undefined;
                followupAutoApproveTimeoutMs?: number | undefined;
                alwaysAllowUpdateTodoList?: boolean | undefined;
                allowedCommands?: string[] | undefined;
                deniedCommands?: string[] | undefined;
                commandExecutionTimeout?: number | undefined;
                commandTimeoutAllowlist?: string[] | undefined;
                preventCompletionWithOpenTodos?: boolean | undefined;
                allowedMaxRequests?: number | null | undefined;
                allowedMaxCost?: number | null | undefined;
                autoCondenseContext?: boolean | undefined;
                autoCondenseContextPercent?: number | undefined;
                maxConcurrentFileReads?: number | undefined;
                includeCurrentTime?: boolean | undefined;
                includeCurrentCost?: boolean | undefined;
                maxGitStatusFiles?: number | undefined;
                includeDiagnosticMessages?: boolean | undefined;
                maxDiagnosticMessages?: number | undefined;
                browserToolEnabled?: boolean | undefined;
                browserViewportSize?: string | undefined;
                screenshotQuality?: number | undefined;
                remoteBrowserEnabled?: boolean | undefined;
                remoteBrowserHost?: string | undefined;
                cachedChromeHostUrl?: string | undefined;
                enableCheckpoints?: boolean | undefined;
                checkpointTimeout?: number | undefined;
                ttsEnabled?: boolean | undefined;
                ttsSpeed?: number | undefined;
                soundEnabled?: boolean | undefined;
                soundVolume?: number | undefined;
                maxOpenTabsContext?: number | undefined;
                maxWorkspaceFiles?: number | undefined;
                showRooIgnoredFiles?: boolean | undefined;
                maxReadFileLine?: number | undefined;
                maxImageFileSize?: number | undefined;
                maxTotalImageSize?: number | undefined;
                terminalOutputLineLimit?: number | undefined;
                terminalOutputCharacterLimit?: number | undefined;
                terminalShellIntegrationTimeout?: number | undefined;
                terminalShellIntegrationDisabled?: boolean | undefined;
                terminalCommandDelay?: number | undefined;
                terminalPowershellCounter?: boolean | undefined;
                terminalZshClearEolMark?: boolean | undefined;
                terminalZshOhMy?: boolean | undefined;
                terminalZshP10k?: boolean | undefined;
                terminalZdotdir?: boolean | undefined;
                terminalCompressProgressBar?: boolean | undefined;
                diagnosticsEnabled?: boolean | undefined;
                experiments?: {
                    powerSteering?: boolean | undefined;
                    multiFileApplyDiff?: boolean | undefined;
                    preventFocusDisruption?: boolean | undefined;
                    imageGeneration?: boolean | undefined;
                    runSlashCommand?: boolean | undefined;
                    nativeToolCalling?: boolean | undefined;
                } | undefined;
                codebaseIndexModels?: {
                    openai?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    ollama?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    "openai-compatible"?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    gemini?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    mistral?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    "vercel-ai-gateway"?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    openrouter?: Record<string, {
                        dimension: number;
                    }> | undefined;
                } | undefined;
                codebaseIndexConfig?: {
                    codebaseIndexEnabled?: boolean | undefined;
                    codebaseIndexQdrantUrl?: string | undefined;
                    codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | undefined;
                    codebaseIndexEmbedderBaseUrl?: string | undefined;
                    codebaseIndexEmbedderModelId?: string | undefined;
                    codebaseIndexEmbedderModelDimension?: number | undefined;
                    codebaseIndexSearchMinScore?: number | undefined;
                    codebaseIndexSearchMaxResults?: number | undefined;
                    codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
                    codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
                } | undefined;
                telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
                mcpEnabled?: boolean | undefined;
                enableMcpServerCreation?: boolean | undefined;
                modeApiConfigs?: Record<string, string> | undefined;
                customModePrompts?: Record<string, {
                    description?: string | undefined;
                    roleDefinition?: string | undefined;
                    whenToUse?: string | undefined;
                    customInstructions?: string | undefined;
                } | undefined> | undefined;
                customSupportPrompts?: Record<string, string | undefined> | undefined;
                enhancementApiConfigId?: string | undefined;
                includeTaskHistoryInEnhance?: boolean | undefined;
                historyPreviewCollapsed?: boolean | undefined;
                reasoningBlockCollapsed?: boolean | undefined;
                profileThresholds?: Record<string, number> | undefined;
                hasOpenedModeSelector?: boolean | undefined;
                lastModeExportPath?: string | undefined;
                lastModeImportPath?: string | undefined;
            };
            images?: string[] | undefined;
            newTab?: boolean | undefined;
        };
        commandName: TaskCommandName.StartNewTask;
    }>, z.ZodObject<{
        commandName: z.ZodLiteral<TaskCommandName.CancelTask>;
        data: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        data: string;
        commandName: TaskCommandName.CancelTask;
    }, {
        data: string;
        commandName: TaskCommandName.CancelTask;
    }>, z.ZodObject<{
        commandName: z.ZodLiteral<TaskCommandName.CloseTask>;
        data: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        data: string;
        commandName: TaskCommandName.CloseTask;
    }, {
        data: string;
        commandName: TaskCommandName.CloseTask;
    }>, z.ZodObject<{
        commandName: z.ZodLiteral<TaskCommandName.ResumeTask>;
        data: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        data: string;
        commandName: TaskCommandName.ResumeTask;
    }, {
        data: string;
        commandName: TaskCommandName.ResumeTask;
    }>, z.ZodObject<{
        commandName: z.ZodLiteral<TaskCommandName.SendMessage>;
        data: z.ZodObject<{
            text: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        }, "strip", z.ZodTypeAny, {
            text?: string | undefined;
            images?: string[] | undefined;
        }, {
            text?: string | undefined;
            images?: string[] | undefined;
        }>;
    }, "strip", z.ZodTypeAny, {
        data: {
            text?: string | undefined;
            images?: string[] | undefined;
        };
        commandName: TaskCommandName.SendMessage;
    }, {
        data: {
            text?: string | undefined;
            images?: string[] | undefined;
        };
        commandName: TaskCommandName.SendMessage;
    }>]>;
}, "strip", z.ZodTypeAny, {
    type: IpcMessageType.TaskCommand;
    data: {
        data: {
            text: string;
            configuration: {
                reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
                codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
                codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
                codeIndexOpenAiKey?: string | undefined;
                codeIndexQdrantApiKey?: string | undefined;
                codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
                codebaseIndexGeminiApiKey?: string | undefined;
                codebaseIndexMistralApiKey?: string | undefined;
                codebaseIndexVercelAiGatewayApiKey?: string | undefined;
                codebaseIndexOpenRouterApiKey?: string | undefined;
                language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
                apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
                includeMaxTokens?: boolean | undefined;
                diffEnabled?: boolean | undefined;
                todoListEnabled?: boolean | undefined;
                fuzzyMatchThreshold?: number | undefined;
                modelTemperature?: number | null | undefined;
                rateLimitSeconds?: number | undefined;
                consecutiveMistakeLimit?: number | undefined;
                enableReasoningEffort?: boolean | undefined;
                modelMaxTokens?: number | undefined;
                modelMaxThinkingTokens?: number | undefined;
                verbosity?: "low" | "medium" | "high" | undefined;
                toolProtocol?: "xml" | "native" | undefined;
                apiModelId?: string | undefined;
                apiKey?: string | undefined;
                anthropicBaseUrl?: string | undefined;
                anthropicUseAuthToken?: boolean | undefined;
                anthropicBeta1MContext?: boolean | undefined;
                claudeCodePath?: string | undefined;
                claudeCodeMaxOutputTokens?: number | undefined;
                glamaModelId?: string | undefined;
                glamaApiKey?: string | undefined;
                openRouterApiKey?: string | undefined;
                openRouterModelId?: string | undefined;
                openRouterBaseUrl?: string | undefined;
                openRouterSpecificProvider?: string | undefined;
                openRouterUseMiddleOutTransform?: boolean | undefined;
                awsAccessKey?: string | undefined;
                awsSecretKey?: string | undefined;
                awsSessionToken?: string | undefined;
                awsRegion?: string | undefined;
                awsUseCrossRegionInference?: boolean | undefined;
                awsUseGlobalInference?: boolean | undefined;
                awsUsePromptCache?: boolean | undefined;
                awsProfile?: string | undefined;
                awsUseProfile?: boolean | undefined;
                awsApiKey?: string | undefined;
                awsUseApiKey?: boolean | undefined;
                awsCustomArn?: string | undefined;
                awsModelContextWindow?: number | undefined;
                awsBedrockEndpointEnabled?: boolean | undefined;
                awsBedrockEndpoint?: string | undefined;
                awsBedrock1MContext?: boolean | undefined;
                vertexKeyFile?: string | undefined;
                vertexJsonCredentials?: string | undefined;
                vertexProjectId?: string | undefined;
                vertexRegion?: string | undefined;
                enableUrlContext?: boolean | undefined;
                enableGrounding?: boolean | undefined;
                openAiBaseUrl?: string | undefined;
                openAiApiKey?: string | undefined;
                openAiLegacyFormat?: boolean | undefined;
                openAiR1FormatEnabled?: boolean | undefined;
                openAiModelId?: string | undefined;
                openAiCustomModelInfo?: {
                    contextWindow: number;
                    supportsPromptCache: boolean;
                    maxTokens?: number | null | undefined;
                    maxThinkingTokens?: number | null | undefined;
                    supportsImages?: boolean | undefined;
                    promptCacheRetention?: "in_memory" | "24h" | undefined;
                    supportsVerbosity?: boolean | undefined;
                    supportsReasoningBudget?: boolean | undefined;
                    supportsReasoningBinary?: boolean | undefined;
                    supportsTemperature?: boolean | undefined;
                    defaultTemperature?: number | undefined;
                    requiredReasoningBudget?: boolean | undefined;
                    supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
                    requiredReasoningEffort?: boolean | undefined;
                    preserveReasoning?: boolean | undefined;
                    supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
                    inputPrice?: number | undefined;
                    outputPrice?: number | undefined;
                    cacheWritesPrice?: number | undefined;
                    cacheReadsPrice?: number | undefined;
                    description?: string | undefined;
                    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
                    minTokensPerCachePoint?: number | undefined;
                    maxCachePoints?: number | undefined;
                    cachableFields?: string[] | undefined;
                    deprecated?: boolean | undefined;
                    isFree?: boolean | undefined;
                    supportsNativeTools?: boolean | undefined;
                    defaultToolProtocol?: "xml" | "native" | undefined;
                    tiers?: {
                        contextWindow: number;
                        name?: "default" | "flex" | "priority" | undefined;
                        inputPrice?: number | undefined;
                        outputPrice?: number | undefined;
                        cacheWritesPrice?: number | undefined;
                        cacheReadsPrice?: number | undefined;
                    }[] | undefined;
                } | null | undefined;
                openAiUseAzure?: boolean | undefined;
                azureApiVersion?: string | undefined;
                openAiStreamingEnabled?: boolean | undefined;
                openAiHostHeader?: string | undefined;
                openAiHeaders?: Record<string, string> | undefined;
                ollamaModelId?: string | undefined;
                ollamaBaseUrl?: string | undefined;
                ollamaApiKey?: string | undefined;
                ollamaNumCtx?: number | undefined;
                vsCodeLmModelSelector?: {
                    id?: string | undefined;
                    family?: string | undefined;
                    version?: string | undefined;
                    vendor?: string | undefined;
                } | undefined;
                lmStudioModelId?: string | undefined;
                lmStudioBaseUrl?: string | undefined;
                lmStudioDraftModelId?: string | undefined;
                lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
                geminiApiKey?: string | undefined;
                googleGeminiBaseUrl?: string | undefined;
                geminiCliOAuthPath?: string | undefined;
                geminiCliProjectId?: string | undefined;
                openAiNativeApiKey?: string | undefined;
                openAiNativeBaseUrl?: string | undefined;
                openAiNativeServiceTier?: "default" | "flex" | "priority" | undefined;
                mistralApiKey?: string | undefined;
                mistralCodestralUrl?: string | undefined;
                deepSeekBaseUrl?: string | undefined;
                deepSeekApiKey?: string | undefined;
                deepInfraBaseUrl?: string | undefined;
                deepInfraApiKey?: string | undefined;
                deepInfraModelId?: string | undefined;
                doubaoBaseUrl?: string | undefined;
                doubaoApiKey?: string | undefined;
                moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined;
                moonshotApiKey?: string | undefined;
                minimaxBaseUrl?: "https://api.minimax.io/v1" | "https://api.minimaxi.com/v1" | undefined;
                minimaxApiKey?: string | undefined;
                unboundApiKey?: string | undefined;
                unboundModelId?: string | undefined;
                requestyBaseUrl?: string | undefined;
                requestyApiKey?: string | undefined;
                requestyModelId?: string | undefined;
                fakeAi?: unknown;
                xaiApiKey?: string | undefined;
                groqApiKey?: string | undefined;
                huggingFaceApiKey?: string | undefined;
                huggingFaceModelId?: string | undefined;
                huggingFaceInferenceProvider?: string | undefined;
                chutesApiKey?: string | undefined;
                litellmBaseUrl?: string | undefined;
                litellmApiKey?: string | undefined;
                litellmModelId?: string | undefined;
                litellmUsePromptCache?: boolean | undefined;
                cerebrasApiKey?: string | undefined;
                sambaNovaApiKey?: string | undefined;
                zaiApiKey?: string | undefined;
                zaiApiLine?: "international_coding" | "china_coding" | undefined;
                fireworksApiKey?: string | undefined;
                featherlessApiKey?: string | undefined;
                ioIntelligenceModelId?: string | undefined;
                ioIntelligenceApiKey?: string | undefined;
                qwenCodeOauthPath?: string | undefined;
                vercelAiGatewayApiKey?: string | undefined;
                vercelAiGatewayModelId?: string | undefined;
                mode?: string | undefined;
                customInstructions?: string | undefined;
                customModes?: {
                    name: string;
                    slug: string;
                    roleDefinition: string;
                    groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
                        description?: string | undefined;
                        fileRegex?: string | undefined;
                    }])[];
                    description?: string | undefined;
                    whenToUse?: string | undefined;
                    customInstructions?: string | undefined;
                    source?: "global" | "project" | undefined;
                }[] | undefined;
                currentApiConfigName?: string | undefined;
                listApiConfigMeta?: {
                    id: string;
                    name: string;
                    apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
                    modelId?: string | undefined;
                }[] | undefined;
                pinnedApiConfigs?: Record<string, boolean> | undefined;
                lastShownAnnouncementId?: string | undefined;
                taskHistory?: {
                    number: number;
                    ts: number;
                    totalCost: number;
                    id: string;
                    task: string;
                    tokensIn: number;
                    tokensOut: number;
                    rootTaskId?: string | undefined;
                    parentTaskId?: string | undefined;
                    cacheWrites?: number | undefined;
                    cacheReads?: number | undefined;
                    size?: number | undefined;
                    workspace?: string | undefined;
                    mode?: string | undefined;
                }[] | undefined;
                dismissedUpsells?: string[] | undefined;
                openRouterImageApiKey?: string | undefined;
                openRouterImageGenerationSelectedModel?: string | undefined;
                condensingApiConfigId?: string | undefined;
                customCondensingPrompt?: string | undefined;
                autoApprovalEnabled?: boolean | undefined;
                alwaysAllowReadOnly?: boolean | undefined;
                alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
                alwaysAllowWrite?: boolean | undefined;
                alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
                alwaysAllowWriteProtected?: boolean | undefined;
                writeDelayMs?: number | undefined;
                alwaysAllowBrowser?: boolean | undefined;
                alwaysApproveResubmit?: boolean | undefined;
                requestDelaySeconds?: number | undefined;
                alwaysAllowMcp?: boolean | undefined;
                alwaysAllowModeSwitch?: boolean | undefined;
                alwaysAllowSubtasks?: boolean | undefined;
                alwaysAllowExecute?: boolean | undefined;
                alwaysAllowFollowupQuestions?: boolean | undefined;
                followupAutoApproveTimeoutMs?: number | undefined;
                alwaysAllowUpdateTodoList?: boolean | undefined;
                allowedCommands?: string[] | undefined;
                deniedCommands?: string[] | undefined;
                commandExecutionTimeout?: number | undefined;
                commandTimeoutAllowlist?: string[] | undefined;
                preventCompletionWithOpenTodos?: boolean | undefined;
                allowedMaxRequests?: number | null | undefined;
                allowedMaxCost?: number | null | undefined;
                autoCondenseContext?: boolean | undefined;
                autoCondenseContextPercent?: number | undefined;
                maxConcurrentFileReads?: number | undefined;
                includeCurrentTime?: boolean | undefined;
                includeCurrentCost?: boolean | undefined;
                maxGitStatusFiles?: number | undefined;
                includeDiagnosticMessages?: boolean | undefined;
                maxDiagnosticMessages?: number | undefined;
                browserToolEnabled?: boolean | undefined;
                browserViewportSize?: string | undefined;
                screenshotQuality?: number | undefined;
                remoteBrowserEnabled?: boolean | undefined;
                remoteBrowserHost?: string | undefined;
                cachedChromeHostUrl?: string | undefined;
                enableCheckpoints?: boolean | undefined;
                checkpointTimeout?: number | undefined;
                ttsEnabled?: boolean | undefined;
                ttsSpeed?: number | undefined;
                soundEnabled?: boolean | undefined;
                soundVolume?: number | undefined;
                maxOpenTabsContext?: number | undefined;
                maxWorkspaceFiles?: number | undefined;
                showRooIgnoredFiles?: boolean | undefined;
                maxReadFileLine?: number | undefined;
                maxImageFileSize?: number | undefined;
                maxTotalImageSize?: number | undefined;
                terminalOutputLineLimit?: number | undefined;
                terminalOutputCharacterLimit?: number | undefined;
                terminalShellIntegrationTimeout?: number | undefined;
                terminalShellIntegrationDisabled?: boolean | undefined;
                terminalCommandDelay?: number | undefined;
                terminalPowershellCounter?: boolean | undefined;
                terminalZshClearEolMark?: boolean | undefined;
                terminalZshOhMy?: boolean | undefined;
                terminalZshP10k?: boolean | undefined;
                terminalZdotdir?: boolean | undefined;
                terminalCompressProgressBar?: boolean | undefined;
                diagnosticsEnabled?: boolean | undefined;
                experiments?: {
                    powerSteering?: boolean | undefined;
                    multiFileApplyDiff?: boolean | undefined;
                    preventFocusDisruption?: boolean | undefined;
                    imageGeneration?: boolean | undefined;
                    runSlashCommand?: boolean | undefined;
                    nativeToolCalling?: boolean | undefined;
                } | undefined;
                codebaseIndexModels?: {
                    openai?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    ollama?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    "openai-compatible"?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    gemini?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    mistral?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    "vercel-ai-gateway"?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    openrouter?: Record<string, {
                        dimension: number;
                    }> | undefined;
                } | undefined;
                codebaseIndexConfig?: {
                    codebaseIndexEnabled?: boolean | undefined;
                    codebaseIndexQdrantUrl?: string | undefined;
                    codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | undefined;
                    codebaseIndexEmbedderBaseUrl?: string | undefined;
                    codebaseIndexEmbedderModelId?: string | undefined;
                    codebaseIndexEmbedderModelDimension?: number | undefined;
                    codebaseIndexSearchMinScore?: number | undefined;
                    codebaseIndexSearchMaxResults?: number | undefined;
                    codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
                    codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
                } | undefined;
                telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
                mcpEnabled?: boolean | undefined;
                enableMcpServerCreation?: boolean | undefined;
                modeApiConfigs?: Record<string, string> | undefined;
                customModePrompts?: Record<string, {
                    description?: string | undefined;
                    roleDefinition?: string | undefined;
                    whenToUse?: string | undefined;
                    customInstructions?: string | undefined;
                } | undefined> | undefined;
                customSupportPrompts?: Record<string, string | undefined> | undefined;
                enhancementApiConfigId?: string | undefined;
                includeTaskHistoryInEnhance?: boolean | undefined;
                historyPreviewCollapsed?: boolean | undefined;
                reasoningBlockCollapsed?: boolean | undefined;
                profileThresholds?: Record<string, number> | undefined;
                hasOpenedModeSelector?: boolean | undefined;
                lastModeExportPath?: string | undefined;
                lastModeImportPath?: string | undefined;
            };
            images?: string[] | undefined;
            newTab?: boolean | undefined;
        };
        commandName: TaskCommandName.StartNewTask;
    } | {
        data: string;
        commandName: TaskCommandName.CancelTask;
    } | {
        data: string;
        commandName: TaskCommandName.CloseTask;
    } | {
        data: string;
        commandName: TaskCommandName.ResumeTask;
    } | {
        data: {
            text?: string | undefined;
            images?: string[] | undefined;
        };
        commandName: TaskCommandName.SendMessage;
    };
    clientId: string;
    origin: IpcOrigin.Client;
}, {
    type: IpcMessageType.TaskCommand;
    data: {
        data: {
            text: string;
            configuration: {
                reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
                codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
                codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
                codeIndexOpenAiKey?: string | undefined;
                codeIndexQdrantApiKey?: string | undefined;
                codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
                codebaseIndexGeminiApiKey?: string | undefined;
                codebaseIndexMistralApiKey?: string | undefined;
                codebaseIndexVercelAiGatewayApiKey?: string | undefined;
                codebaseIndexOpenRouterApiKey?: string | undefined;
                language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
                apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
                includeMaxTokens?: boolean | undefined;
                diffEnabled?: boolean | undefined;
                todoListEnabled?: boolean | undefined;
                fuzzyMatchThreshold?: number | undefined;
                modelTemperature?: number | null | undefined;
                rateLimitSeconds?: number | undefined;
                consecutiveMistakeLimit?: number | undefined;
                enableReasoningEffort?: boolean | undefined;
                modelMaxTokens?: number | undefined;
                modelMaxThinkingTokens?: number | undefined;
                verbosity?: "low" | "medium" | "high" | undefined;
                toolProtocol?: "xml" | "native" | undefined;
                apiModelId?: string | undefined;
                apiKey?: string | undefined;
                anthropicBaseUrl?: string | undefined;
                anthropicUseAuthToken?: boolean | undefined;
                anthropicBeta1MContext?: boolean | undefined;
                claudeCodePath?: string | undefined;
                claudeCodeMaxOutputTokens?: number | undefined;
                glamaModelId?: string | undefined;
                glamaApiKey?: string | undefined;
                openRouterApiKey?: string | undefined;
                openRouterModelId?: string | undefined;
                openRouterBaseUrl?: string | undefined;
                openRouterSpecificProvider?: string | undefined;
                openRouterUseMiddleOutTransform?: boolean | undefined;
                awsAccessKey?: string | undefined;
                awsSecretKey?: string | undefined;
                awsSessionToken?: string | undefined;
                awsRegion?: string | undefined;
                awsUseCrossRegionInference?: boolean | undefined;
                awsUseGlobalInference?: boolean | undefined;
                awsUsePromptCache?: boolean | undefined;
                awsProfile?: string | undefined;
                awsUseProfile?: boolean | undefined;
                awsApiKey?: string | undefined;
                awsUseApiKey?: boolean | undefined;
                awsCustomArn?: string | undefined;
                awsModelContextWindow?: number | undefined;
                awsBedrockEndpointEnabled?: boolean | undefined;
                awsBedrockEndpoint?: string | undefined;
                awsBedrock1MContext?: boolean | undefined;
                vertexKeyFile?: string | undefined;
                vertexJsonCredentials?: string | undefined;
                vertexProjectId?: string | undefined;
                vertexRegion?: string | undefined;
                enableUrlContext?: boolean | undefined;
                enableGrounding?: boolean | undefined;
                openAiBaseUrl?: string | undefined;
                openAiApiKey?: string | undefined;
                openAiLegacyFormat?: boolean | undefined;
                openAiR1FormatEnabled?: boolean | undefined;
                openAiModelId?: string | undefined;
                openAiCustomModelInfo?: {
                    contextWindow: number;
                    supportsPromptCache: boolean;
                    maxTokens?: number | null | undefined;
                    maxThinkingTokens?: number | null | undefined;
                    supportsImages?: boolean | undefined;
                    promptCacheRetention?: "in_memory" | "24h" | undefined;
                    supportsVerbosity?: boolean | undefined;
                    supportsReasoningBudget?: boolean | undefined;
                    supportsReasoningBinary?: boolean | undefined;
                    supportsTemperature?: boolean | undefined;
                    defaultTemperature?: number | undefined;
                    requiredReasoningBudget?: boolean | undefined;
                    supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
                    requiredReasoningEffort?: boolean | undefined;
                    preserveReasoning?: boolean | undefined;
                    supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
                    inputPrice?: number | undefined;
                    outputPrice?: number | undefined;
                    cacheWritesPrice?: number | undefined;
                    cacheReadsPrice?: number | undefined;
                    description?: string | undefined;
                    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
                    minTokensPerCachePoint?: number | undefined;
                    maxCachePoints?: number | undefined;
                    cachableFields?: string[] | undefined;
                    deprecated?: boolean | undefined;
                    isFree?: boolean | undefined;
                    supportsNativeTools?: boolean | undefined;
                    defaultToolProtocol?: "xml" | "native" | undefined;
                    tiers?: {
                        contextWindow: number;
                        name?: "default" | "flex" | "priority" | undefined;
                        inputPrice?: number | undefined;
                        outputPrice?: number | undefined;
                        cacheWritesPrice?: number | undefined;
                        cacheReadsPrice?: number | undefined;
                    }[] | undefined;
                } | null | undefined;
                openAiUseAzure?: boolean | undefined;
                azureApiVersion?: string | undefined;
                openAiStreamingEnabled?: boolean | undefined;
                openAiHostHeader?: string | undefined;
                openAiHeaders?: Record<string, string> | undefined;
                ollamaModelId?: string | undefined;
                ollamaBaseUrl?: string | undefined;
                ollamaApiKey?: string | undefined;
                ollamaNumCtx?: number | undefined;
                vsCodeLmModelSelector?: {
                    id?: string | undefined;
                    family?: string | undefined;
                    version?: string | undefined;
                    vendor?: string | undefined;
                } | undefined;
                lmStudioModelId?: string | undefined;
                lmStudioBaseUrl?: string | undefined;
                lmStudioDraftModelId?: string | undefined;
                lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
                geminiApiKey?: string | undefined;
                googleGeminiBaseUrl?: string | undefined;
                geminiCliOAuthPath?: string | undefined;
                geminiCliProjectId?: string | undefined;
                openAiNativeApiKey?: string | undefined;
                openAiNativeBaseUrl?: string | undefined;
                openAiNativeServiceTier?: "default" | "flex" | "priority" | undefined;
                mistralApiKey?: string | undefined;
                mistralCodestralUrl?: string | undefined;
                deepSeekBaseUrl?: string | undefined;
                deepSeekApiKey?: string | undefined;
                deepInfraBaseUrl?: string | undefined;
                deepInfraApiKey?: string | undefined;
                deepInfraModelId?: string | undefined;
                doubaoBaseUrl?: string | undefined;
                doubaoApiKey?: string | undefined;
                moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined;
                moonshotApiKey?: string | undefined;
                minimaxBaseUrl?: "https://api.minimax.io/v1" | "https://api.minimaxi.com/v1" | undefined;
                minimaxApiKey?: string | undefined;
                unboundApiKey?: string | undefined;
                unboundModelId?: string | undefined;
                requestyBaseUrl?: string | undefined;
                requestyApiKey?: string | undefined;
                requestyModelId?: string | undefined;
                fakeAi?: unknown;
                xaiApiKey?: string | undefined;
                groqApiKey?: string | undefined;
                huggingFaceApiKey?: string | undefined;
                huggingFaceModelId?: string | undefined;
                huggingFaceInferenceProvider?: string | undefined;
                chutesApiKey?: string | undefined;
                litellmBaseUrl?: string | undefined;
                litellmApiKey?: string | undefined;
                litellmModelId?: string | undefined;
                litellmUsePromptCache?: boolean | undefined;
                cerebrasApiKey?: string | undefined;
                sambaNovaApiKey?: string | undefined;
                zaiApiKey?: string | undefined;
                zaiApiLine?: "international_coding" | "china_coding" | undefined;
                fireworksApiKey?: string | undefined;
                featherlessApiKey?: string | undefined;
                ioIntelligenceModelId?: string | undefined;
                ioIntelligenceApiKey?: string | undefined;
                qwenCodeOauthPath?: string | undefined;
                vercelAiGatewayApiKey?: string | undefined;
                vercelAiGatewayModelId?: string | undefined;
                mode?: string | undefined;
                customInstructions?: string | undefined;
                customModes?: {
                    name: string;
                    slug: string;
                    roleDefinition: string;
                    groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
                        description?: string | undefined;
                        fileRegex?: string | undefined;
                    }])[];
                    description?: string | undefined;
                    whenToUse?: string | undefined;
                    customInstructions?: string | undefined;
                    source?: "global" | "project" | undefined;
                }[] | undefined;
                currentApiConfigName?: string | undefined;
                listApiConfigMeta?: {
                    id: string;
                    name: string;
                    apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
                    modelId?: string | undefined;
                }[] | undefined;
                pinnedApiConfigs?: Record<string, boolean> | undefined;
                lastShownAnnouncementId?: string | undefined;
                taskHistory?: {
                    number: number;
                    ts: number;
                    totalCost: number;
                    id: string;
                    task: string;
                    tokensIn: number;
                    tokensOut: number;
                    rootTaskId?: string | undefined;
                    parentTaskId?: string | undefined;
                    cacheWrites?: number | undefined;
                    cacheReads?: number | undefined;
                    size?: number | undefined;
                    workspace?: string | undefined;
                    mode?: string | undefined;
                }[] | undefined;
                dismissedUpsells?: string[] | undefined;
                openRouterImageApiKey?: string | undefined;
                openRouterImageGenerationSelectedModel?: string | undefined;
                condensingApiConfigId?: string | undefined;
                customCondensingPrompt?: string | undefined;
                autoApprovalEnabled?: boolean | undefined;
                alwaysAllowReadOnly?: boolean | undefined;
                alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
                alwaysAllowWrite?: boolean | undefined;
                alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
                alwaysAllowWriteProtected?: boolean | undefined;
                writeDelayMs?: number | undefined;
                alwaysAllowBrowser?: boolean | undefined;
                alwaysApproveResubmit?: boolean | undefined;
                requestDelaySeconds?: number | undefined;
                alwaysAllowMcp?: boolean | undefined;
                alwaysAllowModeSwitch?: boolean | undefined;
                alwaysAllowSubtasks?: boolean | undefined;
                alwaysAllowExecute?: boolean | undefined;
                alwaysAllowFollowupQuestions?: boolean | undefined;
                followupAutoApproveTimeoutMs?: number | undefined;
                alwaysAllowUpdateTodoList?: boolean | undefined;
                allowedCommands?: string[] | undefined;
                deniedCommands?: string[] | undefined;
                commandExecutionTimeout?: number | undefined;
                commandTimeoutAllowlist?: string[] | undefined;
                preventCompletionWithOpenTodos?: boolean | undefined;
                allowedMaxRequests?: number | null | undefined;
                allowedMaxCost?: number | null | undefined;
                autoCondenseContext?: boolean | undefined;
                autoCondenseContextPercent?: number | undefined;
                maxConcurrentFileReads?: number | undefined;
                includeCurrentTime?: boolean | undefined;
                includeCurrentCost?: boolean | undefined;
                maxGitStatusFiles?: number | undefined;
                includeDiagnosticMessages?: boolean | undefined;
                maxDiagnosticMessages?: number | undefined;
                browserToolEnabled?: boolean | undefined;
                browserViewportSize?: string | undefined;
                screenshotQuality?: number | undefined;
                remoteBrowserEnabled?: boolean | undefined;
                remoteBrowserHost?: string | undefined;
                cachedChromeHostUrl?: string | undefined;
                enableCheckpoints?: boolean | undefined;
                checkpointTimeout?: number | undefined;
                ttsEnabled?: boolean | undefined;
                ttsSpeed?: number | undefined;
                soundEnabled?: boolean | undefined;
                soundVolume?: number | undefined;
                maxOpenTabsContext?: number | undefined;
                maxWorkspaceFiles?: number | undefined;
                showRooIgnoredFiles?: boolean | undefined;
                maxReadFileLine?: number | undefined;
                maxImageFileSize?: number | undefined;
                maxTotalImageSize?: number | undefined;
                terminalOutputLineLimit?: number | undefined;
                terminalOutputCharacterLimit?: number | undefined;
                terminalShellIntegrationTimeout?: number | undefined;
                terminalShellIntegrationDisabled?: boolean | undefined;
                terminalCommandDelay?: number | undefined;
                terminalPowershellCounter?: boolean | undefined;
                terminalZshClearEolMark?: boolean | undefined;
                terminalZshOhMy?: boolean | undefined;
                terminalZshP10k?: boolean | undefined;
                terminalZdotdir?: boolean | undefined;
                terminalCompressProgressBar?: boolean | undefined;
                diagnosticsEnabled?: boolean | undefined;
                experiments?: {
                    powerSteering?: boolean | undefined;
                    multiFileApplyDiff?: boolean | undefined;
                    preventFocusDisruption?: boolean | undefined;
                    imageGeneration?: boolean | undefined;
                    runSlashCommand?: boolean | undefined;
                    nativeToolCalling?: boolean | undefined;
                } | undefined;
                codebaseIndexModels?: {
                    openai?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    ollama?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    "openai-compatible"?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    gemini?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    mistral?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    "vercel-ai-gateway"?: Record<string, {
                        dimension: number;
                    }> | undefined;
                    openrouter?: Record<string, {
                        dimension: number;
                    }> | undefined;
                } | undefined;
                codebaseIndexConfig?: {
                    codebaseIndexEnabled?: boolean | undefined;
                    codebaseIndexQdrantUrl?: string | undefined;
                    codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | undefined;
                    codebaseIndexEmbedderBaseUrl?: string | undefined;
                    codebaseIndexEmbedderModelId?: string | undefined;
                    codebaseIndexEmbedderModelDimension?: number | undefined;
                    codebaseIndexSearchMinScore?: number | undefined;
                    codebaseIndexSearchMaxResults?: number | undefined;
                    codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
                    codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
                } | undefined;
                telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
                mcpEnabled?: boolean | undefined;
                enableMcpServerCreation?: boolean | undefined;
                modeApiConfigs?: Record<string, string> | undefined;
                customModePrompts?: Record<string, {
                    description?: string | undefined;
                    roleDefinition?: string | undefined;
                    whenToUse?: string | undefined;
                    customInstructions?: string | undefined;
                } | undefined> | undefined;
                customSupportPrompts?: Record<string, string | undefined> | undefined;
                enhancementApiConfigId?: string | undefined;
                includeTaskHistoryInEnhance?: boolean | undefined;
                historyPreviewCollapsed?: boolean | undefined;
                reasoningBlockCollapsed?: boolean | undefined;
                profileThresholds?: Record<string, number> | undefined;
                hasOpenedModeSelector?: boolean | undefined;
                lastModeExportPath?: string | undefined;
                lastModeImportPath?: string | undefined;
            };
            images?: string[] | undefined;
            newTab?: boolean | undefined;
        };
        commandName: TaskCommandName.StartNewTask;
    } | {
        data: string;
        commandName: TaskCommandName.CancelTask;
    } | {
        data: string;
        commandName: TaskCommandName.CloseTask;
    } | {
        data: string;
        commandName: TaskCommandName.ResumeTask;
    } | {
        data: {
            text?: string | undefined;
            images?: string[] | undefined;
        };
        commandName: TaskCommandName.SendMessage;
    };
    clientId: string;
    origin: IpcOrigin.Client;
}>, z.ZodObject<{
    type: z.ZodLiteral<IpcMessageType.TaskEvent>;
    origin: z.ZodLiteral<IpcOrigin.Server>;
    relayClientId: z.ZodOptional<z.ZodString>;
    data: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject<{
        eventName: z.ZodLiteral<RooCodeEventName.TaskCreated>;
        payload: z.ZodTuple<[z.ZodString], null>;
        taskId: z.ZodOptional<z.ZodNumber>;
    }, "strip", z.ZodTypeAny, {
        eventName: RooCodeEventName.TaskCreated;
        payload: [string];
        taskId?: number | undefined;
    }, {
        eventName: RooCodeEventName.TaskCreated;
        payload: [string];
        taskId?: number | undefined;
    }>, z.ZodObject<{
        eventName: z.ZodLiteral<RooCodeEventName.TaskStarted>;
        payload: z.ZodTuple<[z.ZodString], null>;
        taskId: z.ZodOptional<z.ZodNumber>;
    }, "strip", z.ZodTypeAny, {
        eventName: RooCodeEventName.TaskStarted;
        payload: [string];
        taskId?: number | undefined;
    }, {
        eventName: RooCodeEventName.TaskStarted;
        payload: [string];
        taskId?: number | undefined;
    }>, z.ZodObject<{
        eventName: z.ZodLiteral<RooCodeEventName.TaskCompleted>;
        payload: z.ZodTuple<[z.ZodString, z.ZodObject<{
            totalTokensIn: z.ZodNumber;
            totalTokensOut: z.ZodNumber;
            totalCacheWrites: z.ZodOptional<z.ZodNumber>;
            totalCacheReads: z.ZodOptional<z.ZodNumber>;
            totalCost: z.ZodNumber;
            contextTokens: z.ZodNumber;
        }, "strip", z.ZodTypeAny, {
            totalTokensIn: number;
            totalTokensOut: number;
            totalCost: number;
            contextTokens: number;
            totalCacheWrites?: number | undefined;
            totalCacheReads?: number | undefined;
        }, {
            totalTokensIn: number;
            totalTokensOut: number;
            totalCost: number;
            contextTokens: number;
            totalCacheWrites?: number | undefined;
            totalCacheReads?: number | undefined;
        }>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodObject<{
            attempts: z.ZodNumber;
            failures: z.ZodNumber;
        }, "strip", z.ZodTypeAny, {
            attempts: number;
            failures: number;
        }, {
            attempts: number;
            failures: number;
        }>>, z.ZodObject<{
            isSubtask: z.ZodBoolean;
        }, "strip", z.ZodTypeAny, {
            isSubtask: boolean;
        }, {
            isSubtask: boolean;
        }>], null>;
        taskId: z.ZodOptional<z.ZodNumber>;
    }, "strip", z.ZodTypeAny, {
        eventName: RooCodeEventName.TaskCompleted;
        payload: [string, {
            totalTokensIn: number;
            totalTokensOut: number;
            totalCost: number;
            contextTokens: number;
            totalCacheWrites?: number | undefined;
            totalCacheReads?: number | undefined;
        }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
            attempts: number;
            failures: number;
        }>>, {
            isSubtask: boolean;
        }];
        taskId?: number | undefined;
    }, {
        eventName: RooCodeEventName.TaskCompleted;
        payload: [string, {
            totalTokensIn: number;
            totalTokensOut: number;
            totalCost: number;
            contextTokens: number;
            totalCacheWrites?: number | undefined;
            totalCacheReads?: number | undefined;
        }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
            attempts: number;
            failures: number;
        }>>, {
            isSubtask: boolean;
        }];
        taskId?: number | undefined;
    }>, z.ZodObject<{
        eventName: z.ZodLiteral<RooCodeEventName.TaskAborted>;
        payload: z.ZodTuple<[z.ZodString], null>;
        taskId: z.ZodOptional<z.ZodNumber>;
    }, "strip", z.ZodTypeAny, {
        eventName: RooCodeEventName.TaskAborted;
        payload: [string];
        taskId?: number | undefined;
    }, {
        eventName: RooCodeEventName.TaskAborted;
        payload: [string];
        taskId?: number | undefined;
    }>, z.ZodObject<{
        eventName: z.ZodLiteral<RooCodeEventName.TaskFocused>;
        payload: z.ZodTuple<[z.ZodString], null>;
        taskId: z.ZodOptional<z.ZodNumber>;
    }, "strip", z.ZodTypeAny, {
        eventName: RooCodeEventName.TaskFocused;
        payload: [string];
        taskId?: number | undefined;
    }, {
        eventName: RooCodeEventName.TaskFocused;
        payload: [string];
        taskId?: number | undefined;
    }>, z.ZodObject<{
        eventName: z.ZodLiteral<RooCodeEventName.TaskUnfocused>;
        payload: z.ZodTuple<[z.ZodString], null>;
        taskId: z.ZodOptional<z.ZodNumber>;
    }, "strip", z.ZodTypeAny, {
        eventName: RooCodeEventName.TaskUnfocused;
        payload: [string];
        taskId?: number | undefined;
    }, {
        eventName: RooCodeEventName.TaskUnfocused;
        payload: [string];
        taskId?: number | undefined;
    }>, z.ZodObject<{
        eventName: z.ZodLiteral<RooCodeEventName.TaskActive>;
        payload: z.ZodTuple<[z.ZodString], null>;
        taskId: z.ZodOptional<z.ZodNumber>;
    }, "strip", z.ZodTypeAny, {
        eventName: RooCodeEventName.TaskActive;
        payload: [string];
        taskId?: number | undefined;
    }, {
        eventName: RooCodeEventName.TaskActive;
        payload: [string];
        taskId?: number | undefined;
    }>, z.ZodObject<{
        eventName: z.ZodLiteral<RooCodeEventName.TaskInteractive>;
        payload: z.ZodTuple<[z.ZodString], null>;
        taskId: z.ZodOptional<z.ZodNumber>;
    }, "strip", z.ZodTypeAny, {
        eventName: RooCodeEventName.TaskInteractive;
        payload: [string];
        taskId?: number | undefined;
    }, {
        eventName: RooCodeEventName.TaskInteractive;
        payload: [string];
        taskId?: number | undefined;
    }>, z.ZodObject<{
        eventName: z.ZodLiteral<RooCodeEventName.TaskResumable>;
        payload: z.ZodTuple<[z.ZodString], null>;
        taskId: z.ZodOptional<z.ZodNumber>;
    }, "strip", z.ZodTypeAny, {
        eventName: RooCodeEventName.TaskResumable;
        payload: [string];
        taskId?: number | undefined;
    }, {
        eventName: RooCodeEventName.TaskResumable;
        payload: [string];
        taskId?: number | undefined;
    }>, z.ZodObject<{
        eventName: z.ZodLiteral<RooCodeEventName.TaskIdle>;
        payload: z.ZodTuple<[z.ZodString], null>;
        taskId: z.ZodOptional<z.ZodNumber>;
    }, "strip", z.ZodTypeAny, {
        eventName: RooCodeEventName.TaskIdle;
        payload: [string];
        taskId?: number | undefined;
    }, {
        eventName: RooCodeEventName.TaskIdle;
        payload: [string];
        taskId?: number | undefined;
    }>, z.ZodObject<{
        eventName: z.ZodLiteral<RooCodeEventName.TaskPaused>;
        payload: z.ZodTuple<[z.ZodString], null>;
        taskId: z.ZodOptional<z.ZodNumber>;
    }, "strip", z.ZodTypeAny, {
        eventName: RooCodeEventName.TaskPaused;
        payload: [string];
        taskId?: number | undefined;
    }, {
        eventName: RooCodeEventName.TaskPaused;
        payload: [string];
        taskId?: number | undefined;
    }>, z.ZodObject<{
        eventName: z.ZodLiteral<RooCodeEventName.TaskUnpaused>;
        payload: z.ZodTuple<[z.ZodString], null>;
        taskId: z.ZodOptional<z.ZodNumber>;
    }, "strip", z.ZodTypeAny, {
        eventName: RooCodeEventName.TaskUnpaused;
        payload: [string];
        taskId?: number | undefined;
    }, {
        eventName: RooCodeEventName.TaskUnpaused;
        payload: [string];
        taskId?: number | undefined;
    }>, z.ZodObject<{
        eventName: z.ZodLiteral<RooCodeEventName.TaskSpawned>;
        payload: z.ZodTuple<[z.ZodString, z.ZodString], null>;
        taskId: z.ZodOptional<z.ZodNumber>;
    }, "strip", z.ZodTypeAny, {
        eventName: RooCodeEventName.TaskSpawned;
        payload: [string, string];
        taskId?: number | undefined;
    }, {
        eventName: RooCodeEventName.TaskSpawned;
        payload: [string, string];
        taskId?: number | undefined;
    }>, z.ZodObject<{
        eventName: z.ZodLiteral<RooCodeEventName.Message>;
        payload: z.ZodTuple<[z.ZodObject<{
            taskId: z.ZodString;
            action: z.ZodUnion<[z.ZodLiteral<"created">, z.ZodLiteral<"updated">]>;
            message: z.ZodObject<{
                ts: z.ZodNumber;
                type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
                ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
                say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
                text: z.ZodOptional<z.ZodString>;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
                partial: z.ZodOptional<z.ZodBoolean>;
                reasoning: z.ZodOptional<z.ZodString>;
                conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
                checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                progressStatus: z.ZodOptional<z.ZodObject<{
                    icon: z.ZodOptional<z.ZodString>;
                    text: z.ZodOptional<z.ZodString>;
                }, "strip", z.ZodTypeAny, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }>>;
                contextCondense: z.ZodOptional<z.ZodObject<{
                    cost: z.ZodNumber;
                    prevContextTokens: z.ZodNumber;
                    newContextTokens: z.ZodNumber;
                    summary: z.ZodString;
                }, "strip", z.ZodTypeAny, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }>>;
                isProtected: z.ZodOptional<z.ZodBoolean>;
                apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
                isAnswered: z.ZodOptional<z.ZodBoolean>;
            }, "strip", z.ZodTypeAny, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }>;
        }, "strip", z.ZodTypeAny, {
            message: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            };
            taskId: string;
            action: "created" | "updated";
        }, {
            message: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            };
            taskId: string;
            action: "created" | "updated";
        }>], null>;
        taskId: z.ZodOptional<z.ZodNumber>;
    }, "strip", z.ZodTypeAny, {
        eventName: RooCodeEventName.Message;
        payload: [{
            message: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            };
            taskId: string;
            action: "created" | "updated";
        }];
        taskId?: number | undefined;
    }, {
        eventName: RooCodeEventName.Message;
        payload: [{
            message: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            };
            taskId: string;
            action: "created" | "updated";
        }];
        taskId?: number | undefined;
    }>, z.ZodObject<{
        eventName: z.ZodLiteral<RooCodeEventName.TaskModeSwitched>;
        payload: z.ZodTuple<[z.ZodString, z.ZodString], null>;
        taskId: z.ZodOptional<z.ZodNumber>;
    }, "strip", z.ZodTypeAny, {
        eventName: RooCodeEventName.TaskModeSwitched;
        payload: [string, string];
        taskId?: number | undefined;
    }, {
        eventName: RooCodeEventName.TaskModeSwitched;
        payload: [string, string];
        taskId?: number | undefined;
    }>, z.ZodObject<{
        eventName: z.ZodLiteral<RooCodeEventName.TaskAskResponded>;
        payload: z.ZodTuple<[z.ZodString], null>;
        taskId: z.ZodOptional<z.ZodNumber>;
    }, "strip", z.ZodTypeAny, {
        eventName: RooCodeEventName.TaskAskResponded;
        payload: [string];
        taskId?: number | undefined;
    }, {
        eventName: RooCodeEventName.TaskAskResponded;
        payload: [string];
        taskId?: number | undefined;
    }>, z.ZodObject<{
        eventName: z.ZodLiteral<RooCodeEventName.TaskToolFailed>;
        payload: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodString], null>;
        taskId: z.ZodOptional<z.ZodNumber>;
    }, "strip", z.ZodTypeAny, {
        eventName: RooCodeEventName.TaskToolFailed;
        payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
        taskId?: number | undefined;
    }, {
        eventName: RooCodeEventName.TaskToolFailed;
        payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
        taskId?: number | undefined;
    }>, z.ZodObject<{
        eventName: z.ZodLiteral<RooCodeEventName.TaskTokenUsageUpdated>;
        payload: z.ZodTuple<[z.ZodString, z.ZodObject<{
            totalTokensIn: z.ZodNumber;
            totalTokensOut: z.ZodNumber;
            totalCacheWrites: z.ZodOptional<z.ZodNumber>;
            totalCacheReads: z.ZodOptional<z.ZodNumber>;
            totalCost: z.ZodNumber;
            contextTokens: z.ZodNumber;
        }, "strip", z.ZodTypeAny, {
            totalTokensIn: number;
            totalTokensOut: number;
            totalCost: number;
            contextTokens: number;
            totalCacheWrites?: number | undefined;
            totalCacheReads?: number | undefined;
        }, {
            totalTokensIn: number;
            totalTokensOut: number;
            totalCost: number;
            contextTokens: number;
            totalCacheWrites?: number | undefined;
            totalCacheReads?: number | undefined;
        }>], null>;
        taskId: z.ZodOptional<z.ZodNumber>;
    }, "strip", z.ZodTypeAny, {
        eventName: RooCodeEventName.TaskTokenUsageUpdated;
        payload: [string, {
            totalTokensIn: number;
            totalTokensOut: number;
            totalCost: number;
            contextTokens: number;
            totalCacheWrites?: number | undefined;
            totalCacheReads?: number | undefined;
        }];
        taskId?: number | undefined;
    }, {
        eventName: RooCodeEventName.TaskTokenUsageUpdated;
        payload: [string, {
            totalTokensIn: number;
            totalTokensOut: number;
            totalCost: number;
            contextTokens: number;
            totalCacheWrites?: number | undefined;
            totalCacheReads?: number | undefined;
        }];
        taskId?: number | undefined;
    }>, z.ZodObject<{
        eventName: z.ZodLiteral<RooCodeEventName.EvalPass>;
        payload: z.ZodUndefined;
        taskId: z.ZodNumber;
    }, "strip", z.ZodTypeAny, {
        taskId: number;
        eventName: RooCodeEventName.EvalPass;
        payload?: undefined;
    }, {
        taskId: number;
        eventName: RooCodeEventName.EvalPass;
        payload?: undefined;
    }>, z.ZodObject<{
        eventName: z.ZodLiteral<RooCodeEventName.EvalFail>;
        payload: z.ZodUndefined;
        taskId: z.ZodNumber;
    }, "strip", z.ZodTypeAny, {
        taskId: number;
        eventName: RooCodeEventName.EvalFail;
        payload?: undefined;
    }, {
        taskId: number;
        eventName: RooCodeEventName.EvalFail;
        payload?: undefined;
    }>]>;
}, "strip", z.ZodTypeAny, {
    type: IpcMessageType.TaskEvent;
    data: {
        eventName: RooCodeEventName.TaskCreated;
        payload: [string];
        taskId?: number | undefined;
    } | {
        eventName: RooCodeEventName.TaskStarted;
        payload: [string];
        taskId?: number | undefined;
    } | {
        eventName: RooCodeEventName.TaskCompleted;
        payload: [string, {
            totalTokensIn: number;
            totalTokensOut: number;
            totalCost: number;
            contextTokens: number;
            totalCacheWrites?: number | undefined;
            totalCacheReads?: number | undefined;
        }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
            attempts: number;
            failures: number;
        }>>, {
            isSubtask: boolean;
        }];
        taskId?: number | undefined;
    } | {
        eventName: RooCodeEventName.TaskAborted;
        payload: [string];
        taskId?: number | undefined;
    } | {
        eventName: RooCodeEventName.TaskFocused;
        payload: [string];
        taskId?: number | undefined;
    } | {
        eventName: RooCodeEventName.TaskUnfocused;
        payload: [string];
        taskId?: number | undefined;
    } | {
        eventName: RooCodeEventName.TaskActive;
        payload: [string];
        taskId?: number | undefined;
    } | {
        eventName: RooCodeEventName.TaskInteractive;
        payload: [string];
        taskId?: number | undefined;
    } | {
        eventName: RooCodeEventName.TaskResumable;
        payload: [string];
        taskId?: number | undefined;
    } | {
        eventName: RooCodeEventName.TaskIdle;
        payload: [string];
        taskId?: number | undefined;
    } | {
        eventName: RooCodeEventName.TaskPaused;
        payload: [string];
        taskId?: number | undefined;
    } | {
        eventName: RooCodeEventName.TaskUnpaused;
        payload: [string];
        taskId?: number | undefined;
    } | {
        eventName: RooCodeEventName.TaskSpawned;
        payload: [string, string];
        taskId?: number | undefined;
    } | {
        eventName: RooCodeEventName.Message;
        payload: [{
            message: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            };
            taskId: string;
            action: "created" | "updated";
        }];
        taskId?: number | undefined;
    } | {
        eventName: RooCodeEventName.TaskModeSwitched;
        payload: [string, string];
        taskId?: number | undefined;
    } | {
        eventName: RooCodeEventName.TaskAskResponded;
        payload: [string];
        taskId?: number | undefined;
    } | {
        eventName: RooCodeEventName.TaskToolFailed;
        payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
        taskId?: number | undefined;
    } | {
        eventName: RooCodeEventName.TaskTokenUsageUpdated;
        payload: [string, {
            totalTokensIn: number;
            totalTokensOut: number;
            totalCost: number;
            contextTokens: number;
            totalCacheWrites?: number | undefined;
            totalCacheReads?: number | undefined;
        }];
        taskId?: number | undefined;
    } | {
        taskId: number;
        eventName: RooCodeEventName.EvalPass;
        payload?: undefined;
    } | {
        taskId: number;
        eventName: RooCodeEventName.EvalFail;
        payload?: undefined;
    };
    origin: IpcOrigin.Server;
    relayClientId?: string | undefined;
}, {
    type: IpcMessageType.TaskEvent;
    data: {
        eventName: RooCodeEventName.TaskCreated;
        payload: [string];
        taskId?: number | undefined;
    } | {
        eventName: RooCodeEventName.TaskStarted;
        payload: [string];
        taskId?: number | undefined;
    } | {
        eventName: RooCodeEventName.TaskCompleted;
        payload: [string, {
            totalTokensIn: number;
            totalTokensOut: number;
            totalCost: number;
            contextTokens: number;
            totalCacheWrites?: number | undefined;
            totalCacheReads?: number | undefined;
        }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
            attempts: number;
            failures: number;
        }>>, {
            isSubtask: boolean;
        }];
        taskId?: number | undefined;
    } | {
        eventName: RooCodeEventName.TaskAborted;
        payload: [string];
        taskId?: number | undefined;
    } | {
        eventName: RooCodeEventName.TaskFocused;
        payload: [string];
        taskId?: number | undefined;
    } | {
        eventName: RooCodeEventName.TaskUnfocused;
        payload: [string];
        taskId?: number | undefined;
    } | {
        eventName: RooCodeEventName.TaskActive;
        payload: [string];
        taskId?: number | undefined;
    } | {
        eventName: RooCodeEventName.TaskInteractive;
        payload: [string];
        taskId?: number | undefined;
    } | {
        eventName: RooCodeEventName.TaskResumable;
        payload: [string];
        taskId?: number | undefined;
    } | {
        eventName: RooCodeEventName.TaskIdle;
        payload: [string];
        taskId?: number | undefined;
    } | {
        eventName: RooCodeEventName.TaskPaused;
        payload: [string];
        taskId?: number | undefined;
    } | {
        eventName: RooCodeEventName.TaskUnpaused;
        payload: [string];
        taskId?: number | undefined;
    } | {
        eventName: RooCodeEventName.TaskSpawned;
        payload: [string, string];
        taskId?: number | undefined;
    } | {
        eventName: RooCodeEventName.Message;
        payload: [{
            message: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            };
            taskId: string;
            action: "created" | "updated";
        }];
        taskId?: number | undefined;
    } | {
        eventName: RooCodeEventName.TaskModeSwitched;
        payload: [string, string];
        taskId?: number | undefined;
    } | {
        eventName: RooCodeEventName.TaskAskResponded;
        payload: [string];
        taskId?: number | undefined;
    } | {
        eventName: RooCodeEventName.TaskToolFailed;
        payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
        taskId?: number | undefined;
    } | {
        eventName: RooCodeEventName.TaskTokenUsageUpdated;
        payload: [string, {
            totalTokensIn: number;
            totalTokensOut: number;
            totalCost: number;
            contextTokens: number;
            totalCacheWrites?: number | undefined;
            totalCacheReads?: number | undefined;
        }];
        taskId?: number | undefined;
    } | {
        taskId: number;
        eventName: RooCodeEventName.EvalPass;
        payload?: undefined;
    } | {
        taskId: number;
        eventName: RooCodeEventName.EvalFail;
        payload?: undefined;
    };
    origin: IpcOrigin.Server;
    relayClientId?: string | undefined;
}>]>;
type IpcMessage = z.infer<typeof ipcMessageSchema>;
/**
 * IpcClientEvents
 */
type IpcClientEvents = {
    [IpcMessageType.Connect]: [];
    [IpcMessageType.Disconnect]: [];
    [IpcMessageType.Ack]: [data: Ack];
    [IpcMessageType.TaskCommand]: [data: TaskCommand];
    [IpcMessageType.TaskEvent]: [data: TaskEvent];
};
/**
 * IpcServerEvents
 */
type IpcServerEvents = {
    [IpcMessageType.Connect]: [clientId: string];
    [IpcMessageType.Disconnect]: [clientId: string];
    [IpcMessageType.TaskCommand]: [clientId: string, data: TaskCommand];
    [IpcMessageType.TaskEvent]: [relayClientId: string | undefined, data: TaskEvent];
};

type RooCodeAPIEvents = RooCodeEvents;
interface RooCodeAPI extends EventEmitter<RooCodeAPIEvents> {
    /**
     * Starts a new task with an optional initial message and images.
     * @param task Optional initial task message.
     * @param images Optional array of image data URIs (e.g., "data:image/webp;base64,...").
     * @returns The ID of the new task.
     */
    startNewTask({ configuration, text, images, newTab, }: {
        configuration?: RooCodeSettings;
        text?: string;
        images?: string[];
        newTab?: boolean;
    }): Promise<string>;
    /**
     * Resumes a task with the given ID.
     * @param taskId The ID of the task to resume.
     * @throws Error if the task is not found in the task history.
     */
    resumeTask(taskId: string): Promise<void>;
    /**
     * Checks if a task with the given ID is in the task history.
     * @param taskId The ID of the task to check.
     * @returns True if the task is in the task history, false otherwise.
     */
    isTaskInHistory(taskId: string): Promise<boolean>;
    /**
     * Returns the current task stack.
     * @returns An array of task IDs.
     */
    getCurrentTaskStack(): string[];
    /**
     * Clears the current task.
     */
    clearCurrentTask(lastMessage?: string): Promise<void>;
    /**
     * Cancels the current task.
     */
    cancelCurrentTask(): Promise<void>;
    /**
     * Sends a message to the current task.
     * @param message Optional message to send.
     * @param images Optional array of image data URIs (e.g., "data:image/webp;base64,...").
     */
    sendMessage(message?: string, images?: string[]): Promise<void>;
    /**
     * Simulates pressing the primary button in the chat interface.
     */
    pressPrimaryButton(): Promise<void>;
    /**
     * Simulates pressing the secondary button in the chat interface.
     */
    pressSecondaryButton(): Promise<void>;
    /**
     * Returns true if the API is ready to use.
     */
    isReady(): boolean;
    /**
     * Returns the current configuration.
     * @returns The current configuration.
     */
    getConfiguration(): RooCodeSettings;
    /**
     * Sets the configuration for the current task.
     * @param values An object containing key-value pairs to set.
     */
    setConfiguration(values: RooCodeSettings): Promise<void>;
    /**
     * Returns a list of all configured profile names
     * @returns Array of profile names
     */
    getProfiles(): string[];
    /**
     * Returns the profile entry for a given name
     * @param name The name of the profile
     * @returns The profile entry, or undefined if the profile does not exist
     */
    getProfileEntry(name: string): ProviderSettingsEntry | undefined;
    /**
     * Creates a new API configuration profile
     * @param name The name of the profile
     * @param profile The profile to create; defaults to an empty object
     * @param activate Whether to activate the profile after creation; defaults to true
     * @returns The ID of the created profile
     * @throws Error if the profile already exists
     */
    createProfile(name: string, profile?: ProviderSettings, activate?: boolean): Promise<string>;
    /**
     * Updates an existing API configuration profile
     * @param name The name of the profile
     * @param profile The profile to update
     * @param activate Whether to activate the profile after update; defaults to true
     * @returns The ID of the updated profile
     * @throws Error if the profile does not exist
     */
    updateProfile(name: string, profile: ProviderSettings, activate?: boolean): Promise<string | undefined>;
    /**
     * Creates a new API configuration profile or updates an existing one
     * @param name The name of the profile
     * @param profile The profile to create or update; defaults to an empty object
     * @param activate Whether to activate the profile after upsert; defaults to true
     * @returns The ID of the upserted profile
     */
    upsertProfile(name: string, profile: ProviderSettings, activate?: boolean): Promise<string | undefined>;
    /**
     * Deletes a profile by name
     * @param name The name of the profile to delete
     * @throws Error if the profile does not exist
     */
    deleteProfile(name: string): Promise<void>;
    /**
     * Returns the name of the currently active profile
     * @returns The profile name, or undefined if no profile is active
     */
    getActiveProfile(): string | undefined;
    /**
     * Changes the active API configuration profile
     * @param name The name of the profile to activate
     * @throws Error if the profile does not exist
     */
    setActiveProfile(name: string): Promise<string | undefined>;
}
interface RooCodeIpcServer extends EventEmitter<IpcServerEvents> {
    listen(): void;
    broadcast(message: IpcMessage): void;
    send(client: string | Socket, message: IpcMessage): void;
    get socketPath(): string;
    get isListening(): boolean;
}

/**
 * ClineAsk
 */
/**
 * Array of possible ask types that the LLM can use to request user interaction or approval.
 * These represent different scenarios where the assistant needs user input to proceed.
 *
 * @constant
 * @readonly
 *
 * Ask type descriptions:
 * - `followup`: LLM asks a clarifying question to gather more information needed to complete the task
 * - `command`: Permission to execute a terminal/shell command
 * - `command_output`: Permission to read the output from a previously executed command
 * - `completion_result`: Task has been completed, awaiting user feedback or a new task
 * - `tool`: Permission to use a tool for file operations (read, write, search, etc.)
 * - `api_req_failed`: API request failed, asking user whether to retry
 * - `resume_task`: Confirmation needed to resume a previously paused task
 * - `resume_completed_task`: Confirmation needed to resume a task that was already marked as completed
 * - `mistake_limit_reached`: Too many errors encountered, needs user guidance on how to proceed
 * - `browser_action_launch`: Permission to open or interact with a browser
 * - `use_mcp_server`: Permission to use Model Context Protocol (MCP) server functionality
 * - `auto_approval_max_req_reached`: Auto-approval limit has been reached, manual approval required
 */
declare const clineAsks: readonly ["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"];
declare const clineAskSchema: z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>;
type ClineAsk = z.infer<typeof clineAskSchema>;
/**
 * IdleAsk
 *
 * Asks that put the task into an "idle" state.
 */
declare const idleAsks: readonly ["completion_result", "api_req_failed", "resume_completed_task", "mistake_limit_reached", "auto_approval_max_req_reached"];
type IdleAsk = (typeof idleAsks)[number];
declare function isIdleAsk(ask: ClineAsk): ask is IdleAsk;
/**
 * ResumableAsk
 *
 * Asks that put the task into an "resumable" state.
 */
declare const resumableAsks: readonly ["resume_task"];
type ResumableAsk = (typeof resumableAsks)[number];
declare function isResumableAsk(ask: ClineAsk): ask is ResumableAsk;
/**
 * InteractiveAsk
 *
 * Asks that put the task into an "user interaction required" state.
 */
declare const interactiveAsks: readonly ["followup", "command", "tool", "browser_action_launch", "use_mcp_server"];
type InteractiveAsk = (typeof interactiveAsks)[number];
declare function isInteractiveAsk(ask: ClineAsk): ask is InteractiveAsk;
/**
 * NonBlockingAsk
 *
 * Asks that are not associated with an actual approval, and are only used
 * to update chat messages.
 */
declare const nonBlockingAsks: readonly ["command_output"];
type NonBlockingAsk = (typeof nonBlockingAsks)[number];
declare function isNonBlockingAsk(ask: ClineAsk): ask is NonBlockingAsk;
/**
 * ClineSay
 */
/**
 * Array of possible say types that represent different kinds of messages the assistant can send.
 * These are used to categorize and handle various types of communication from the LLM to the user.
 *
 * @constant
 * @readonly
 *
 * Say type descriptions:
 * - `error`: General error message
 * - `api_req_started`: Indicates an API request has been initiated
 * - `api_req_finished`: Indicates an API request has completed successfully
 * - `api_req_retried`: Indicates an API request is being retried after a failure
 * - `api_req_retry_delayed`: Indicates an API request retry has been delayed
 * - `api_req_deleted`: Indicates an API request has been deleted/cancelled
 * - `text`: General text message or assistant response
 * - `reasoning`: Assistant's reasoning or thought process (often hidden from user)
 * - `completion_result`: Final result of task completion
 * - `user_feedback`: Message containing user feedback
 * - `user_feedback_diff`: Diff-formatted feedback from user showing requested changes
 * - `command_output`: Output from an executed command
 * - `shell_integration_warning`: Warning about shell integration issues or limitations
 * - `browser_action`: Action performed in the browser
 * - `browser_action_result`: Result of a browser action
 * - `mcp_server_request_started`: MCP server request has been initiated
 * - `mcp_server_response`: Response received from MCP server
 * - `subtask_result`: Result of a completed subtask
 * - `checkpoint_saved`: Indicates a checkpoint has been saved
 * - `rooignore_error`: Error related to .rooignore file processing
 * - `diff_error`: Error occurred while applying a diff/patch
 * - `condense_context`: Context condensation/summarization has started
 * - `condense_context_error`: Error occurred during context condensation
 * - `codebase_search_result`: Results from searching the codebase
 */
declare const clineSays: readonly ["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"];
declare const clineSaySchema: z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>;
type ClineSay = z.infer<typeof clineSaySchema>;
/**
 * ToolProgressStatus
 */
declare const toolProgressStatusSchema: z.ZodObject<{
    icon: z.ZodOptional<z.ZodString>;
    text: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    text?: string | undefined;
    icon?: string | undefined;
}, {
    text?: string | undefined;
    icon?: string | undefined;
}>;
type ToolProgressStatus = z.infer<typeof toolProgressStatusSchema>;
/**
 * ContextCondense
 */
declare const contextCondenseSchema: z.ZodObject<{
    cost: z.ZodNumber;
    prevContextTokens: z.ZodNumber;
    newContextTokens: z.ZodNumber;
    summary: z.ZodString;
}, "strip", z.ZodTypeAny, {
    cost: number;
    prevContextTokens: number;
    newContextTokens: number;
    summary: string;
}, {
    cost: number;
    prevContextTokens: number;
    newContextTokens: number;
    summary: string;
}>;
type ContextCondense = z.infer<typeof contextCondenseSchema>;
/**
 * ClineMessage
 */
declare const clineMessageSchema: z.ZodObject<{
    ts: z.ZodNumber;
    type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
    ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
    say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
    text: z.ZodOptional<z.ZodString>;
    images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    partial: z.ZodOptional<z.ZodBoolean>;
    reasoning: z.ZodOptional<z.ZodString>;
    conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
    checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    progressStatus: z.ZodOptional<z.ZodObject<{
        icon: z.ZodOptional<z.ZodString>;
        text: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        text?: string | undefined;
        icon?: string | undefined;
    }, {
        text?: string | undefined;
        icon?: string | undefined;
    }>>;
    contextCondense: z.ZodOptional<z.ZodObject<{
        cost: z.ZodNumber;
        prevContextTokens: z.ZodNumber;
        newContextTokens: z.ZodNumber;
        summary: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        cost: number;
        prevContextTokens: number;
        newContextTokens: number;
        summary: string;
    }, {
        cost: number;
        prevContextTokens: number;
        newContextTokens: number;
        summary: string;
    }>>;
    isProtected: z.ZodOptional<z.ZodBoolean>;
    apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
    isAnswered: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
    type: "ask" | "say";
    ts: number;
    text?: string | undefined;
    reasoning?: string | undefined;
    ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
    say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
    images?: string[] | undefined;
    partial?: boolean | undefined;
    conversationHistoryIndex?: number | undefined;
    checkpoint?: Record<string, unknown> | undefined;
    progressStatus?: {
        text?: string | undefined;
        icon?: string | undefined;
    } | undefined;
    contextCondense?: {
        cost: number;
        prevContextTokens: number;
        newContextTokens: number;
        summary: string;
    } | undefined;
    isProtected?: boolean | undefined;
    apiProtocol?: "openai" | "anthropic" | undefined;
    isAnswered?: boolean | undefined;
}, {
    type: "ask" | "say";
    ts: number;
    text?: string | undefined;
    reasoning?: string | undefined;
    ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
    say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
    images?: string[] | undefined;
    partial?: boolean | undefined;
    conversationHistoryIndex?: number | undefined;
    checkpoint?: Record<string, unknown> | undefined;
    progressStatus?: {
        text?: string | undefined;
        icon?: string | undefined;
    } | undefined;
    contextCondense?: {
        cost: number;
        prevContextTokens: number;
        newContextTokens: number;
        summary: string;
    } | undefined;
    isProtected?: boolean | undefined;
    apiProtocol?: "openai" | "anthropic" | undefined;
    isAnswered?: boolean | undefined;
}>;
type ClineMessage = z.infer<typeof clineMessageSchema>;
/**
 * TokenUsage
 */
declare const tokenUsageSchema: z.ZodObject<{
    totalTokensIn: z.ZodNumber;
    totalTokensOut: z.ZodNumber;
    totalCacheWrites: z.ZodOptional<z.ZodNumber>;
    totalCacheReads: z.ZodOptional<z.ZodNumber>;
    totalCost: z.ZodNumber;
    contextTokens: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    totalTokensIn: number;
    totalTokensOut: number;
    totalCost: number;
    contextTokens: number;
    totalCacheWrites?: number | undefined;
    totalCacheReads?: number | undefined;
}, {
    totalTokensIn: number;
    totalTokensOut: number;
    totalCost: number;
    contextTokens: number;
    totalCacheWrites?: number | undefined;
    totalCacheReads?: number | undefined;
}>;
type TokenUsage = z.infer<typeof tokenUsageSchema>;
/**
 * QueuedMessage
 */
declare const queuedMessageSchema: z.ZodObject<{
    timestamp: z.ZodNumber;
    id: z.ZodString;
    text: z.ZodString;
    images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
    text: string;
    timestamp: number;
    id: string;
    images?: string[] | undefined;
}, {
    text: string;
    timestamp: number;
    id: string;
    images?: string[] | undefined;
}>;
type QueuedMessage = z.infer<typeof queuedMessageSchema>;

/**
 * ToolGroup
 */
declare const toolGroups: readonly ["read", "edit", "browser", "command", "mcp", "modes"];
declare const toolGroupsSchema: z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>;
type ToolGroup = z.infer<typeof toolGroupsSchema>;
/**
 * ToolName
 */
declare const toolNames: readonly ["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"];
declare const toolNamesSchema: z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>;
type ToolName = z.infer<typeof toolNamesSchema>;
/**
 * ToolUsage
 */
declare const toolUsageSchema: z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodObject<{
    attempts: z.ZodNumber;
    failures: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    attempts: number;
    failures: number;
}, {
    attempts: number;
    failures: number;
}>>;
type ToolUsage = z.infer<typeof toolUsageSchema>;
/**
 * Tool protocol constants
 */
declare const TOOL_PROTOCOL: {
    readonly XML: "xml";
    readonly NATIVE: "native";
};
/**
 * Tool protocol type for system prompt generation
 * Derived from TOOL_PROTOCOL constants to ensure type safety
 */
type ToolProtocol = (typeof TOOL_PROTOCOL)[keyof typeof TOOL_PROTOCOL];
/**
 * Checks if the protocol is native (non-XML).
 *
 * @param protocol - The tool protocol to check
 * @returns True if protocol is native
 */
declare function isNativeProtocol(protocol: ToolProtocol): boolean;
/**
 * Gets the effective protocol from settings or falls back to the default XML.
 * This function is safe to use in webview-accessible code as it doesn't depend on vscode module.
 *
 * @param toolProtocol - Optional tool protocol from settings
 * @returns The effective tool protocol (defaults to "xml")
 */
declare function getEffectiveProtocol(toolProtocol?: ToolProtocol): ToolProtocol;

/**
 * TelemetrySetting
 */
declare const telemetrySettings: readonly ["unset", "enabled", "disabled"];
declare const telemetrySettingsSchema: z.ZodEnum<["unset", "enabled", "disabled"]>;
type TelemetrySetting = z.infer<typeof telemetrySettingsSchema>;
/**
 * TelemetryEventName
 */
declare enum TelemetryEventName {
    TASK_CREATED = "Task Created",
    TASK_RESTARTED = "Task Reopened",
    TASK_COMPLETED = "Task Completed",
    TASK_MESSAGE = "Task Message",
    TASK_CONVERSATION_MESSAGE = "Conversation Message",
    LLM_COMPLETION = "LLM Completion",
    MODE_SWITCH = "Mode Switched",
    MODE_SELECTOR_OPENED = "Mode Selector Opened",
    TOOL_USED = "Tool Used",
    CHECKPOINT_CREATED = "Checkpoint Created",
    CHECKPOINT_RESTORED = "Checkpoint Restored",
    CHECKPOINT_DIFFED = "Checkpoint Diffed",
    TAB_SHOWN = "Tab Shown",
    MODE_SETTINGS_CHANGED = "Mode Setting Changed",
    CUSTOM_MODE_CREATED = "Custom Mode Created",
    CONTEXT_CONDENSED = "Context Condensed",
    SLIDING_WINDOW_TRUNCATION = "Sliding Window Truncation",
    CODE_ACTION_USED = "Code Action Used",
    PROMPT_ENHANCED = "Prompt Enhanced",
    TITLE_BUTTON_CLICKED = "Title Button Clicked",
    AUTHENTICATION_INITIATED = "Authentication Initiated",
    MARKETPLACE_ITEM_INSTALLED = "Marketplace Item Installed",
    MARKETPLACE_ITEM_REMOVED = "Marketplace Item Removed",
    MARKETPLACE_TAB_VIEWED = "Marketplace Tab Viewed",
    MARKETPLACE_INSTALL_BUTTON_CLICKED = "Marketplace Install Button Clicked",
    SHARE_BUTTON_CLICKED = "Share Button Clicked",
    SHARE_ORGANIZATION_CLICKED = "Share Organization Clicked",
    SHARE_PUBLIC_CLICKED = "Share Public Clicked",
    SHARE_CONNECT_TO_CLOUD_CLICKED = "Share Connect To Cloud Clicked",
    ACCOUNT_CONNECT_CLICKED = "Account Connect Clicked",
    ACCOUNT_CONNECT_SUCCESS = "Account Connect Success",
    ACCOUNT_LOGOUT_CLICKED = "Account Logout Clicked",
    ACCOUNT_LOGOUT_SUCCESS = "Account Logout Success",
    FEATURED_PROVIDER_CLICKED = "Featured Provider Clicked",
    UPSELL_DISMISSED = "Upsell Dismissed",
    UPSELL_CLICKED = "Upsell Clicked",
    SCHEMA_VALIDATION_ERROR = "Schema Validation Error",
    DIFF_APPLICATION_ERROR = "Diff Application Error",
    SHELL_INTEGRATION_ERROR = "Shell Integration Error",
    CONSECUTIVE_MISTAKE_ERROR = "Consecutive Mistake Error",
    CODE_INDEX_ERROR = "Code Index Error",
    TELEMETRY_SETTINGS_CHANGED = "Telemetry Settings Changed"
}
/**
 * TelemetryProperties
 */
declare const staticAppPropertiesSchema: z.ZodObject<{
    appName: z.ZodString;
    appVersion: z.ZodString;
    vscodeVersion: z.ZodString;
    platform: z.ZodString;
    editorName: z.ZodString;
    hostname: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    appName: string;
    appVersion: string;
    vscodeVersion: string;
    platform: string;
    editorName: string;
    hostname?: string | undefined;
}, {
    appName: string;
    appVersion: string;
    vscodeVersion: string;
    platform: string;
    editorName: string;
    hostname?: string | undefined;
}>;
type StaticAppProperties = z.infer<typeof staticAppPropertiesSchema>;
declare const dynamicAppPropertiesSchema: z.ZodObject<{
    language: z.ZodString;
    mode: z.ZodString;
}, "strip", z.ZodTypeAny, {
    language: string;
    mode: string;
}, {
    language: string;
    mode: string;
}>;
type DynamicAppProperties = z.infer<typeof dynamicAppPropertiesSchema>;
declare const cloudAppPropertiesSchema: z.ZodObject<{
    cloudIsAuthenticated: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
    cloudIsAuthenticated?: boolean | undefined;
}, {
    cloudIsAuthenticated?: boolean | undefined;
}>;
type CloudAppProperties = z.infer<typeof cloudAppPropertiesSchema>;
declare const appPropertiesSchema: z.ZodObject<{
    cloudIsAuthenticated: z.ZodOptional<z.ZodBoolean>;
    language: z.ZodString;
    mode: z.ZodString;
    appName: z.ZodString;
    appVersion: z.ZodString;
    vscodeVersion: z.ZodString;
    platform: z.ZodString;
    editorName: z.ZodString;
    hostname: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    language: string;
    mode: string;
    appName: string;
    appVersion: string;
    vscodeVersion: string;
    platform: string;
    editorName: string;
    hostname?: string | undefined;
    cloudIsAuthenticated?: boolean | undefined;
}, {
    language: string;
    mode: string;
    appName: string;
    appVersion: string;
    vscodeVersion: string;
    platform: string;
    editorName: string;
    hostname?: string | undefined;
    cloudIsAuthenticated?: boolean | undefined;
}>;
type AppProperties = z.infer<typeof appPropertiesSchema>;
declare const taskPropertiesSchema: z.ZodObject<{
    taskId: z.ZodOptional<z.ZodString>;
    parentTaskId: z.ZodOptional<z.ZodString>;
    apiProvider: z.ZodOptional<z.ZodEnum<["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "roo", "chutes", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "minimax", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"]>>;
    modelId: z.ZodOptional<z.ZodString>;
    diffStrategy: z.ZodOptional<z.ZodString>;
    isSubtask: z.ZodOptional<z.ZodBoolean>;
    todos: z.ZodOptional<z.ZodObject<{
        total: z.ZodNumber;
        completed: z.ZodNumber;
        inProgress: z.ZodNumber;
        pending: z.ZodNumber;
    }, "strip", z.ZodTypeAny, {
        total: number;
        completed: number;
        inProgress: number;
        pending: number;
    }, {
        total: number;
        completed: number;
        inProgress: number;
        pending: number;
    }>>;
}, "strip", z.ZodTypeAny, {
    isSubtask?: boolean | undefined;
    taskId?: string | undefined;
    apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
    modelId?: string | undefined;
    parentTaskId?: string | undefined;
    diffStrategy?: string | undefined;
    todos?: {
        total: number;
        completed: number;
        inProgress: number;
        pending: number;
    } | undefined;
}, {
    isSubtask?: boolean | undefined;
    taskId?: string | undefined;
    apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
    modelId?: string | undefined;
    parentTaskId?: string | undefined;
    diffStrategy?: string | undefined;
    todos?: {
        total: number;
        completed: number;
        inProgress: number;
        pending: number;
    } | undefined;
}>;
type TaskProperties = z.infer<typeof taskPropertiesSchema>;
declare const gitPropertiesSchema: z.ZodObject<{
    repositoryUrl: z.ZodOptional<z.ZodString>;
    repositoryName: z.ZodOptional<z.ZodString>;
    defaultBranch: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    repositoryUrl?: string | undefined;
    repositoryName?: string | undefined;
    defaultBranch?: string | undefined;
}, {
    repositoryUrl?: string | undefined;
    repositoryName?: string | undefined;
    defaultBranch?: string | undefined;
}>;
type GitProperties = z.infer<typeof gitPropertiesSchema>;
declare const telemetryPropertiesSchema: z.ZodObject<{
    repositoryUrl: z.ZodOptional<z.ZodString>;
    repositoryName: z.ZodOptional<z.ZodString>;
    defaultBranch: z.ZodOptional<z.ZodString>;
    taskId: z.ZodOptional<z.ZodString>;
    parentTaskId: z.ZodOptional<z.ZodString>;
    apiProvider: z.ZodOptional<z.ZodEnum<["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "roo", "chutes", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "minimax", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"]>>;
    modelId: z.ZodOptional<z.ZodString>;
    diffStrategy: z.ZodOptional<z.ZodString>;
    isSubtask: z.ZodOptional<z.ZodBoolean>;
    todos: z.ZodOptional<z.ZodObject<{
        total: z.ZodNumber;
        completed: z.ZodNumber;
        inProgress: z.ZodNumber;
        pending: z.ZodNumber;
    }, "strip", z.ZodTypeAny, {
        total: number;
        completed: number;
        inProgress: number;
        pending: number;
    }, {
        total: number;
        completed: number;
        inProgress: number;
        pending: number;
    }>>;
    cloudIsAuthenticated: z.ZodOptional<z.ZodBoolean>;
    language: z.ZodString;
    mode: z.ZodString;
    appName: z.ZodString;
    appVersion: z.ZodString;
    vscodeVersion: z.ZodString;
    platform: z.ZodString;
    editorName: z.ZodString;
    hostname: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    language: string;
    mode: string;
    appName: string;
    appVersion: string;
    vscodeVersion: string;
    platform: string;
    editorName: string;
    isSubtask?: boolean | undefined;
    taskId?: string | undefined;
    apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
    modelId?: string | undefined;
    parentTaskId?: string | undefined;
    hostname?: string | undefined;
    cloudIsAuthenticated?: boolean | undefined;
    diffStrategy?: string | undefined;
    todos?: {
        total: number;
        completed: number;
        inProgress: number;
        pending: number;
    } | undefined;
    repositoryUrl?: string | undefined;
    repositoryName?: string | undefined;
    defaultBranch?: string | undefined;
}, {
    language: string;
    mode: string;
    appName: string;
    appVersion: string;
    vscodeVersion: string;
    platform: string;
    editorName: string;
    isSubtask?: boolean | undefined;
    taskId?: string | undefined;
    apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
    modelId?: string | undefined;
    parentTaskId?: string | undefined;
    hostname?: string | undefined;
    cloudIsAuthenticated?: boolean | undefined;
    diffStrategy?: string | undefined;
    todos?: {
        total: number;
        completed: number;
        inProgress: number;
        pending: number;
    } | undefined;
    repositoryUrl?: string | undefined;
    repositoryName?: string | undefined;
    defaultBranch?: string | undefined;
}>;
type TelemetryProperties = z.infer<typeof telemetryPropertiesSchema>;
/**
 * TelemetryEvent
 */
type TelemetryEvent = {
    event: TelemetryEventName;
    properties?: Record<string, any>;
};
/**
 * RooCodeTelemetryEvent
 */
declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
    type: z.ZodEnum<[TelemetryEventName.TASK_CREATED, TelemetryEventName.TASK_RESTARTED, TelemetryEventName.TASK_COMPLETED, TelemetryEventName.TASK_CONVERSATION_MESSAGE, TelemetryEventName.MODE_SWITCH, TelemetryEventName.MODE_SELECTOR_OPENED, TelemetryEventName.TOOL_USED, TelemetryEventName.CHECKPOINT_CREATED, TelemetryEventName.CHECKPOINT_RESTORED, TelemetryEventName.CHECKPOINT_DIFFED, TelemetryEventName.CODE_ACTION_USED, TelemetryEventName.PROMPT_ENHANCED, TelemetryEventName.TITLE_BUTTON_CLICKED, TelemetryEventName.AUTHENTICATION_INITIATED, TelemetryEventName.MARKETPLACE_ITEM_INSTALLED, TelemetryEventName.MARKETPLACE_ITEM_REMOVED, TelemetryEventName.MARKETPLACE_TAB_VIEWED, TelemetryEventName.MARKETPLACE_INSTALL_BUTTON_CLICKED, TelemetryEventName.SHARE_BUTTON_CLICKED, TelemetryEventName.SHARE_ORGANIZATION_CLICKED, TelemetryEventName.SHARE_PUBLIC_CLICKED, TelemetryEventName.SHARE_CONNECT_TO_CLOUD_CLICKED, TelemetryEventName.ACCOUNT_CONNECT_CLICKED, TelemetryEventName.ACCOUNT_CONNECT_SUCCESS, TelemetryEventName.ACCOUNT_LOGOUT_CLICKED, TelemetryEventName.ACCOUNT_LOGOUT_SUCCESS, TelemetryEventName.FEATURED_PROVIDER_CLICKED, TelemetryEventName.UPSELL_DISMISSED, TelemetryEventName.UPSELL_CLICKED, TelemetryEventName.SCHEMA_VALIDATION_ERROR, TelemetryEventName.DIFF_APPLICATION_ERROR, TelemetryEventName.SHELL_INTEGRATION_ERROR, TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR, TelemetryEventName.CODE_INDEX_ERROR, TelemetryEventName.CONTEXT_CONDENSED, TelemetryEventName.SLIDING_WINDOW_TRUNCATION, TelemetryEventName.TAB_SHOWN, TelemetryEventName.MODE_SETTINGS_CHANGED, TelemetryEventName.CUSTOM_MODE_CREATED]>;
    properties: z.ZodObject<{
        repositoryUrl: z.ZodOptional<z.ZodString>;
        repositoryName: z.ZodOptional<z.ZodString>;
        defaultBranch: z.ZodOptional<z.ZodString>;
        taskId: z.ZodOptional<z.ZodString>;
        parentTaskId: z.ZodOptional<z.ZodString>;
        apiProvider: z.ZodOptional<z.ZodEnum<["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "roo", "chutes", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "minimax", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"]>>;
        modelId: z.ZodOptional<z.ZodString>;
        diffStrategy: z.ZodOptional<z.ZodString>;
        isSubtask: z.ZodOptional<z.ZodBoolean>;
        todos: z.ZodOptional<z.ZodObject<{
            total: z.ZodNumber;
            completed: z.ZodNumber;
            inProgress: z.ZodNumber;
            pending: z.ZodNumber;
        }, "strip", z.ZodTypeAny, {
            total: number;
            completed: number;
            inProgress: number;
            pending: number;
        }, {
            total: number;
            completed: number;
            inProgress: number;
            pending: number;
        }>>;
        cloudIsAuthenticated: z.ZodOptional<z.ZodBoolean>;
        language: z.ZodString;
        mode: z.ZodString;
        appName: z.ZodString;
        appVersion: z.ZodString;
        vscodeVersion: z.ZodString;
        platform: z.ZodString;
        editorName: z.ZodString;
        hostname: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        language: string;
        mode: string;
        appName: string;
        appVersion: string;
        vscodeVersion: string;
        platform: string;
        editorName: string;
        isSubtask?: boolean | undefined;
        taskId?: string | undefined;
        apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
        modelId?: string | undefined;
        parentTaskId?: string | undefined;
        hostname?: string | undefined;
        cloudIsAuthenticated?: boolean | undefined;
        diffStrategy?: string | undefined;
        todos?: {
            total: number;
            completed: number;
            inProgress: number;
            pending: number;
        } | undefined;
        repositoryUrl?: string | undefined;
        repositoryName?: string | undefined;
        defaultBranch?: string | undefined;
    }, {
        language: string;
        mode: string;
        appName: string;
        appVersion: string;
        vscodeVersion: string;
        platform: string;
        editorName: string;
        isSubtask?: boolean | undefined;
        taskId?: string | undefined;
        apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
        modelId?: string | undefined;
        parentTaskId?: string | undefined;
        hostname?: string | undefined;
        cloudIsAuthenticated?: boolean | undefined;
        diffStrategy?: string | undefined;
        todos?: {
            total: number;
            completed: number;
            inProgress: number;
            pending: number;
        } | undefined;
        repositoryUrl?: string | undefined;
        repositoryName?: string | undefined;
        defaultBranch?: string | undefined;
    }>;
}, "strip", z.ZodTypeAny, {
    type: TelemetryEventName.TASK_CREATED | TelemetryEventName.TASK_RESTARTED | TelemetryEventName.TASK_COMPLETED | TelemetryEventName.TASK_CONVERSATION_MESSAGE | TelemetryEventName.MODE_SWITCH | TelemetryEventName.MODE_SELECTOR_OPENED | TelemetryEventName.TOOL_USED | TelemetryEventName.CHECKPOINT_CREATED | TelemetryEventName.CHECKPOINT_RESTORED | TelemetryEventName.CHECKPOINT_DIFFED | TelemetryEventName.TAB_SHOWN | TelemetryEventName.MODE_SETTINGS_CHANGED | TelemetryEventName.CUSTOM_MODE_CREATED | TelemetryEventName.CONTEXT_CONDENSED | TelemetryEventName.SLIDING_WINDOW_TRUNCATION | TelemetryEventName.CODE_ACTION_USED | TelemetryEventName.PROMPT_ENHANCED | TelemetryEventName.TITLE_BUTTON_CLICKED | TelemetryEventName.AUTHENTICATION_INITIATED | TelemetryEventName.MARKETPLACE_ITEM_INSTALLED | TelemetryEventName.MARKETPLACE_ITEM_REMOVED | TelemetryEventName.MARKETPLACE_TAB_VIEWED | TelemetryEventName.MARKETPLACE_INSTALL_BUTTON_CLICKED | TelemetryEventName.SHARE_BUTTON_CLICKED | TelemetryEventName.SHARE_ORGANIZATION_CLICKED | TelemetryEventName.SHARE_PUBLIC_CLICKED | TelemetryEventName.SHARE_CONNECT_TO_CLOUD_CLICKED | TelemetryEventName.ACCOUNT_CONNECT_CLICKED | TelemetryEventName.ACCOUNT_CONNECT_SUCCESS | TelemetryEventName.ACCOUNT_LOGOUT_CLICKED | TelemetryEventName.ACCOUNT_LOGOUT_SUCCESS | TelemetryEventName.FEATURED_PROVIDER_CLICKED | TelemetryEventName.UPSELL_DISMISSED | TelemetryEventName.UPSELL_CLICKED | TelemetryEventName.SCHEMA_VALIDATION_ERROR | TelemetryEventName.DIFF_APPLICATION_ERROR | TelemetryEventName.SHELL_INTEGRATION_ERROR | TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR | TelemetryEventName.CODE_INDEX_ERROR;
    properties: {
        language: string;
        mode: string;
        appName: string;
        appVersion: string;
        vscodeVersion: string;
        platform: string;
        editorName: string;
        isSubtask?: boolean | undefined;
        taskId?: string | undefined;
        apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
        modelId?: string | undefined;
        parentTaskId?: string | undefined;
        hostname?: string | undefined;
        cloudIsAuthenticated?: boolean | undefined;
        diffStrategy?: string | undefined;
        todos?: {
            total: number;
            completed: number;
            inProgress: number;
            pending: number;
        } | undefined;
        repositoryUrl?: string | undefined;
        repositoryName?: string | undefined;
        defaultBranch?: string | undefined;
    };
}, {
    type: TelemetryEventName.TASK_CREATED | TelemetryEventName.TASK_RESTARTED | TelemetryEventName.TASK_COMPLETED | TelemetryEventName.TASK_CONVERSATION_MESSAGE | TelemetryEventName.MODE_SWITCH | TelemetryEventName.MODE_SELECTOR_OPENED | TelemetryEventName.TOOL_USED | TelemetryEventName.CHECKPOINT_CREATED | TelemetryEventName.CHECKPOINT_RESTORED | TelemetryEventName.CHECKPOINT_DIFFED | TelemetryEventName.TAB_SHOWN | TelemetryEventName.MODE_SETTINGS_CHANGED | TelemetryEventName.CUSTOM_MODE_CREATED | TelemetryEventName.CONTEXT_CONDENSED | TelemetryEventName.SLIDING_WINDOW_TRUNCATION | TelemetryEventName.CODE_ACTION_USED | TelemetryEventName.PROMPT_ENHANCED | TelemetryEventName.TITLE_BUTTON_CLICKED | TelemetryEventName.AUTHENTICATION_INITIATED | TelemetryEventName.MARKETPLACE_ITEM_INSTALLED | TelemetryEventName.MARKETPLACE_ITEM_REMOVED | TelemetryEventName.MARKETPLACE_TAB_VIEWED | TelemetryEventName.MARKETPLACE_INSTALL_BUTTON_CLICKED | TelemetryEventName.SHARE_BUTTON_CLICKED | TelemetryEventName.SHARE_ORGANIZATION_CLICKED | TelemetryEventName.SHARE_PUBLIC_CLICKED | TelemetryEventName.SHARE_CONNECT_TO_CLOUD_CLICKED | TelemetryEventName.ACCOUNT_CONNECT_CLICKED | TelemetryEventName.ACCOUNT_CONNECT_SUCCESS | TelemetryEventName.ACCOUNT_LOGOUT_CLICKED | TelemetryEventName.ACCOUNT_LOGOUT_SUCCESS | TelemetryEventName.FEATURED_PROVIDER_CLICKED | TelemetryEventName.UPSELL_DISMISSED | TelemetryEventName.UPSELL_CLICKED | TelemetryEventName.SCHEMA_VALIDATION_ERROR | TelemetryEventName.DIFF_APPLICATION_ERROR | TelemetryEventName.SHELL_INTEGRATION_ERROR | TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR | TelemetryEventName.CODE_INDEX_ERROR;
    properties: {
        language: string;
        mode: string;
        appName: string;
        appVersion: string;
        vscodeVersion: string;
        platform: string;
        editorName: string;
        isSubtask?: boolean | undefined;
        taskId?: string | undefined;
        apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
        modelId?: string | undefined;
        parentTaskId?: string | undefined;
        hostname?: string | undefined;
        cloudIsAuthenticated?: boolean | undefined;
        diffStrategy?: string | undefined;
        todos?: {
            total: number;
            completed: number;
            inProgress: number;
            pending: number;
        } | undefined;
        repositoryUrl?: string | undefined;
        repositoryName?: string | undefined;
        defaultBranch?: string | undefined;
    };
}>, z.ZodObject<{
    type: z.ZodLiteral<TelemetryEventName.TELEMETRY_SETTINGS_CHANGED>;
    properties: z.ZodObject<{
        previousSetting: z.ZodEnum<["unset", "enabled", "disabled"]>;
        newSetting: z.ZodEnum<["unset", "enabled", "disabled"]>;
        repositoryUrl: z.ZodOptional<z.ZodString>;
        repositoryName: z.ZodOptional<z.ZodString>;
        defaultBranch: z.ZodOptional<z.ZodString>;
        taskId: z.ZodOptional<z.ZodString>;
        parentTaskId: z.ZodOptional<z.ZodString>;
        apiProvider: z.ZodOptional<z.ZodEnum<["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "roo", "chutes", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "minimax", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"]>>;
        modelId: z.ZodOptional<z.ZodString>;
        diffStrategy: z.ZodOptional<z.ZodString>;
        isSubtask: z.ZodOptional<z.ZodBoolean>;
        todos: z.ZodOptional<z.ZodObject<{
            total: z.ZodNumber;
            completed: z.ZodNumber;
            inProgress: z.ZodNumber;
            pending: z.ZodNumber;
        }, "strip", z.ZodTypeAny, {
            total: number;
            completed: number;
            inProgress: number;
            pending: number;
        }, {
            total: number;
            completed: number;
            inProgress: number;
            pending: number;
        }>>;
        cloudIsAuthenticated: z.ZodOptional<z.ZodBoolean>;
        language: z.ZodString;
        mode: z.ZodString;
        appName: z.ZodString;
        appVersion: z.ZodString;
        vscodeVersion: z.ZodString;
        platform: z.ZodString;
        editorName: z.ZodString;
        hostname: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        language: string;
        mode: string;
        appName: string;
        appVersion: string;
        vscodeVersion: string;
        platform: string;
        editorName: string;
        previousSetting: "unset" | "enabled" | "disabled";
        newSetting: "unset" | "enabled" | "disabled";
        isSubtask?: boolean | undefined;
        taskId?: string | undefined;
        apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
        modelId?: string | undefined;
        parentTaskId?: string | undefined;
        hostname?: string | undefined;
        cloudIsAuthenticated?: boolean | undefined;
        diffStrategy?: string | undefined;
        todos?: {
            total: number;
            completed: number;
            inProgress: number;
            pending: number;
        } | undefined;
        repositoryUrl?: string | undefined;
        repositoryName?: string | undefined;
        defaultBranch?: string | undefined;
    }, {
        language: string;
        mode: string;
        appName: string;
        appVersion: string;
        vscodeVersion: string;
        platform: string;
        editorName: string;
        previousSetting: "unset" | "enabled" | "disabled";
        newSetting: "unset" | "enabled" | "disabled";
        isSubtask?: boolean | undefined;
        taskId?: string | undefined;
        apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
        modelId?: string | undefined;
        parentTaskId?: string | undefined;
        hostname?: string | undefined;
        cloudIsAuthenticated?: boolean | undefined;
        diffStrategy?: string | undefined;
        todos?: {
            total: number;
            completed: number;
            inProgress: number;
            pending: number;
        } | undefined;
        repositoryUrl?: string | undefined;
        repositoryName?: string | undefined;
        defaultBranch?: string | undefined;
    }>;
}, "strip", z.ZodTypeAny, {
    type: TelemetryEventName.TELEMETRY_SETTINGS_CHANGED;
    properties: {
        language: string;
        mode: string;
        appName: string;
        appVersion: string;
        vscodeVersion: string;
        platform: string;
        editorName: string;
        previousSetting: "unset" | "enabled" | "disabled";
        newSetting: "unset" | "enabled" | "disabled";
        isSubtask?: boolean | undefined;
        taskId?: string | undefined;
        apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
        modelId?: string | undefined;
        parentTaskId?: string | undefined;
        hostname?: string | undefined;
        cloudIsAuthenticated?: boolean | undefined;
        diffStrategy?: string | undefined;
        todos?: {
            total: number;
            completed: number;
            inProgress: number;
            pending: number;
        } | undefined;
        repositoryUrl?: string | undefined;
        repositoryName?: string | undefined;
        defaultBranch?: string | undefined;
    };
}, {
    type: TelemetryEventName.TELEMETRY_SETTINGS_CHANGED;
    properties: {
        language: string;
        mode: string;
        appName: string;
        appVersion: string;
        vscodeVersion: string;
        platform: string;
        editorName: string;
        previousSetting: "unset" | "enabled" | "disabled";
        newSetting: "unset" | "enabled" | "disabled";
        isSubtask?: boolean | undefined;
        taskId?: string | undefined;
        apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
        modelId?: string | undefined;
        parentTaskId?: string | undefined;
        hostname?: string | undefined;
        cloudIsAuthenticated?: boolean | undefined;
        diffStrategy?: string | undefined;
        todos?: {
            total: number;
            completed: number;
            inProgress: number;
            pending: number;
        } | undefined;
        repositoryUrl?: string | undefined;
        repositoryName?: string | undefined;
        defaultBranch?: string | undefined;
    };
}>, z.ZodObject<{
    type: z.ZodLiteral<TelemetryEventName.TASK_MESSAGE>;
    properties: z.ZodObject<{
        taskId: z.ZodString;
        message: z.ZodObject<{
            ts: z.ZodNumber;
            type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
            ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
            say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
            text: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            partial: z.ZodOptional<z.ZodBoolean>;
            reasoning: z.ZodOptional<z.ZodString>;
            conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
            checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            progressStatus: z.ZodOptional<z.ZodObject<{
                icon: z.ZodOptional<z.ZodString>;
                text: z.ZodOptional<z.ZodString>;
            }, "strip", z.ZodTypeAny, {
                text?: string | undefined;
                icon?: string | undefined;
            }, {
                text?: string | undefined;
                icon?: string | undefined;
            }>>;
            contextCondense: z.ZodOptional<z.ZodObject<{
                cost: z.ZodNumber;
                prevContextTokens: z.ZodNumber;
                newContextTokens: z.ZodNumber;
                summary: z.ZodString;
            }, "strip", z.ZodTypeAny, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }>>;
            isProtected: z.ZodOptional<z.ZodBoolean>;
            apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
            isAnswered: z.ZodOptional<z.ZodBoolean>;
        }, "strip", z.ZodTypeAny, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }>;
        repositoryUrl: z.ZodOptional<z.ZodString>;
        repositoryName: z.ZodOptional<z.ZodString>;
        defaultBranch: z.ZodOptional<z.ZodString>;
        parentTaskId: z.ZodOptional<z.ZodString>;
        apiProvider: z.ZodOptional<z.ZodEnum<["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "roo", "chutes", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "minimax", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"]>>;
        modelId: z.ZodOptional<z.ZodString>;
        diffStrategy: z.ZodOptional<z.ZodString>;
        isSubtask: z.ZodOptional<z.ZodBoolean>;
        todos: z.ZodOptional<z.ZodObject<{
            total: z.ZodNumber;
            completed: z.ZodNumber;
            inProgress: z.ZodNumber;
            pending: z.ZodNumber;
        }, "strip", z.ZodTypeAny, {
            total: number;
            completed: number;
            inProgress: number;
            pending: number;
        }, {
            total: number;
            completed: number;
            inProgress: number;
            pending: number;
        }>>;
        cloudIsAuthenticated: z.ZodOptional<z.ZodBoolean>;
        language: z.ZodString;
        mode: z.ZodString;
        appName: z.ZodString;
        appVersion: z.ZodString;
        vscodeVersion: z.ZodString;
        platform: z.ZodString;
        editorName: z.ZodString;
        hostname: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        message: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        };
        taskId: string;
        language: string;
        mode: string;
        appName: string;
        appVersion: string;
        vscodeVersion: string;
        platform: string;
        editorName: string;
        isSubtask?: boolean | undefined;
        apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
        modelId?: string | undefined;
        parentTaskId?: string | undefined;
        hostname?: string | undefined;
        cloudIsAuthenticated?: boolean | undefined;
        diffStrategy?: string | undefined;
        todos?: {
            total: number;
            completed: number;
            inProgress: number;
            pending: number;
        } | undefined;
        repositoryUrl?: string | undefined;
        repositoryName?: string | undefined;
        defaultBranch?: string | undefined;
    }, {
        message: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        };
        taskId: string;
        language: string;
        mode: string;
        appName: string;
        appVersion: string;
        vscodeVersion: string;
        platform: string;
        editorName: string;
        isSubtask?: boolean | undefined;
        apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
        modelId?: string | undefined;
        parentTaskId?: string | undefined;
        hostname?: string | undefined;
        cloudIsAuthenticated?: boolean | undefined;
        diffStrategy?: string | undefined;
        todos?: {
            total: number;
            completed: number;
            inProgress: number;
            pending: number;
        } | undefined;
        repositoryUrl?: string | undefined;
        repositoryName?: string | undefined;
        defaultBranch?: string | undefined;
    }>;
}, "strip", z.ZodTypeAny, {
    type: TelemetryEventName.TASK_MESSAGE;
    properties: {
        message: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        };
        taskId: string;
        language: string;
        mode: string;
        appName: string;
        appVersion: string;
        vscodeVersion: string;
        platform: string;
        editorName: string;
        isSubtask?: boolean | undefined;
        apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
        modelId?: string | undefined;
        parentTaskId?: string | undefined;
        hostname?: string | undefined;
        cloudIsAuthenticated?: boolean | undefined;
        diffStrategy?: string | undefined;
        todos?: {
            total: number;
            completed: number;
            inProgress: number;
            pending: number;
        } | undefined;
        repositoryUrl?: string | undefined;
        repositoryName?: string | undefined;
        defaultBranch?: string | undefined;
    };
}, {
    type: TelemetryEventName.TASK_MESSAGE;
    properties: {
        message: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        };
        taskId: string;
        language: string;
        mode: string;
        appName: string;
        appVersion: string;
        vscodeVersion: string;
        platform: string;
        editorName: string;
        isSubtask?: boolean | undefined;
        apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
        modelId?: string | undefined;
        parentTaskId?: string | undefined;
        hostname?: string | undefined;
        cloudIsAuthenticated?: boolean | undefined;
        diffStrategy?: string | undefined;
        todos?: {
            total: number;
            completed: number;
            inProgress: number;
            pending: number;
        } | undefined;
        repositoryUrl?: string | undefined;
        repositoryName?: string | undefined;
        defaultBranch?: string | undefined;
    };
}>, z.ZodObject<{
    type: z.ZodLiteral<TelemetryEventName.LLM_COMPLETION>;
    properties: z.ZodObject<{
        inputTokens: z.ZodNumber;
        outputTokens: z.ZodNumber;
        cacheReadTokens: z.ZodOptional<z.ZodNumber>;
        cacheWriteTokens: z.ZodOptional<z.ZodNumber>;
        cost: z.ZodOptional<z.ZodNumber>;
        repositoryUrl: z.ZodOptional<z.ZodString>;
        repositoryName: z.ZodOptional<z.ZodString>;
        defaultBranch: z.ZodOptional<z.ZodString>;
        taskId: z.ZodOptional<z.ZodString>;
        parentTaskId: z.ZodOptional<z.ZodString>;
        apiProvider: z.ZodOptional<z.ZodEnum<["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "roo", "chutes", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "minimax", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"]>>;
        modelId: z.ZodOptional<z.ZodString>;
        diffStrategy: z.ZodOptional<z.ZodString>;
        isSubtask: z.ZodOptional<z.ZodBoolean>;
        todos: z.ZodOptional<z.ZodObject<{
            total: z.ZodNumber;
            completed: z.ZodNumber;
            inProgress: z.ZodNumber;
            pending: z.ZodNumber;
        }, "strip", z.ZodTypeAny, {
            total: number;
            completed: number;
            inProgress: number;
            pending: number;
        }, {
            total: number;
            completed: number;
            inProgress: number;
            pending: number;
        }>>;
        cloudIsAuthenticated: z.ZodOptional<z.ZodBoolean>;
        language: z.ZodString;
        mode: z.ZodString;
        appName: z.ZodString;
        appVersion: z.ZodString;
        vscodeVersion: z.ZodString;
        platform: z.ZodString;
        editorName: z.ZodString;
        hostname: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        language: string;
        mode: string;
        appName: string;
        appVersion: string;
        vscodeVersion: string;
        platform: string;
        editorName: string;
        inputTokens: number;
        outputTokens: number;
        cost?: number | undefined;
        isSubtask?: boolean | undefined;
        taskId?: string | undefined;
        apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
        modelId?: string | undefined;
        parentTaskId?: string | undefined;
        hostname?: string | undefined;
        cloudIsAuthenticated?: boolean | undefined;
        diffStrategy?: string | undefined;
        todos?: {
            total: number;
            completed: number;
            inProgress: number;
            pending: number;
        } | undefined;
        repositoryUrl?: string | undefined;
        repositoryName?: string | undefined;
        defaultBranch?: string | undefined;
        cacheReadTokens?: number | undefined;
        cacheWriteTokens?: number | undefined;
    }, {
        language: string;
        mode: string;
        appName: string;
        appVersion: string;
        vscodeVersion: string;
        platform: string;
        editorName: string;
        inputTokens: number;
        outputTokens: number;
        cost?: number | undefined;
        isSubtask?: boolean | undefined;
        taskId?: string | undefined;
        apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
        modelId?: string | undefined;
        parentTaskId?: string | undefined;
        hostname?: string | undefined;
        cloudIsAuthenticated?: boolean | undefined;
        diffStrategy?: string | undefined;
        todos?: {
            total: number;
            completed: number;
            inProgress: number;
            pending: number;
        } | undefined;
        repositoryUrl?: string | undefined;
        repositoryName?: string | undefined;
        defaultBranch?: string | undefined;
        cacheReadTokens?: number | undefined;
        cacheWriteTokens?: number | undefined;
    }>;
}, "strip", z.ZodTypeAny, {
    type: TelemetryEventName.LLM_COMPLETION;
    properties: {
        language: string;
        mode: string;
        appName: string;
        appVersion: string;
        vscodeVersion: string;
        platform: string;
        editorName: string;
        inputTokens: number;
        outputTokens: number;
        cost?: number | undefined;
        isSubtask?: boolean | undefined;
        taskId?: string | undefined;
        apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
        modelId?: string | undefined;
        parentTaskId?: string | undefined;
        hostname?: string | undefined;
        cloudIsAuthenticated?: boolean | undefined;
        diffStrategy?: string | undefined;
        todos?: {
            total: number;
            completed: number;
            inProgress: number;
            pending: number;
        } | undefined;
        repositoryUrl?: string | undefined;
        repositoryName?: string | undefined;
        defaultBranch?: string | undefined;
        cacheReadTokens?: number | undefined;
        cacheWriteTokens?: number | undefined;
    };
}, {
    type: TelemetryEventName.LLM_COMPLETION;
    properties: {
        language: string;
        mode: string;
        appName: string;
        appVersion: string;
        vscodeVersion: string;
        platform: string;
        editorName: string;
        inputTokens: number;
        outputTokens: number;
        cost?: number | undefined;
        isSubtask?: boolean | undefined;
        taskId?: string | undefined;
        apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
        modelId?: string | undefined;
        parentTaskId?: string | undefined;
        hostname?: string | undefined;
        cloudIsAuthenticated?: boolean | undefined;
        diffStrategy?: string | undefined;
        todos?: {
            total: number;
            completed: number;
            inProgress: number;
            pending: number;
        } | undefined;
        repositoryUrl?: string | undefined;
        repositoryName?: string | undefined;
        defaultBranch?: string | undefined;
        cacheReadTokens?: number | undefined;
        cacheWriteTokens?: number | undefined;
    };
}>]>;
type RooCodeTelemetryEvent = z.infer<typeof rooCodeTelemetryEventSchema>;
/**
 * TelemetryEventSubscription
 */
type TelemetryEventSubscription = {
    type: "include";
    events: TelemetryEventName[];
} | {
    type: "exclude";
    events: TelemetryEventName[];
};
/**
 * TelemetryPropertiesProvider
 */
interface TelemetryPropertiesProvider {
    getTelemetryProperties(): Promise<TelemetryProperties>;
}
/**
 * TelemetryClient
 */
interface TelemetryClient {
    subscription?: TelemetryEventSubscription;
    setProvider(provider: TelemetryPropertiesProvider): void;
    capture(options: TelemetryEvent): Promise<void>;
    updateTelemetryState(isOptedIn: boolean): void;
    isTelemetryEnabled(): boolean;
    shutdown(): Promise<void>;
}

/**
 * TodoStatus
 */
declare const todoStatusSchema: z.ZodEnum<["pending", "in_progress", "completed"]>;
type TodoStatus = z.infer<typeof todoStatusSchema>;
/**
 * TodoItem
 */
declare const todoItemSchema: z.ZodObject<{
    id: z.ZodString;
    content: z.ZodString;
    status: z.ZodEnum<["pending", "in_progress", "completed"]>;
}, "strip", z.ZodTypeAny, {
    status: "completed" | "pending" | "in_progress";
    id: string;
    content: string;
}, {
    status: "completed" | "pending" | "in_progress";
    id: string;
    content: string;
}>;
type TodoItem = z.infer<typeof todoItemSchema>;

/**
 * TaskProviderLike
 */
interface TaskProviderLike {
    getCurrentTask(): TaskLike | undefined;
    getRecentTasks(): string[];
    createTask(text?: string, images?: string[], parentTask?: TaskLike, options?: CreateTaskOptions, configuration?: RooCodeSettings): Promise<TaskLike>;
    cancelTask(): Promise<void>;
    clearTask(): Promise<void>;
    resumeTask(taskId: string): void;
    getModes(): Promise<{
        slug: string;
        name: string;
    }[]>;
    getMode(): Promise<string>;
    setMode(mode: string): Promise<void>;
    getProviderProfiles(): Promise<{
        name: string;
        provider?: string;
    }[]>;
    getProviderProfile(): Promise<string>;
    setProviderProfile(providerProfile: string): Promise<void>;
    readonly appProperties: StaticAppProperties;
    readonly gitProperties: GitProperties | undefined;
    getTelemetryProperties(): Promise<TelemetryProperties>;
    readonly cwd: string;
    on<K extends keyof TaskProviderEvents>(event: K, listener: (...args: TaskProviderEvents[K]) => void | Promise<void>): this;
    off<K extends keyof TaskProviderEvents>(event: K, listener: (...args: TaskProviderEvents[K]) => void | Promise<void>): this;
    postStateToWebview(): Promise<void>;
}
type TaskProviderEvents = {
    [RooCodeEventName.TaskCreated]: [task: TaskLike];
    [RooCodeEventName.TaskStarted]: [taskId: string];
    [RooCodeEventName.TaskCompleted]: [taskId: string, tokenUsage: TokenUsage, toolUsage: ToolUsage];
    [RooCodeEventName.TaskAborted]: [taskId: string];
    [RooCodeEventName.TaskFocused]: [taskId: string];
    [RooCodeEventName.TaskUnfocused]: [taskId: string];
    [RooCodeEventName.TaskActive]: [taskId: string];
    [RooCodeEventName.TaskInteractive]: [taskId: string];
    [RooCodeEventName.TaskResumable]: [taskId: string];
    [RooCodeEventName.TaskIdle]: [taskId: string];
    [RooCodeEventName.TaskPaused]: [taskId: string];
    [RooCodeEventName.TaskUnpaused]: [taskId: string];
    [RooCodeEventName.TaskSpawned]: [taskId: string];
    [RooCodeEventName.TaskUserMessage]: [taskId: string];
    [RooCodeEventName.TaskTokenUsageUpdated]: [taskId: string, tokenUsage: TokenUsage];
    [RooCodeEventName.ModeChanged]: [mode: string];
    [RooCodeEventName.ProviderProfileChanged]: [config: {
        name: string;
        provider?: string;
    }];
};
/**
 * TaskLike
 */
interface CreateTaskOptions {
    enableDiff?: boolean;
    enableCheckpoints?: boolean;
    fuzzyMatchThreshold?: number;
    consecutiveMistakeLimit?: number;
    experiments?: Record<string, boolean>;
    initialTodos?: TodoItem[];
}
declare enum TaskStatus {
    Running = "running",
    Interactive = "interactive",
    Resumable = "resumable",
    Idle = "idle",
    None = "none"
}
declare const taskMetadataSchema: z.ZodObject<{
    task: z.ZodOptional<z.ZodString>;
    images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
    images?: string[] | undefined;
    task?: string | undefined;
}, {
    images?: string[] | undefined;
    task?: string | undefined;
}>;
type TaskMetadata = z.infer<typeof taskMetadataSchema>;
interface TaskLike {
    readonly taskId: string;
    readonly rootTaskId?: string;
    readonly parentTaskId?: string;
    readonly childTaskId?: string;
    readonly metadata: TaskMetadata;
    readonly taskStatus: TaskStatus;
    readonly taskAsk: ClineMessage | undefined;
    readonly queuedMessages: QueuedMessage[];
    readonly tokenUsage: TokenUsage | undefined;
    on<K extends keyof TaskEvents>(event: K, listener: (...args: TaskEvents[K]) => void | Promise<void>): this;
    off<K extends keyof TaskEvents>(event: K, listener: (...args: TaskEvents[K]) => void | Promise<void>): this;
    approveAsk(options?: {
        text?: string;
        images?: string[];
    }): void;
    denyAsk(options?: {
        text?: string;
        images?: string[];
    }): void;
    submitUserMessage(text: string, images?: string[], mode?: string, providerProfile?: string): Promise<void>;
    abortTask(): void;
}
type TaskEvents = {
    [RooCodeEventName.TaskStarted]: [];
    [RooCodeEventName.TaskCompleted]: [taskId: string, tokenUsage: TokenUsage, toolUsage: ToolUsage];
    [RooCodeEventName.TaskAborted]: [];
    [RooCodeEventName.TaskFocused]: [];
    [RooCodeEventName.TaskUnfocused]: [];
    [RooCodeEventName.TaskActive]: [taskId: string];
    [RooCodeEventName.TaskInteractive]: [taskId: string];
    [RooCodeEventName.TaskResumable]: [taskId: string];
    [RooCodeEventName.TaskIdle]: [taskId: string];
    [RooCodeEventName.TaskPaused]: [taskId: string];
    [RooCodeEventName.TaskUnpaused]: [taskId: string];
    [RooCodeEventName.TaskSpawned]: [taskId: string];
    [RooCodeEventName.Message]: [{
        action: "created" | "updated";
        message: ClineMessage;
    }];
    [RooCodeEventName.TaskModeSwitched]: [taskId: string, mode: string];
    [RooCodeEventName.TaskAskResponded]: [];
    [RooCodeEventName.TaskUserMessage]: [taskId: string];
    [RooCodeEventName.TaskToolFailed]: [taskId: string, tool: ToolName, error: string];
    [RooCodeEventName.TaskTokenUsageUpdated]: [taskId: string, tokenUsage: TokenUsage];
};

/**
 * JWTPayload
 */
interface JWTPayload {
    iss?: string;
    sub?: string;
    exp?: number;
    iat?: number;
    nbf?: number;
    v?: number;
    r?: {
        u?: string;
        o?: string;
        t?: string;
    };
}
/**
 * CloudUserInfo
 */
interface CloudUserInfo {
    id?: string;
    name?: string;
    email?: string;
    picture?: string;
    organizationId?: string;
    organizationName?: string;
    organizationRole?: string;
    organizationImageUrl?: string;
    extensionBridgeEnabled?: boolean;
}
/**
 * CloudOrganization
 */
interface CloudOrganization {
    id: string;
    name: string;
    slug?: string;
    image_url?: string;
    has_image?: boolean;
    created_at?: number;
    updated_at?: number;
}
/**
 * CloudOrganizationMembership
 */
interface CloudOrganizationMembership {
    id: string;
    organization: CloudOrganization;
    role: string;
    permissions?: string[];
    created_at?: number;
    updated_at?: number;
}
/**
 * OrganizationAllowList
 */
declare const organizationAllowListSchema: z.ZodObject<{
    allowAll: z.ZodBoolean;
    providers: z.ZodRecord<z.ZodString, z.ZodObject<{
        allowAll: z.ZodBoolean;
        models: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    }, "strip", z.ZodTypeAny, {
        allowAll: boolean;
        models?: string[] | undefined;
    }, {
        allowAll: boolean;
        models?: string[] | undefined;
    }>>;
}, "strip", z.ZodTypeAny, {
    allowAll: boolean;
    providers: Record<string, {
        allowAll: boolean;
        models?: string[] | undefined;
    }>;
}, {
    allowAll: boolean;
    providers: Record<string, {
        allowAll: boolean;
        models?: string[] | undefined;
    }>;
}>;
type OrganizationAllowList = z.infer<typeof organizationAllowListSchema>;
/**
 * OrganizationDefaultSettings
 */
declare const organizationDefaultSettingsSchema: z.ZodObject<{
    fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
    enableCheckpoints: z.ZodOptional<z.ZodBoolean>;
    showRooIgnoredFiles: z.ZodOptional<z.ZodBoolean>;
    terminalShellIntegrationDisabled: z.ZodOptional<z.ZodBoolean>;
    terminalZshClearEolMark: z.ZodOptional<z.ZodBoolean>;
    terminalCompressProgressBar: z.ZodOptional<z.ZodBoolean>;
} & {
    maxOpenTabsContext: z.ZodOptional<z.ZodNumber>;
    maxReadFileLine: z.ZodOptional<z.ZodNumber>;
    maxWorkspaceFiles: z.ZodOptional<z.ZodNumber>;
    terminalCommandDelay: z.ZodOptional<z.ZodNumber>;
    terminalOutputLineLimit: z.ZodOptional<z.ZodNumber>;
    terminalShellIntegrationTimeout: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
    fuzzyMatchThreshold?: number | undefined;
    enableCheckpoints?: boolean | undefined;
    maxOpenTabsContext?: number | undefined;
    maxWorkspaceFiles?: number | undefined;
    showRooIgnoredFiles?: boolean | undefined;
    maxReadFileLine?: number | undefined;
    terminalOutputLineLimit?: number | undefined;
    terminalShellIntegrationTimeout?: number | undefined;
    terminalShellIntegrationDisabled?: boolean | undefined;
    terminalCommandDelay?: number | undefined;
    terminalZshClearEolMark?: boolean | undefined;
    terminalCompressProgressBar?: boolean | undefined;
}, {
    fuzzyMatchThreshold?: number | undefined;
    enableCheckpoints?: boolean | undefined;
    maxOpenTabsContext?: number | undefined;
    maxWorkspaceFiles?: number | undefined;
    showRooIgnoredFiles?: boolean | undefined;
    maxReadFileLine?: number | undefined;
    terminalOutputLineLimit?: number | undefined;
    terminalShellIntegrationTimeout?: number | undefined;
    terminalShellIntegrationDisabled?: boolean | undefined;
    terminalCommandDelay?: number | undefined;
    terminalZshClearEolMark?: boolean | undefined;
    terminalCompressProgressBar?: boolean | undefined;
}>;
type OrganizationDefaultSettings = z.infer<typeof organizationDefaultSettingsSchema>;
/**
 * OrganizationCloudSettings
 */
declare const organizationCloudSettingsSchema: z.ZodObject<{
    recordTaskMessages: z.ZodOptional<z.ZodBoolean>;
    enableTaskSharing: z.ZodOptional<z.ZodBoolean>;
    taskShareExpirationDays: z.ZodOptional<z.ZodNumber>;
    allowMembersViewAllTasks: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
    recordTaskMessages?: boolean | undefined;
    enableTaskSharing?: boolean | undefined;
    taskShareExpirationDays?: number | undefined;
    allowMembersViewAllTasks?: boolean | undefined;
}, {
    recordTaskMessages?: boolean | undefined;
    enableTaskSharing?: boolean | undefined;
    taskShareExpirationDays?: number | undefined;
    allowMembersViewAllTasks?: boolean | undefined;
}>;
type OrganizationCloudSettings = z.infer<typeof organizationCloudSettingsSchema>;
/**
 * OrganizationFeatures
 */
declare const organizationFeaturesSchema: z.ZodObject<{
    roomoteControlEnabled: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
    roomoteControlEnabled?: boolean | undefined;
}, {
    roomoteControlEnabled?: boolean | undefined;
}>;
type OrganizationFeatures = z.infer<typeof organizationFeaturesSchema>;
/**
 * OrganizationSettings
 */
declare const organizationSettingsSchema: z.ZodObject<{
    version: z.ZodNumber;
    cloudSettings: z.ZodOptional<z.ZodObject<{
        recordTaskMessages: z.ZodOptional<z.ZodBoolean>;
        enableTaskSharing: z.ZodOptional<z.ZodBoolean>;
        taskShareExpirationDays: z.ZodOptional<z.ZodNumber>;
        allowMembersViewAllTasks: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        recordTaskMessages?: boolean | undefined;
        enableTaskSharing?: boolean | undefined;
        taskShareExpirationDays?: number | undefined;
        allowMembersViewAllTasks?: boolean | undefined;
    }, {
        recordTaskMessages?: boolean | undefined;
        enableTaskSharing?: boolean | undefined;
        taskShareExpirationDays?: number | undefined;
        allowMembersViewAllTasks?: boolean | undefined;
    }>>;
    defaultSettings: z.ZodObject<{
        fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
        enableCheckpoints: z.ZodOptional<z.ZodBoolean>;
        showRooIgnoredFiles: z.ZodOptional<z.ZodBoolean>;
        terminalShellIntegrationDisabled: z.ZodOptional<z.ZodBoolean>;
        terminalZshClearEolMark: z.ZodOptional<z.ZodBoolean>;
        terminalCompressProgressBar: z.ZodOptional<z.ZodBoolean>;
    } & {
        maxOpenTabsContext: z.ZodOptional<z.ZodNumber>;
        maxReadFileLine: z.ZodOptional<z.ZodNumber>;
        maxWorkspaceFiles: z.ZodOptional<z.ZodNumber>;
        terminalCommandDelay: z.ZodOptional<z.ZodNumber>;
        terminalOutputLineLimit: z.ZodOptional<z.ZodNumber>;
        terminalShellIntegrationTimeout: z.ZodOptional<z.ZodNumber>;
    }, "strip", z.ZodTypeAny, {
        fuzzyMatchThreshold?: number | undefined;
        enableCheckpoints?: boolean | undefined;
        maxOpenTabsContext?: number | undefined;
        maxWorkspaceFiles?: number | undefined;
        showRooIgnoredFiles?: boolean | undefined;
        maxReadFileLine?: number | undefined;
        terminalOutputLineLimit?: number | undefined;
        terminalShellIntegrationTimeout?: number | undefined;
        terminalShellIntegrationDisabled?: boolean | undefined;
        terminalCommandDelay?: number | undefined;
        terminalZshClearEolMark?: boolean | undefined;
        terminalCompressProgressBar?: boolean | undefined;
    }, {
        fuzzyMatchThreshold?: number | undefined;
        enableCheckpoints?: boolean | undefined;
        maxOpenTabsContext?: number | undefined;
        maxWorkspaceFiles?: number | undefined;
        showRooIgnoredFiles?: boolean | undefined;
        maxReadFileLine?: number | undefined;
        terminalOutputLineLimit?: number | undefined;
        terminalShellIntegrationTimeout?: number | undefined;
        terminalShellIntegrationDisabled?: boolean | undefined;
        terminalCommandDelay?: number | undefined;
        terminalZshClearEolMark?: boolean | undefined;
        terminalCompressProgressBar?: boolean | undefined;
    }>;
    allowList: z.ZodObject<{
        allowAll: z.ZodBoolean;
        providers: z.ZodRecord<z.ZodString, z.ZodObject<{
            allowAll: z.ZodBoolean;
            models: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        }, "strip", z.ZodTypeAny, {
            allowAll: boolean;
            models?: string[] | undefined;
        }, {
            allowAll: boolean;
            models?: string[] | undefined;
        }>>;
    }, "strip", z.ZodTypeAny, {
        allowAll: boolean;
        providers: Record<string, {
            allowAll: boolean;
            models?: string[] | undefined;
        }>;
    }, {
        allowAll: boolean;
        providers: Record<string, {
            allowAll: boolean;
            models?: string[] | undefined;
        }>;
    }>;
    features: z.ZodOptional<z.ZodObject<{
        roomoteControlEnabled: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        roomoteControlEnabled?: boolean | undefined;
    }, {
        roomoteControlEnabled?: boolean | undefined;
    }>>;
    hiddenMcps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    hideMarketplaceMcps: z.ZodOptional<z.ZodBoolean>;
    mcps: z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        name: z.ZodString;
        description: z.ZodString;
        author: z.ZodOptional<z.ZodString>;
        authorUrl: z.ZodOptional<z.ZodString>;
        tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        prerequisites: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    } & {
        url: z.ZodString;
        content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
            name: z.ZodString;
            content: z.ZodString;
            parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
                name: z.ZodString;
                key: z.ZodString;
                placeholder: z.ZodOptional<z.ZodString>;
                optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
            }, "strip", z.ZodTypeAny, {
                name: string;
                key: string;
                optional: boolean;
                placeholder?: string | undefined;
            }, {
                name: string;
                key: string;
                placeholder?: string | undefined;
                optional?: boolean | undefined;
            }>, "many">>;
            prerequisites: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        }, "strip", z.ZodTypeAny, {
            name: string;
            content: string;
            parameters?: {
                name: string;
                key: string;
                optional: boolean;
                placeholder?: string | undefined;
            }[] | undefined;
            prerequisites?: string[] | undefined;
        }, {
            name: string;
            content: string;
            parameters?: {
                name: string;
                key: string;
                placeholder?: string | undefined;
                optional?: boolean | undefined;
            }[] | undefined;
            prerequisites?: string[] | undefined;
        }>, "many">]>;
        parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
            name: z.ZodString;
            key: z.ZodString;
            placeholder: z.ZodOptional<z.ZodString>;
            optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
        }, "strip", z.ZodTypeAny, {
            name: string;
            key: string;
            optional: boolean;
            placeholder?: string | undefined;
        }, {
            name: string;
            key: string;
            placeholder?: string | undefined;
            optional?: boolean | undefined;
        }>, "many">>;
    }, "strip", z.ZodTypeAny, {
        id: string;
        name: string;
        description: string;
        url: string;
        content: string | {
            name: string;
            content: string;
            parameters?: {
                name: string;
                key: string;
                optional: boolean;
                placeholder?: string | undefined;
            }[] | undefined;
            prerequisites?: string[] | undefined;
        }[];
        tags?: string[] | undefined;
        parameters?: {
            name: string;
            key: string;
            optional: boolean;
            placeholder?: string | undefined;
        }[] | undefined;
        prerequisites?: string[] | undefined;
        author?: string | undefined;
        authorUrl?: string | undefined;
    }, {
        id: string;
        name: string;
        description: string;
        url: string;
        content: string | {
            name: string;
            content: string;
            parameters?: {
                name: string;
                key: string;
                placeholder?: string | undefined;
                optional?: boolean | undefined;
            }[] | undefined;
            prerequisites?: string[] | undefined;
        }[];
        tags?: string[] | undefined;
        parameters?: {
            name: string;
            key: string;
            placeholder?: string | undefined;
            optional?: boolean | undefined;
        }[] | undefined;
        prerequisites?: string[] | undefined;
        author?: string | undefined;
        authorUrl?: string | undefined;
    }>, "many">>;
    providerProfiles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
        codeIndexOpenAiKey: z.ZodOptional<z.ZodString>;
        codeIndexQdrantApiKey: z.ZodOptional<z.ZodString>;
        codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
        codebaseIndexOpenAiCompatibleApiKey: z.ZodOptional<z.ZodString>;
        codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
        codebaseIndexGeminiApiKey: z.ZodOptional<z.ZodString>;
        codebaseIndexMistralApiKey: z.ZodOptional<z.ZodString>;
        codebaseIndexVercelAiGatewayApiKey: z.ZodOptional<z.ZodString>;
        codebaseIndexOpenRouterApiKey: z.ZodOptional<z.ZodString>;
        includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
        diffEnabled: z.ZodOptional<z.ZodBoolean>;
        todoListEnabled: z.ZodOptional<z.ZodBoolean>;
        fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
        modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
        consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
        enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
        reasoningEffort: z.ZodOptional<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>>;
        modelMaxTokens: z.ZodOptional<z.ZodNumber>;
        modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
        verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
        toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
        vercelAiGatewayApiKey: z.ZodOptional<z.ZodString>;
        vercelAiGatewayModelId: z.ZodOptional<z.ZodString>;
        apiModelId: z.ZodOptional<z.ZodString>;
        qwenCodeOauthPath: z.ZodOptional<z.ZodString>;
        ioIntelligenceModelId: z.ZodOptional<z.ZodString>;
        ioIntelligenceApiKey: z.ZodOptional<z.ZodString>;
        featherlessApiKey: z.ZodOptional<z.ZodString>;
        fireworksApiKey: z.ZodOptional<z.ZodString>;
        zaiApiKey: z.ZodOptional<z.ZodString>;
        zaiApiLine: z.ZodOptional<z.ZodEnum<["international_coding", "china_coding"]>>;
        sambaNovaApiKey: z.ZodOptional<z.ZodString>;
        cerebrasApiKey: z.ZodOptional<z.ZodString>;
        litellmBaseUrl: z.ZodOptional<z.ZodString>;
        litellmApiKey: z.ZodOptional<z.ZodString>;
        litellmModelId: z.ZodOptional<z.ZodString>;
        litellmUsePromptCache: z.ZodOptional<z.ZodBoolean>;
        chutesApiKey: z.ZodOptional<z.ZodString>;
        huggingFaceApiKey: z.ZodOptional<z.ZodString>;
        huggingFaceModelId: z.ZodOptional<z.ZodString>;
        huggingFaceInferenceProvider: z.ZodOptional<z.ZodString>;
        groqApiKey: z.ZodOptional<z.ZodString>;
        xaiApiKey: z.ZodOptional<z.ZodString>;
        fakeAi: z.ZodOptional<z.ZodUnknown>;
        requestyBaseUrl: z.ZodOptional<z.ZodString>;
        requestyApiKey: z.ZodOptional<z.ZodString>;
        requestyModelId: z.ZodOptional<z.ZodString>;
        unboundApiKey: z.ZodOptional<z.ZodString>;
        unboundModelId: z.ZodOptional<z.ZodString>;
        minimaxBaseUrl: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"https://api.minimax.io/v1">, z.ZodLiteral<"https://api.minimaxi.com/v1">]>>;
        minimaxApiKey: z.ZodOptional<z.ZodString>;
        moonshotBaseUrl: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"https://api.moonshot.ai/v1">, z.ZodLiteral<"https://api.moonshot.cn/v1">]>>;
        moonshotApiKey: z.ZodOptional<z.ZodString>;
        doubaoBaseUrl: z.ZodOptional<z.ZodString>;
        doubaoApiKey: z.ZodOptional<z.ZodString>;
        deepInfraBaseUrl: z.ZodOptional<z.ZodString>;
        deepInfraApiKey: z.ZodOptional<z.ZodString>;
        deepInfraModelId: z.ZodOptional<z.ZodString>;
        deepSeekBaseUrl: z.ZodOptional<z.ZodString>;
        deepSeekApiKey: z.ZodOptional<z.ZodString>;
        mistralApiKey: z.ZodOptional<z.ZodString>;
        mistralCodestralUrl: z.ZodOptional<z.ZodString>;
        openAiNativeApiKey: z.ZodOptional<z.ZodString>;
        openAiNativeBaseUrl: z.ZodOptional<z.ZodString>;
        openAiNativeServiceTier: z.ZodOptional<z.ZodEnum<["default", "flex", "priority"]>>;
        geminiCliOAuthPath: z.ZodOptional<z.ZodString>;
        geminiCliProjectId: z.ZodOptional<z.ZodString>;
        geminiApiKey: z.ZodOptional<z.ZodString>;
        googleGeminiBaseUrl: z.ZodOptional<z.ZodString>;
        enableUrlContext: z.ZodOptional<z.ZodBoolean>;
        enableGrounding: z.ZodOptional<z.ZodBoolean>;
        lmStudioModelId: z.ZodOptional<z.ZodString>;
        lmStudioBaseUrl: z.ZodOptional<z.ZodString>;
        lmStudioDraftModelId: z.ZodOptional<z.ZodString>;
        lmStudioSpeculativeDecodingEnabled: z.ZodOptional<z.ZodBoolean>;
        vsCodeLmModelSelector: z.ZodOptional<z.ZodObject<{
            vendor: z.ZodOptional<z.ZodString>;
            family: z.ZodOptional<z.ZodString>;
            version: z.ZodOptional<z.ZodString>;
            id: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            id?: string | undefined;
            family?: string | undefined;
            version?: string | undefined;
            vendor?: string | undefined;
        }, {
            id?: string | undefined;
            family?: string | undefined;
            version?: string | undefined;
            vendor?: string | undefined;
        }>>;
        ollamaModelId: z.ZodOptional<z.ZodString>;
        ollamaBaseUrl: z.ZodOptional<z.ZodString>;
        ollamaApiKey: z.ZodOptional<z.ZodString>;
        ollamaNumCtx: z.ZodOptional<z.ZodNumber>;
        openAiBaseUrl: z.ZodOptional<z.ZodString>;
        openAiApiKey: z.ZodOptional<z.ZodString>;
        openAiLegacyFormat: z.ZodOptional<z.ZodBoolean>;
        openAiR1FormatEnabled: z.ZodOptional<z.ZodBoolean>;
        openAiModelId: z.ZodOptional<z.ZodString>;
        openAiCustomModelInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
            maxTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
            maxThinkingTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
            contextWindow: z.ZodNumber;
            supportsImages: z.ZodOptional<z.ZodBoolean>;
            supportsPromptCache: z.ZodBoolean;
            promptCacheRetention: z.ZodOptional<z.ZodEnum<["in_memory", "24h"]>>;
            supportsVerbosity: z.ZodOptional<z.ZodBoolean>;
            supportsReasoningBudget: z.ZodOptional<z.ZodBoolean>;
            supportsReasoningBinary: z.ZodOptional<z.ZodBoolean>;
            supportsTemperature: z.ZodOptional<z.ZodBoolean>;
            defaultTemperature: z.ZodOptional<z.ZodNumber>;
            requiredReasoningBudget: z.ZodOptional<z.ZodBoolean>;
            supportsReasoningEffort: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>, "many">]>>;
            requiredReasoningEffort: z.ZodOptional<z.ZodBoolean>;
            preserveReasoning: z.ZodOptional<z.ZodBoolean>;
            supportedParameters: z.ZodOptional<z.ZodArray<z.ZodEnum<["max_tokens", "temperature", "reasoning", "include_reasoning"]>, "many">>;
            inputPrice: z.ZodOptional<z.ZodNumber>;
            outputPrice: z.ZodOptional<z.ZodNumber>;
            cacheWritesPrice: z.ZodOptional<z.ZodNumber>;
            cacheReadsPrice: z.ZodOptional<z.ZodNumber>;
            description: z.ZodOptional<z.ZodString>;
            reasoningEffort: z.ZodOptional<z.ZodEnum<["none", "minimal", "low", "medium", "high"]>>;
            minTokensPerCachePoint: z.ZodOptional<z.ZodNumber>;
            maxCachePoints: z.ZodOptional<z.ZodNumber>;
            cachableFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            deprecated: z.ZodOptional<z.ZodBoolean>;
            isFree: z.ZodOptional<z.ZodBoolean>;
            supportsNativeTools: z.ZodOptional<z.ZodBoolean>;
            defaultToolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
            tiers: z.ZodOptional<z.ZodArray<z.ZodObject<{
                name: z.ZodOptional<z.ZodEnum<["default", "flex", "priority"]>>;
                contextWindow: z.ZodNumber;
                inputPrice: z.ZodOptional<z.ZodNumber>;
                outputPrice: z.ZodOptional<z.ZodNumber>;
                cacheWritesPrice: z.ZodOptional<z.ZodNumber>;
                cacheReadsPrice: z.ZodOptional<z.ZodNumber>;
            }, "strip", z.ZodTypeAny, {
                contextWindow: number;
                name?: "default" | "flex" | "priority" | undefined;
                inputPrice?: number | undefined;
                outputPrice?: number | undefined;
                cacheWritesPrice?: number | undefined;
                cacheReadsPrice?: number | undefined;
            }, {
                contextWindow: number;
                name?: "default" | "flex" | "priority" | undefined;
                inputPrice?: number | undefined;
                outputPrice?: number | undefined;
                cacheWritesPrice?: number | undefined;
                cacheReadsPrice?: number | undefined;
            }>, "many">>;
        }, "strip", z.ZodTypeAny, {
            contextWindow: number;
            supportsPromptCache: boolean;
            maxTokens?: number | null | undefined;
            maxThinkingTokens?: number | null | undefined;
            supportsImages?: boolean | undefined;
            promptCacheRetention?: "in_memory" | "24h" | undefined;
            supportsVerbosity?: boolean | undefined;
            supportsReasoningBudget?: boolean | undefined;
            supportsReasoningBinary?: boolean | undefined;
            supportsTemperature?: boolean | undefined;
            defaultTemperature?: number | undefined;
            requiredReasoningBudget?: boolean | undefined;
            supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
            requiredReasoningEffort?: boolean | undefined;
            preserveReasoning?: boolean | undefined;
            supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
            inputPrice?: number | undefined;
            outputPrice?: number | undefined;
            cacheWritesPrice?: number | undefined;
            cacheReadsPrice?: number | undefined;
            description?: string | undefined;
            reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
            minTokensPerCachePoint?: number | undefined;
            maxCachePoints?: number | undefined;
            cachableFields?: string[] | undefined;
            deprecated?: boolean | undefined;
            isFree?: boolean | undefined;
            supportsNativeTools?: boolean | undefined;
            defaultToolProtocol?: "xml" | "native" | undefined;
            tiers?: {
                contextWindow: number;
                name?: "default" | "flex" | "priority" | undefined;
                inputPrice?: number | undefined;
                outputPrice?: number | undefined;
                cacheWritesPrice?: number | undefined;
                cacheReadsPrice?: number | undefined;
            }[] | undefined;
        }, {
            contextWindow: number;
            supportsPromptCache: boolean;
            maxTokens?: number | null | undefined;
            maxThinkingTokens?: number | null | undefined;
            supportsImages?: boolean | undefined;
            promptCacheRetention?: "in_memory" | "24h" | undefined;
            supportsVerbosity?: boolean | undefined;
            supportsReasoningBudget?: boolean | undefined;
            supportsReasoningBinary?: boolean | undefined;
            supportsTemperature?: boolean | undefined;
            defaultTemperature?: number | undefined;
            requiredReasoningBudget?: boolean | undefined;
            supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
            requiredReasoningEffort?: boolean | undefined;
            preserveReasoning?: boolean | undefined;
            supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
            inputPrice?: number | undefined;
            outputPrice?: number | undefined;
            cacheWritesPrice?: number | undefined;
            cacheReadsPrice?: number | undefined;
            description?: string | undefined;
            reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
            minTokensPerCachePoint?: number | undefined;
            maxCachePoints?: number | undefined;
            cachableFields?: string[] | undefined;
            deprecated?: boolean | undefined;
            isFree?: boolean | undefined;
            supportsNativeTools?: boolean | undefined;
            defaultToolProtocol?: "xml" | "native" | undefined;
            tiers?: {
                contextWindow: number;
                name?: "default" | "flex" | "priority" | undefined;
                inputPrice?: number | undefined;
                outputPrice?: number | undefined;
                cacheWritesPrice?: number | undefined;
                cacheReadsPrice?: number | undefined;
            }[] | undefined;
        }>>>;
        openAiUseAzure: z.ZodOptional<z.ZodBoolean>;
        azureApiVersion: z.ZodOptional<z.ZodString>;
        openAiStreamingEnabled: z.ZodOptional<z.ZodBoolean>;
        openAiHostHeader: z.ZodOptional<z.ZodString>;
        openAiHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
        vertexKeyFile: z.ZodOptional<z.ZodString>;
        vertexJsonCredentials: z.ZodOptional<z.ZodString>;
        vertexProjectId: z.ZodOptional<z.ZodString>;
        vertexRegion: z.ZodOptional<z.ZodString>;
        awsAccessKey: z.ZodOptional<z.ZodString>;
        awsSecretKey: z.ZodOptional<z.ZodString>;
        awsSessionToken: z.ZodOptional<z.ZodString>;
        awsRegion: z.ZodOptional<z.ZodString>;
        awsUseCrossRegionInference: z.ZodOptional<z.ZodBoolean>;
        awsUseGlobalInference: z.ZodOptional<z.ZodBoolean>;
        awsUsePromptCache: z.ZodOptional<z.ZodBoolean>;
        awsProfile: z.ZodOptional<z.ZodString>;
        awsUseProfile: z.ZodOptional<z.ZodBoolean>;
        awsApiKey: z.ZodOptional<z.ZodString>;
        awsUseApiKey: z.ZodOptional<z.ZodBoolean>;
        awsCustomArn: z.ZodOptional<z.ZodString>;
        awsModelContextWindow: z.ZodOptional<z.ZodNumber>;
        awsBedrockEndpointEnabled: z.ZodOptional<z.ZodBoolean>;
        awsBedrockEndpoint: z.ZodOptional<z.ZodString>;
        awsBedrock1MContext: z.ZodOptional<z.ZodBoolean>;
        openRouterApiKey: z.ZodOptional<z.ZodString>;
        openRouterModelId: z.ZodOptional<z.ZodString>;
        openRouterBaseUrl: z.ZodOptional<z.ZodString>;
        openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
        openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
        glamaModelId: z.ZodOptional<z.ZodString>;
        glamaApiKey: z.ZodOptional<z.ZodString>;
        claudeCodePath: z.ZodOptional<z.ZodString>;
        claudeCodeMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
        apiKey: z.ZodOptional<z.ZodString>;
        anthropicBaseUrl: z.ZodOptional<z.ZodString>;
        anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
        anthropicBeta1MContext: z.ZodOptional<z.ZodBoolean>;
        apiProvider: z.ZodOptional<z.ZodEnum<["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "roo", "chutes", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "minimax", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"]>>;
    } & {
        id: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        id?: string | undefined;
        reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
        codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
        codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
        codeIndexOpenAiKey?: string | undefined;
        codeIndexQdrantApiKey?: string | undefined;
        codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
        codebaseIndexGeminiApiKey?: string | undefined;
        codebaseIndexMistralApiKey?: string | undefined;
        codebaseIndexVercelAiGatewayApiKey?: string | undefined;
        codebaseIndexOpenRouterApiKey?: string | undefined;
        apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
        includeMaxTokens?: boolean | undefined;
        diffEnabled?: boolean | undefined;
        todoListEnabled?: boolean | undefined;
        fuzzyMatchThreshold?: number | undefined;
        modelTemperature?: number | null | undefined;
        rateLimitSeconds?: number | undefined;
        consecutiveMistakeLimit?: number | undefined;
        enableReasoningEffort?: boolean | undefined;
        modelMaxTokens?: number | undefined;
        modelMaxThinkingTokens?: number | undefined;
        verbosity?: "low" | "medium" | "high" | undefined;
        toolProtocol?: "xml" | "native" | undefined;
        apiModelId?: string | undefined;
        apiKey?: string | undefined;
        anthropicBaseUrl?: string | undefined;
        anthropicUseAuthToken?: boolean | undefined;
        anthropicBeta1MContext?: boolean | undefined;
        claudeCodePath?: string | undefined;
        claudeCodeMaxOutputTokens?: number | undefined;
        glamaModelId?: string | undefined;
        glamaApiKey?: string | undefined;
        openRouterApiKey?: string | undefined;
        openRouterModelId?: string | undefined;
        openRouterBaseUrl?: string | undefined;
        openRouterSpecificProvider?: string | undefined;
        openRouterUseMiddleOutTransform?: boolean | undefined;
        awsAccessKey?: string | undefined;
        awsSecretKey?: string | undefined;
        awsSessionToken?: string | undefined;
        awsRegion?: string | undefined;
        awsUseCrossRegionInference?: boolean | undefined;
        awsUseGlobalInference?: boolean | undefined;
        awsUsePromptCache?: boolean | undefined;
        awsProfile?: string | undefined;
        awsUseProfile?: boolean | undefined;
        awsApiKey?: string | undefined;
        awsUseApiKey?: boolean | undefined;
        awsCustomArn?: string | undefined;
        awsModelContextWindow?: number | undefined;
        awsBedrockEndpointEnabled?: boolean | undefined;
        awsBedrockEndpoint?: string | undefined;
        awsBedrock1MContext?: boolean | undefined;
        vertexKeyFile?: string | undefined;
        vertexJsonCredentials?: string | undefined;
        vertexProjectId?: string | undefined;
        vertexRegion?: string | undefined;
        enableUrlContext?: boolean | undefined;
        enableGrounding?: boolean | undefined;
        openAiBaseUrl?: string | undefined;
        openAiApiKey?: string | undefined;
        openAiLegacyFormat?: boolean | undefined;
        openAiR1FormatEnabled?: boolean | undefined;
        openAiModelId?: string | undefined;
        openAiCustomModelInfo?: {
            contextWindow: number;
            supportsPromptCache: boolean;
            maxTokens?: number | null | undefined;
            maxThinkingTokens?: number | null | undefined;
            supportsImages?: boolean | undefined;
            promptCacheRetention?: "in_memory" | "24h" | undefined;
            supportsVerbosity?: boolean | undefined;
            supportsReasoningBudget?: boolean | undefined;
            supportsReasoningBinary?: boolean | undefined;
            supportsTemperature?: boolean | undefined;
            defaultTemperature?: number | undefined;
            requiredReasoningBudget?: boolean | undefined;
            supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
            requiredReasoningEffort?: boolean | undefined;
            preserveReasoning?: boolean | undefined;
            supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
            inputPrice?: number | undefined;
            outputPrice?: number | undefined;
            cacheWritesPrice?: number | undefined;
            cacheReadsPrice?: number | undefined;
            description?: string | undefined;
            reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
            minTokensPerCachePoint?: number | undefined;
            maxCachePoints?: number | undefined;
            cachableFields?: string[] | undefined;
            deprecated?: boolean | undefined;
            isFree?: boolean | undefined;
            supportsNativeTools?: boolean | undefined;
            defaultToolProtocol?: "xml" | "native" | undefined;
            tiers?: {
                contextWindow: number;
                name?: "default" | "flex" | "priority" | undefined;
                inputPrice?: number | undefined;
                outputPrice?: number | undefined;
                cacheWritesPrice?: number | undefined;
                cacheReadsPrice?: number | undefined;
            }[] | undefined;
        } | null | undefined;
        openAiUseAzure?: boolean | undefined;
        azureApiVersion?: string | undefined;
        openAiStreamingEnabled?: boolean | undefined;
        openAiHostHeader?: string | undefined;
        openAiHeaders?: Record<string, string> | undefined;
        ollamaModelId?: string | undefined;
        ollamaBaseUrl?: string | undefined;
        ollamaApiKey?: string | undefined;
        ollamaNumCtx?: number | undefined;
        vsCodeLmModelSelector?: {
            id?: string | undefined;
            family?: string | undefined;
            version?: string | undefined;
            vendor?: string | undefined;
        } | undefined;
        lmStudioModelId?: string | undefined;
        lmStudioBaseUrl?: string | undefined;
        lmStudioDraftModelId?: string | undefined;
        lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
        geminiApiKey?: string | undefined;
        googleGeminiBaseUrl?: string | undefined;
        geminiCliOAuthPath?: string | undefined;
        geminiCliProjectId?: string | undefined;
        openAiNativeApiKey?: string | undefined;
        openAiNativeBaseUrl?: string | undefined;
        openAiNativeServiceTier?: "default" | "flex" | "priority" | undefined;
        mistralApiKey?: string | undefined;
        mistralCodestralUrl?: string | undefined;
        deepSeekBaseUrl?: string | undefined;
        deepSeekApiKey?: string | undefined;
        deepInfraBaseUrl?: string | undefined;
        deepInfraApiKey?: string | undefined;
        deepInfraModelId?: string | undefined;
        doubaoBaseUrl?: string | undefined;
        doubaoApiKey?: string | undefined;
        moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined;
        moonshotApiKey?: string | undefined;
        minimaxBaseUrl?: "https://api.minimax.io/v1" | "https://api.minimaxi.com/v1" | undefined;
        minimaxApiKey?: string | undefined;
        unboundApiKey?: string | undefined;
        unboundModelId?: string | undefined;
        requestyBaseUrl?: string | undefined;
        requestyApiKey?: string | undefined;
        requestyModelId?: string | undefined;
        fakeAi?: unknown;
        xaiApiKey?: string | undefined;
        groqApiKey?: string | undefined;
        huggingFaceApiKey?: string | undefined;
        huggingFaceModelId?: string | undefined;
        huggingFaceInferenceProvider?: string | undefined;
        chutesApiKey?: string | undefined;
        litellmBaseUrl?: string | undefined;
        litellmApiKey?: string | undefined;
        litellmModelId?: string | undefined;
        litellmUsePromptCache?: boolean | undefined;
        cerebrasApiKey?: string | undefined;
        sambaNovaApiKey?: string | undefined;
        zaiApiKey?: string | undefined;
        zaiApiLine?: "international_coding" | "china_coding" | undefined;
        fireworksApiKey?: string | undefined;
        featherlessApiKey?: string | undefined;
        ioIntelligenceModelId?: string | undefined;
        ioIntelligenceApiKey?: string | undefined;
        qwenCodeOauthPath?: string | undefined;
        vercelAiGatewayApiKey?: string | undefined;
        vercelAiGatewayModelId?: string | undefined;
    }, {
        id?: string | undefined;
        reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
        codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
        codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
        codeIndexOpenAiKey?: string | undefined;
        codeIndexQdrantApiKey?: string | undefined;
        codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
        codebaseIndexGeminiApiKey?: string | undefined;
        codebaseIndexMistralApiKey?: string | undefined;
        codebaseIndexVercelAiGatewayApiKey?: string | undefined;
        codebaseIndexOpenRouterApiKey?: string | undefined;
        apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
        includeMaxTokens?: boolean | undefined;
        diffEnabled?: boolean | undefined;
        todoListEnabled?: boolean | undefined;
        fuzzyMatchThreshold?: number | undefined;
        modelTemperature?: number | null | undefined;
        rateLimitSeconds?: number | undefined;
        consecutiveMistakeLimit?: number | undefined;
        enableReasoningEffort?: boolean | undefined;
        modelMaxTokens?: number | undefined;
        modelMaxThinkingTokens?: number | undefined;
        verbosity?: "low" | "medium" | "high" | undefined;
        toolProtocol?: "xml" | "native" | undefined;
        apiModelId?: string | undefined;
        apiKey?: string | undefined;
        anthropicBaseUrl?: string | undefined;
        anthropicUseAuthToken?: boolean | undefined;
        anthropicBeta1MContext?: boolean | undefined;
        claudeCodePath?: string | undefined;
        claudeCodeMaxOutputTokens?: number | undefined;
        glamaModelId?: string | undefined;
        glamaApiKey?: string | undefined;
        openRouterApiKey?: string | undefined;
        openRouterModelId?: string | undefined;
        openRouterBaseUrl?: string | undefined;
        openRouterSpecificProvider?: string | undefined;
        openRouterUseMiddleOutTransform?: boolean | undefined;
        awsAccessKey?: string | undefined;
        awsSecretKey?: string | undefined;
        awsSessionToken?: string | undefined;
        awsRegion?: string | undefined;
        awsUseCrossRegionInference?: boolean | undefined;
        awsUseGlobalInference?: boolean | undefined;
        awsUsePromptCache?: boolean | undefined;
        awsProfile?: string | undefined;
        awsUseProfile?: boolean | undefined;
        awsApiKey?: string | undefined;
        awsUseApiKey?: boolean | undefined;
        awsCustomArn?: string | undefined;
        awsModelContextWindow?: number | undefined;
        awsBedrockEndpointEnabled?: boolean | undefined;
        awsBedrockEndpoint?: string | undefined;
        awsBedrock1MContext?: boolean | undefined;
        vertexKeyFile?: string | undefined;
        vertexJsonCredentials?: string | undefined;
        vertexProjectId?: string | undefined;
        vertexRegion?: string | undefined;
        enableUrlContext?: boolean | undefined;
        enableGrounding?: boolean | undefined;
        openAiBaseUrl?: string | undefined;
        openAiApiKey?: string | undefined;
        openAiLegacyFormat?: boolean | undefined;
        openAiR1FormatEnabled?: boolean | undefined;
        openAiModelId?: string | undefined;
        openAiCustomModelInfo?: {
            contextWindow: number;
            supportsPromptCache: boolean;
            maxTokens?: number | null | undefined;
            maxThinkingTokens?: number | null | undefined;
            supportsImages?: boolean | undefined;
            promptCacheRetention?: "in_memory" | "24h" | undefined;
            supportsVerbosity?: boolean | undefined;
            supportsReasoningBudget?: boolean | undefined;
            supportsReasoningBinary?: boolean | undefined;
            supportsTemperature?: boolean | undefined;
            defaultTemperature?: number | undefined;
            requiredReasoningBudget?: boolean | undefined;
            supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
            requiredReasoningEffort?: boolean | undefined;
            preserveReasoning?: boolean | undefined;
            supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
            inputPrice?: number | undefined;
            outputPrice?: number | undefined;
            cacheWritesPrice?: number | undefined;
            cacheReadsPrice?: number | undefined;
            description?: string | undefined;
            reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
            minTokensPerCachePoint?: number | undefined;
            maxCachePoints?: number | undefined;
            cachableFields?: string[] | undefined;
            deprecated?: boolean | undefined;
            isFree?: boolean | undefined;
            supportsNativeTools?: boolean | undefined;
            defaultToolProtocol?: "xml" | "native" | undefined;
            tiers?: {
                contextWindow: number;
                name?: "default" | "flex" | "priority" | undefined;
                inputPrice?: number | undefined;
                outputPrice?: number | undefined;
                cacheWritesPrice?: number | undefined;
                cacheReadsPrice?: number | undefined;
            }[] | undefined;
        } | null | undefined;
        openAiUseAzure?: boolean | undefined;
        azureApiVersion?: string | undefined;
        openAiStreamingEnabled?: boolean | undefined;
        openAiHostHeader?: string | undefined;
        openAiHeaders?: Record<string, string> | undefined;
        ollamaModelId?: string | undefined;
        ollamaBaseUrl?: string | undefined;
        ollamaApiKey?: string | undefined;
        ollamaNumCtx?: number | undefined;
        vsCodeLmModelSelector?: {
            id?: string | undefined;
            family?: string | undefined;
            version?: string | undefined;
            vendor?: string | undefined;
        } | undefined;
        lmStudioModelId?: string | undefined;
        lmStudioBaseUrl?: string | undefined;
        lmStudioDraftModelId?: string | undefined;
        lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
        geminiApiKey?: string | undefined;
        googleGeminiBaseUrl?: string | undefined;
        geminiCliOAuthPath?: string | undefined;
        geminiCliProjectId?: string | undefined;
        openAiNativeApiKey?: string | undefined;
        openAiNativeBaseUrl?: string | undefined;
        openAiNativeServiceTier?: "default" | "flex" | "priority" | undefined;
        mistralApiKey?: string | undefined;
        mistralCodestralUrl?: string | undefined;
        deepSeekBaseUrl?: string | undefined;
        deepSeekApiKey?: string | undefined;
        deepInfraBaseUrl?: string | undefined;
        deepInfraApiKey?: string | undefined;
        deepInfraModelId?: string | undefined;
        doubaoBaseUrl?: string | undefined;
        doubaoApiKey?: string | undefined;
        moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined;
        moonshotApiKey?: string | undefined;
        minimaxBaseUrl?: "https://api.minimax.io/v1" | "https://api.minimaxi.com/v1" | undefined;
        minimaxApiKey?: string | undefined;
        unboundApiKey?: string | undefined;
        unboundModelId?: string | undefined;
        requestyBaseUrl?: string | undefined;
        requestyApiKey?: string | undefined;
        requestyModelId?: string | undefined;
        fakeAi?: unknown;
        xaiApiKey?: string | undefined;
        groqApiKey?: string | undefined;
        huggingFaceApiKey?: string | undefined;
        huggingFaceModelId?: string | undefined;
        huggingFaceInferenceProvider?: string | undefined;
        chutesApiKey?: string | undefined;
        litellmBaseUrl?: string | undefined;
        litellmApiKey?: string | undefined;
        litellmModelId?: string | undefined;
        litellmUsePromptCache?: boolean | undefined;
        cerebrasApiKey?: string | undefined;
        sambaNovaApiKey?: string | undefined;
        zaiApiKey?: string | undefined;
        zaiApiLine?: "international_coding" | "china_coding" | undefined;
        fireworksApiKey?: string | undefined;
        featherlessApiKey?: string | undefined;
        ioIntelligenceModelId?: string | undefined;
        ioIntelligenceApiKey?: string | undefined;
        qwenCodeOauthPath?: string | undefined;
        vercelAiGatewayApiKey?: string | undefined;
        vercelAiGatewayModelId?: string | undefined;
    }>>>;
}, "strip", z.ZodTypeAny, {
    version: number;
    defaultSettings: {
        fuzzyMatchThreshold?: number | undefined;
        enableCheckpoints?: boolean | undefined;
        maxOpenTabsContext?: number | undefined;
        maxWorkspaceFiles?: number | undefined;
        showRooIgnoredFiles?: boolean | undefined;
        maxReadFileLine?: number | undefined;
        terminalOutputLineLimit?: number | undefined;
        terminalShellIntegrationTimeout?: number | undefined;
        terminalShellIntegrationDisabled?: boolean | undefined;
        terminalCommandDelay?: number | undefined;
        terminalZshClearEolMark?: boolean | undefined;
        terminalCompressProgressBar?: boolean | undefined;
    };
    allowList: {
        allowAll: boolean;
        providers: Record<string, {
            allowAll: boolean;
            models?: string[] | undefined;
        }>;
    };
    cloudSettings?: {
        recordTaskMessages?: boolean | undefined;
        enableTaskSharing?: boolean | undefined;
        taskShareExpirationDays?: number | undefined;
        allowMembersViewAllTasks?: boolean | undefined;
    } | undefined;
    features?: {
        roomoteControlEnabled?: boolean | undefined;
    } | undefined;
    hiddenMcps?: string[] | undefined;
    hideMarketplaceMcps?: boolean | undefined;
    mcps?: {
        id: string;
        name: string;
        description: string;
        url: string;
        content: string | {
            name: string;
            content: string;
            parameters?: {
                name: string;
                key: string;
                optional: boolean;
                placeholder?: string | undefined;
            }[] | undefined;
            prerequisites?: string[] | undefined;
        }[];
        tags?: string[] | undefined;
        parameters?: {
            name: string;
            key: string;
            optional: boolean;
            placeholder?: string | undefined;
        }[] | undefined;
        prerequisites?: string[] | undefined;
        author?: string | undefined;
        authorUrl?: string | undefined;
    }[] | undefined;
    providerProfiles?: Record<string, {
        id?: string | undefined;
        reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
        codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
        codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
        codeIndexOpenAiKey?: string | undefined;
        codeIndexQdrantApiKey?: string | undefined;
        codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
        codebaseIndexGeminiApiKey?: string | undefined;
        codebaseIndexMistralApiKey?: string | undefined;
        codebaseIndexVercelAiGatewayApiKey?: string | undefined;
        codebaseIndexOpenRouterApiKey?: string | undefined;
        apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
        includeMaxTokens?: boolean | undefined;
        diffEnabled?: boolean | undefined;
        todoListEnabled?: boolean | undefined;
        fuzzyMatchThreshold?: number | undefined;
        modelTemperature?: number | null | undefined;
        rateLimitSeconds?: number | undefined;
        consecutiveMistakeLimit?: number | undefined;
        enableReasoningEffort?: boolean | undefined;
        modelMaxTokens?: number | undefined;
        modelMaxThinkingTokens?: number | undefined;
        verbosity?: "low" | "medium" | "high" | undefined;
        toolProtocol?: "xml" | "native" | undefined;
        apiModelId?: string | undefined;
        apiKey?: string | undefined;
        anthropicBaseUrl?: string | undefined;
        anthropicUseAuthToken?: boolean | undefined;
        anthropicBeta1MContext?: boolean | undefined;
        claudeCodePath?: string | undefined;
        claudeCodeMaxOutputTokens?: number | undefined;
        glamaModelId?: string | undefined;
        glamaApiKey?: string | undefined;
        openRouterApiKey?: string | undefined;
        openRouterModelId?: string | undefined;
        openRouterBaseUrl?: string | undefined;
        openRouterSpecificProvider?: string | undefined;
        openRouterUseMiddleOutTransform?: boolean | undefined;
        awsAccessKey?: string | undefined;
        awsSecretKey?: string | undefined;
        awsSessionToken?: string | undefined;
        awsRegion?: string | undefined;
        awsUseCrossRegionInference?: boolean | undefined;
        awsUseGlobalInference?: boolean | undefined;
        awsUsePromptCache?: boolean | undefined;
        awsProfile?: string | undefined;
        awsUseProfile?: boolean | undefined;
        awsApiKey?: string | undefined;
        awsUseApiKey?: boolean | undefined;
        awsCustomArn?: string | undefined;
        awsModelContextWindow?: number | undefined;
        awsBedrockEndpointEnabled?: boolean | undefined;
        awsBedrockEndpoint?: string | undefined;
        awsBedrock1MContext?: boolean | undefined;
        vertexKeyFile?: string | undefined;
        vertexJsonCredentials?: string | undefined;
        vertexProjectId?: string | undefined;
        vertexRegion?: string | undefined;
        enableUrlContext?: boolean | undefined;
        enableGrounding?: boolean | undefined;
        openAiBaseUrl?: string | undefined;
        openAiApiKey?: string | undefined;
        openAiLegacyFormat?: boolean | undefined;
        openAiR1FormatEnabled?: boolean | undefined;
        openAiModelId?: string | undefined;
        openAiCustomModelInfo?: {
            contextWindow: number;
            supportsPromptCache: boolean;
            maxTokens?: number | null | undefined;
            maxThinkingTokens?: number | null | undefined;
            supportsImages?: boolean | undefined;
            promptCacheRetention?: "in_memory" | "24h" | undefined;
            supportsVerbosity?: boolean | undefined;
            supportsReasoningBudget?: boolean | undefined;
            supportsReasoningBinary?: boolean | undefined;
            supportsTemperature?: boolean | undefined;
            defaultTemperature?: number | undefined;
            requiredReasoningBudget?: boolean | undefined;
            supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
            requiredReasoningEffort?: boolean | undefined;
            preserveReasoning?: boolean | undefined;
            supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
            inputPrice?: number | undefined;
            outputPrice?: number | undefined;
            cacheWritesPrice?: number | undefined;
            cacheReadsPrice?: number | undefined;
            description?: string | undefined;
            reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
            minTokensPerCachePoint?: number | undefined;
            maxCachePoints?: number | undefined;
            cachableFields?: string[] | undefined;
            deprecated?: boolean | undefined;
            isFree?: boolean | undefined;
            supportsNativeTools?: boolean | undefined;
            defaultToolProtocol?: "xml" | "native" | undefined;
            tiers?: {
                contextWindow: number;
                name?: "default" | "flex" | "priority" | undefined;
                inputPrice?: number | undefined;
                outputPrice?: number | undefined;
                cacheWritesPrice?: number | undefined;
                cacheReadsPrice?: number | undefined;
            }[] | undefined;
        } | null | undefined;
        openAiUseAzure?: boolean | undefined;
        azureApiVersion?: string | undefined;
        openAiStreamingEnabled?: boolean | undefined;
        openAiHostHeader?: string | undefined;
        openAiHeaders?: Record<string, string> | undefined;
        ollamaModelId?: string | undefined;
        ollamaBaseUrl?: string | undefined;
        ollamaApiKey?: string | undefined;
        ollamaNumCtx?: number | undefined;
        vsCodeLmModelSelector?: {
            id?: string | undefined;
            family?: string | undefined;
            version?: string | undefined;
            vendor?: string | undefined;
        } | undefined;
        lmStudioModelId?: string | undefined;
        lmStudioBaseUrl?: string | undefined;
        lmStudioDraftModelId?: string | undefined;
        lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
        geminiApiKey?: string | undefined;
        googleGeminiBaseUrl?: string | undefined;
        geminiCliOAuthPath?: string | undefined;
        geminiCliProjectId?: string | undefined;
        openAiNativeApiKey?: string | undefined;
        openAiNativeBaseUrl?: string | undefined;
        openAiNativeServiceTier?: "default" | "flex" | "priority" | undefined;
        mistralApiKey?: string | undefined;
        mistralCodestralUrl?: string | undefined;
        deepSeekBaseUrl?: string | undefined;
        deepSeekApiKey?: string | undefined;
        deepInfraBaseUrl?: string | undefined;
        deepInfraApiKey?: string | undefined;
        deepInfraModelId?: string | undefined;
        doubaoBaseUrl?: string | undefined;
        doubaoApiKey?: string | undefined;
        moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined;
        moonshotApiKey?: string | undefined;
        minimaxBaseUrl?: "https://api.minimax.io/v1" | "https://api.minimaxi.com/v1" | undefined;
        minimaxApiKey?: string | undefined;
        unboundApiKey?: string | undefined;
        unboundModelId?: string | undefined;
        requestyBaseUrl?: string | undefined;
        requestyApiKey?: string | undefined;
        requestyModelId?: string | undefined;
        fakeAi?: unknown;
        xaiApiKey?: string | undefined;
        groqApiKey?: string | undefined;
        huggingFaceApiKey?: string | undefined;
        huggingFaceModelId?: string | undefined;
        huggingFaceInferenceProvider?: string | undefined;
        chutesApiKey?: string | undefined;
        litellmBaseUrl?: string | undefined;
        litellmApiKey?: string | undefined;
        litellmModelId?: string | undefined;
        litellmUsePromptCache?: boolean | undefined;
        cerebrasApiKey?: string | undefined;
        sambaNovaApiKey?: string | undefined;
        zaiApiKey?: string | undefined;
        zaiApiLine?: "international_coding" | "china_coding" | undefined;
        fireworksApiKey?: string | undefined;
        featherlessApiKey?: string | undefined;
        ioIntelligenceModelId?: string | undefined;
        ioIntelligenceApiKey?: string | undefined;
        qwenCodeOauthPath?: string | undefined;
        vercelAiGatewayApiKey?: string | undefined;
        vercelAiGatewayModelId?: string | undefined;
    }> | undefined;
}, {
    version: number;
    defaultSettings: {
        fuzzyMatchThreshold?: number | undefined;
        enableCheckpoints?: boolean | undefined;
        maxOpenTabsContext?: number | undefined;
        maxWorkspaceFiles?: number | undefined;
        showRooIgnoredFiles?: boolean | undefined;
        maxReadFileLine?: number | undefined;
        terminalOutputLineLimit?: number | undefined;
        terminalShellIntegrationTimeout?: number | undefined;
        terminalShellIntegrationDisabled?: boolean | undefined;
        terminalCommandDelay?: number | undefined;
        terminalZshClearEolMark?: boolean | undefined;
        terminalCompressProgressBar?: boolean | undefined;
    };
    allowList: {
        allowAll: boolean;
        providers: Record<string, {
            allowAll: boolean;
            models?: string[] | undefined;
        }>;
    };
    cloudSettings?: {
        recordTaskMessages?: boolean | undefined;
        enableTaskSharing?: boolean | undefined;
        taskShareExpirationDays?: number | undefined;
        allowMembersViewAllTasks?: boolean | undefined;
    } | undefined;
    features?: {
        roomoteControlEnabled?: boolean | undefined;
    } | undefined;
    hiddenMcps?: string[] | undefined;
    hideMarketplaceMcps?: boolean | undefined;
    mcps?: {
        id: string;
        name: string;
        description: string;
        url: string;
        content: string | {
            name: string;
            content: string;
            parameters?: {
                name: string;
                key: string;
                placeholder?: string | undefined;
                optional?: boolean | undefined;
            }[] | undefined;
            prerequisites?: string[] | undefined;
        }[];
        tags?: string[] | undefined;
        parameters?: {
            name: string;
            key: string;
            placeholder?: string | undefined;
            optional?: boolean | undefined;
        }[] | undefined;
        prerequisites?: string[] | undefined;
        author?: string | undefined;
        authorUrl?: string | undefined;
    }[] | undefined;
    providerProfiles?: Record<string, {
        id?: string | undefined;
        reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "disable" | undefined;
        codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
        codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
        codeIndexOpenAiKey?: string | undefined;
        codeIndexQdrantApiKey?: string | undefined;
        codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
        codebaseIndexGeminiApiKey?: string | undefined;
        codebaseIndexMistralApiKey?: string | undefined;
        codebaseIndexVercelAiGatewayApiKey?: string | undefined;
        codebaseIndexOpenRouterApiKey?: string | undefined;
        apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "roo" | "chutes" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "minimax" | "openai-native" | "qwen-code" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
        includeMaxTokens?: boolean | undefined;
        diffEnabled?: boolean | undefined;
        todoListEnabled?: boolean | undefined;
        fuzzyMatchThreshold?: number | undefined;
        modelTemperature?: number | null | undefined;
        rateLimitSeconds?: number | undefined;
        consecutiveMistakeLimit?: number | undefined;
        enableReasoningEffort?: boolean | undefined;
        modelMaxTokens?: number | undefined;
        modelMaxThinkingTokens?: number | undefined;
        verbosity?: "low" | "medium" | "high" | undefined;
        toolProtocol?: "xml" | "native" | undefined;
        apiModelId?: string | undefined;
        apiKey?: string | undefined;
        anthropicBaseUrl?: string | undefined;
        anthropicUseAuthToken?: boolean | undefined;
        anthropicBeta1MContext?: boolean | undefined;
        claudeCodePath?: string | undefined;
        claudeCodeMaxOutputTokens?: number | undefined;
        glamaModelId?: string | undefined;
        glamaApiKey?: string | undefined;
        openRouterApiKey?: string | undefined;
        openRouterModelId?: string | undefined;
        openRouterBaseUrl?: string | undefined;
        openRouterSpecificProvider?: string | undefined;
        openRouterUseMiddleOutTransform?: boolean | undefined;
        awsAccessKey?: string | undefined;
        awsSecretKey?: string | undefined;
        awsSessionToken?: string | undefined;
        awsRegion?: string | undefined;
        awsUseCrossRegionInference?: boolean | undefined;
        awsUseGlobalInference?: boolean | undefined;
        awsUsePromptCache?: boolean | undefined;
        awsProfile?: string | undefined;
        awsUseProfile?: boolean | undefined;
        awsApiKey?: string | undefined;
        awsUseApiKey?: boolean | undefined;
        awsCustomArn?: string | undefined;
        awsModelContextWindow?: number | undefined;
        awsBedrockEndpointEnabled?: boolean | undefined;
        awsBedrockEndpoint?: string | undefined;
        awsBedrock1MContext?: boolean | undefined;
        vertexKeyFile?: string | undefined;
        vertexJsonCredentials?: string | undefined;
        vertexProjectId?: string | undefined;
        vertexRegion?: string | undefined;
        enableUrlContext?: boolean | undefined;
        enableGrounding?: boolean | undefined;
        openAiBaseUrl?: string | undefined;
        openAiApiKey?: string | undefined;
        openAiLegacyFormat?: boolean | undefined;
        openAiR1FormatEnabled?: boolean | undefined;
        openAiModelId?: string | undefined;
        openAiCustomModelInfo?: {
            contextWindow: number;
            supportsPromptCache: boolean;
            maxTokens?: number | null | undefined;
            maxThinkingTokens?: number | null | undefined;
            supportsImages?: boolean | undefined;
            promptCacheRetention?: "in_memory" | "24h" | undefined;
            supportsVerbosity?: boolean | undefined;
            supportsReasoningBudget?: boolean | undefined;
            supportsReasoningBinary?: boolean | undefined;
            supportsTemperature?: boolean | undefined;
            defaultTemperature?: number | undefined;
            requiredReasoningBudget?: boolean | undefined;
            supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
            requiredReasoningEffort?: boolean | undefined;
            preserveReasoning?: boolean | undefined;
            supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
            inputPrice?: number | undefined;
            outputPrice?: number | undefined;
            cacheWritesPrice?: number | undefined;
            cacheReadsPrice?: number | undefined;
            description?: string | undefined;
            reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
            minTokensPerCachePoint?: number | undefined;
            maxCachePoints?: number | undefined;
            cachableFields?: string[] | undefined;
            deprecated?: boolean | undefined;
            isFree?: boolean | undefined;
            supportsNativeTools?: boolean | undefined;
            defaultToolProtocol?: "xml" | "native" | undefined;
            tiers?: {
                contextWindow: number;
                name?: "default" | "flex" | "priority" | undefined;
                inputPrice?: number | undefined;
                outputPrice?: number | undefined;
                cacheWritesPrice?: number | undefined;
                cacheReadsPrice?: number | undefined;
            }[] | undefined;
        } | null | undefined;
        openAiUseAzure?: boolean | undefined;
        azureApiVersion?: string | undefined;
        openAiStreamingEnabled?: boolean | undefined;
        openAiHostHeader?: string | undefined;
        openAiHeaders?: Record<string, string> | undefined;
        ollamaModelId?: string | undefined;
        ollamaBaseUrl?: string | undefined;
        ollamaApiKey?: string | undefined;
        ollamaNumCtx?: number | undefined;
        vsCodeLmModelSelector?: {
            id?: string | undefined;
            family?: string | undefined;
            version?: string | undefined;
            vendor?: string | undefined;
        } | undefined;
        lmStudioModelId?: string | undefined;
        lmStudioBaseUrl?: string | undefined;
        lmStudioDraftModelId?: string | undefined;
        lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
        geminiApiKey?: string | undefined;
        googleGeminiBaseUrl?: string | undefined;
        geminiCliOAuthPath?: string | undefined;
        geminiCliProjectId?: string | undefined;
        openAiNativeApiKey?: string | undefined;
        openAiNativeBaseUrl?: string | undefined;
        openAiNativeServiceTier?: "default" | "flex" | "priority" | undefined;
        mistralApiKey?: string | undefined;
        mistralCodestralUrl?: string | undefined;
        deepSeekBaseUrl?: string | undefined;
        deepSeekApiKey?: string | undefined;
        deepInfraBaseUrl?: string | undefined;
        deepInfraApiKey?: string | undefined;
        deepInfraModelId?: string | undefined;
        doubaoBaseUrl?: string | undefined;
        doubaoApiKey?: string | undefined;
        moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined;
        moonshotApiKey?: string | undefined;
        minimaxBaseUrl?: "https://api.minimax.io/v1" | "https://api.minimaxi.com/v1" | undefined;
        minimaxApiKey?: string | undefined;
        unboundApiKey?: string | undefined;
        unboundModelId?: string | undefined;
        requestyBaseUrl?: string | undefined;
        requestyApiKey?: string | undefined;
        requestyModelId?: string | undefined;
        fakeAi?: unknown;
        xaiApiKey?: string | undefined;
        groqApiKey?: string | undefined;
        huggingFaceApiKey?: string | undefined;
        huggingFaceModelId?: string | undefined;
        huggingFaceInferenceProvider?: string | undefined;
        chutesApiKey?: string | undefined;
        litellmBaseUrl?: string | undefined;
        litellmApiKey?: string | undefined;
        litellmModelId?: string | undefined;
        litellmUsePromptCache?: boolean | undefined;
        cerebrasApiKey?: string | undefined;
        sambaNovaApiKey?: string | undefined;
        zaiApiKey?: string | undefined;
        zaiApiLine?: "international_coding" | "china_coding" | undefined;
        fireworksApiKey?: string | undefined;
        featherlessApiKey?: string | undefined;
        ioIntelligenceModelId?: string | undefined;
        ioIntelligenceApiKey?: string | undefined;
        qwenCodeOauthPath?: string | undefined;
        vercelAiGatewayApiKey?: string | undefined;
        vercelAiGatewayModelId?: string | undefined;
    }> | undefined;
}>;
type OrganizationSettings = z.infer<typeof organizationSettingsSchema>;
/**
 * User Settings Schemas
 */
declare const userFeaturesSchema: z.ZodObject<{
    roomoteControlEnabled: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
    roomoteControlEnabled?: boolean | undefined;
}, {
    roomoteControlEnabled?: boolean | undefined;
}>;
type UserFeatures = z.infer<typeof userFeaturesSchema>;
declare const userSettingsConfigSchema: z.ZodObject<{
    extensionBridgeEnabled: z.ZodOptional<z.ZodBoolean>;
    taskSyncEnabled: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
    extensionBridgeEnabled?: boolean | undefined;
    taskSyncEnabled?: boolean | undefined;
}, {
    extensionBridgeEnabled?: boolean | undefined;
    taskSyncEnabled?: boolean | undefined;
}>;
type UserSettingsConfig = z.infer<typeof userSettingsConfigSchema>;
declare const userSettingsDataSchema: z.ZodObject<{
    features: z.ZodObject<{
        roomoteControlEnabled: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        roomoteControlEnabled?: boolean | undefined;
    }, {
        roomoteControlEnabled?: boolean | undefined;
    }>;
    settings: z.ZodObject<{
        extensionBridgeEnabled: z.ZodOptional<z.ZodBoolean>;
        taskSyncEnabled: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        extensionBridgeEnabled?: boolean | undefined;
        taskSyncEnabled?: boolean | undefined;
    }, {
        extensionBridgeEnabled?: boolean | undefined;
        taskSyncEnabled?: boolean | undefined;
    }>;
    version: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    version: number;
    features: {
        roomoteControlEnabled?: boolean | undefined;
    };
    settings: {
        extensionBridgeEnabled?: boolean | undefined;
        taskSyncEnabled?: boolean | undefined;
    };
}, {
    version: number;
    features: {
        roomoteControlEnabled?: boolean | undefined;
    };
    settings: {
        extensionBridgeEnabled?: boolean | undefined;
        taskSyncEnabled?: boolean | undefined;
    };
}>;
type UserSettingsData = z.infer<typeof userSettingsDataSchema>;
/**
 * Constants
 */
declare const ORGANIZATION_ALLOW_ALL: OrganizationAllowList;
declare const ORGANIZATION_DEFAULT: OrganizationSettings;
/**
 * ShareVisibility
 */
type ShareVisibility = "organization" | "public";
/**
 * ShareResponse
 */
declare const shareResponseSchema: z.ZodObject<{
    success: z.ZodBoolean;
    shareUrl: z.ZodOptional<z.ZodString>;
    error: z.ZodOptional<z.ZodString>;
    isNewShare: z.ZodOptional<z.ZodBoolean>;
    manageUrl: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    success: boolean;
    error?: string | undefined;
    shareUrl?: string | undefined;
    isNewShare?: boolean | undefined;
    manageUrl?: string | undefined;
}, {
    success: boolean;
    error?: string | undefined;
    shareUrl?: string | undefined;
    isNewShare?: boolean | undefined;
    manageUrl?: string | undefined;
}>;
type ShareResponse = z.infer<typeof shareResponseSchema>;
/**
 * AuthService
 */
type AuthState = "initializing" | "logged-out" | "active-session" | "attempting-session" | "inactive-session";
interface AuthService extends EventEmitter$1<AuthServiceEvents> {
    initialize(): Promise<void>;
    broadcast(): void;
    login(landingPageSlug?: string): Promise<void>;
    logout(): Promise<void>;
    handleCallback(code: string | null, state: string | null, organizationId?: string | null): Promise<void>;
    switchOrganization(organizationId: string | null): Promise<void>;
    getState(): AuthState;
    isAuthenticated(): boolean;
    hasActiveSession(): boolean;
    hasOrIsAcquiringActiveSession(): boolean;
    getSessionToken(): string | undefined;
    getUserInfo(): CloudUserInfo | null;
    getStoredOrganizationId(): string | null;
    getOrganizationMemberships(): Promise<CloudOrganizationMembership[]>;
}
/**
 * AuthServiceEvents
 */
interface AuthServiceEvents {
    "auth-state-changed": [
        data: {
            state: AuthState;
            previousState: AuthState;
        }
    ];
    "user-info": [data: {
        userInfo: CloudUserInfo;
    }];
}
/**
 * SettingsService
 */
/**
 * Interface for settings services that provide organization settings
 */
interface SettingsService {
    /**
     * Get the organization allow list
     * @returns The organization allow list or default if none available
     */
    getAllowList(): OrganizationAllowList;
    /**
     * Get the current organization settings
     * @returns The organization settings or undefined if none available
     */
    getSettings(): OrganizationSettings | undefined;
    /**
     * Get the current user settings
     * @returns The user settings data or undefined if none available
     */
    getUserSettings(): UserSettingsData | undefined;
    /**
     * Get the current user features
     * @returns The user features or empty object if none available
     */
    getUserFeatures(): UserFeatures;
    /**
     * Get the current user settings configuration
     * @returns The user settings configuration or empty object if none available
     */
    getUserSettingsConfig(): UserSettingsConfig;
    /**
     * Update user settings with partial configuration
     * @param settings Partial user settings configuration to update
     * @returns Promise that resolves to true if successful, false otherwise
     */
    updateUserSettings(settings: Partial<UserSettingsConfig>): Promise<boolean>;
    /**
     * Determines if task sync/recording is enabled based on organization and user settings
     * Organization settings take precedence over user settings.
     * User settings default to true if unspecified.
     * @returns true if task sync is enabled, false otherwise
     */
    isTaskSyncEnabled(): boolean;
    /**
     * Dispose of the settings service and clean up resources
     */
    dispose(): void;
}
/**
 * SettingsServiceEvents
 */
interface SettingsServiceEvents {
    "settings-updated": [data: Record<string, never>];
}
/**
 * CloudServiceEvents
 */
type CloudServiceEvents = AuthServiceEvents & SettingsServiceEvents;
/**
 * ConnectionState
 */
declare enum ConnectionState {
    DISCONNECTED = "disconnected",
    CONNECTING = "connecting",
    CONNECTED = "connected",
    RETRYING = "retrying",
    FAILED = "failed"
}
/**
 * RetryConfig
 */
interface RetryConfig {
    maxInitialAttempts: number;
    initialDelay: number;
    maxDelay: number;
    backoffMultiplier: number;
}
/**
 * Constants
 */
declare const HEARTBEAT_INTERVAL_MS = 20000;
declare const INSTANCE_TTL_SECONDS = 60;
/**
 * ExtensionTask
 */
declare const extensionTaskSchema: z.ZodObject<{
    task: z.ZodOptional<z.ZodString>;
    images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    taskId: z.ZodString;
    taskStatus: z.ZodNativeEnum<typeof TaskStatus>;
    taskAsk: z.ZodOptional<z.ZodObject<{
        ts: z.ZodNumber;
        type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
        ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
        say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
        text: z.ZodOptional<z.ZodString>;
        images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        partial: z.ZodOptional<z.ZodBoolean>;
        reasoning: z.ZodOptional<z.ZodString>;
        conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
        checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        progressStatus: z.ZodOptional<z.ZodObject<{
            icon: z.ZodOptional<z.ZodString>;
            text: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            text?: string | undefined;
            icon?: string | undefined;
        }, {
            text?: string | undefined;
            icon?: string | undefined;
        }>>;
        contextCondense: z.ZodOptional<z.ZodObject<{
            cost: z.ZodNumber;
            prevContextTokens: z.ZodNumber;
            newContextTokens: z.ZodNumber;
            summary: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            cost: number;
            prevContextTokens: number;
            newContextTokens: number;
            summary: string;
        }, {
            cost: number;
            prevContextTokens: number;
            newContextTokens: number;
            summary: string;
        }>>;
        isProtected: z.ZodOptional<z.ZodBoolean>;
        apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
        isAnswered: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        type: "ask" | "say";
        ts: number;
        text?: string | undefined;
        reasoning?: string | undefined;
        ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
        say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
        images?: string[] | undefined;
        partial?: boolean | undefined;
        conversationHistoryIndex?: number | undefined;
        checkpoint?: Record<string, unknown> | undefined;
        progressStatus?: {
            text?: string | undefined;
            icon?: string | undefined;
        } | undefined;
        contextCondense?: {
            cost: number;
            prevContextTokens: number;
            newContextTokens: number;
            summary: string;
        } | undefined;
        isProtected?: boolean | undefined;
        apiProtocol?: "openai" | "anthropic" | undefined;
        isAnswered?: boolean | undefined;
    }, {
        type: "ask" | "say";
        ts: number;
        text?: string | undefined;
        reasoning?: string | undefined;
        ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
        say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
        images?: string[] | undefined;
        partial?: boolean | undefined;
        conversationHistoryIndex?: number | undefined;
        checkpoint?: Record<string, unknown> | undefined;
        progressStatus?: {
            text?: string | undefined;
            icon?: string | undefined;
        } | undefined;
        contextCondense?: {
            cost: number;
            prevContextTokens: number;
            newContextTokens: number;
            summary: string;
        } | undefined;
        isProtected?: boolean | undefined;
        apiProtocol?: "openai" | "anthropic" | undefined;
        isAnswered?: boolean | undefined;
    }>>;
    queuedMessages: z.ZodOptional<z.ZodArray<z.ZodObject<{
        timestamp: z.ZodNumber;
        id: z.ZodString;
        text: z.ZodString;
        images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    }, "strip", z.ZodTypeAny, {
        text: string;
        timestamp: number;
        id: string;
        images?: string[] | undefined;
    }, {
        text: string;
        timestamp: number;
        id: string;
        images?: string[] | undefined;
    }>, "many">>;
    parentTaskId: z.ZodOptional<z.ZodString>;
    childTaskId: z.ZodOptional<z.ZodString>;
    tokenUsage: z.ZodOptional<z.ZodObject<{
        totalTokensIn: z.ZodNumber;
        totalTokensOut: z.ZodNumber;
        totalCacheWrites: z.ZodOptional<z.ZodNumber>;
        totalCacheReads: z.ZodOptional<z.ZodNumber>;
        totalCost: z.ZodNumber;
        contextTokens: z.ZodNumber;
    }, "strip", z.ZodTypeAny, {
        totalTokensIn: number;
        totalTokensOut: number;
        totalCost: number;
        contextTokens: number;
        totalCacheWrites?: number | undefined;
        totalCacheReads?: number | undefined;
    }, {
        totalTokensIn: number;
        totalTokensOut: number;
        totalCost: number;
        contextTokens: number;
        totalCacheWrites?: number | undefined;
        totalCacheReads?: number | undefined;
    }>>;
}, "strip", z.ZodTypeAny, {
    taskId: string;
    taskStatus: TaskStatus;
    images?: string[] | undefined;
    parentTaskId?: string | undefined;
    task?: string | undefined;
    taskAsk?: {
        type: "ask" | "say";
        ts: number;
        text?: string | undefined;
        reasoning?: string | undefined;
        ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
        say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
        images?: string[] | undefined;
        partial?: boolean | undefined;
        conversationHistoryIndex?: number | undefined;
        checkpoint?: Record<string, unknown> | undefined;
        progressStatus?: {
            text?: string | undefined;
            icon?: string | undefined;
        } | undefined;
        contextCondense?: {
            cost: number;
            prevContextTokens: number;
            newContextTokens: number;
            summary: string;
        } | undefined;
        isProtected?: boolean | undefined;
        apiProtocol?: "openai" | "anthropic" | undefined;
        isAnswered?: boolean | undefined;
    } | undefined;
    queuedMessages?: {
        text: string;
        timestamp: number;
        id: string;
        images?: string[] | undefined;
    }[] | undefined;
    childTaskId?: string | undefined;
    tokenUsage?: {
        totalTokensIn: number;
        totalTokensOut: number;
        totalCost: number;
        contextTokens: number;
        totalCacheWrites?: number | undefined;
        totalCacheReads?: number | undefined;
    } | undefined;
}, {
    taskId: string;
    taskStatus: TaskStatus;
    images?: string[] | undefined;
    parentTaskId?: string | undefined;
    task?: string | undefined;
    taskAsk?: {
        type: "ask" | "say";
        ts: number;
        text?: string | undefined;
        reasoning?: string | undefined;
        ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
        say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
        images?: string[] | undefined;
        partial?: boolean | undefined;
        conversationHistoryIndex?: number | undefined;
        checkpoint?: Record<string, unknown> | undefined;
        progressStatus?: {
            text?: string | undefined;
            icon?: string | undefined;
        } | undefined;
        contextCondense?: {
            cost: number;
            prevContextTokens: number;
            newContextTokens: number;
            summary: string;
        } | undefined;
        isProtected?: boolean | undefined;
        apiProtocol?: "openai" | "anthropic" | undefined;
        isAnswered?: boolean | undefined;
    } | undefined;
    queuedMessages?: {
        text: string;
        timestamp: number;
        id: string;
        images?: string[] | undefined;
    }[] | undefined;
    childTaskId?: string | undefined;
    tokenUsage?: {
        totalTokensIn: number;
        totalTokensOut: number;
        totalCost: number;
        contextTokens: number;
        totalCacheWrites?: number | undefined;
        totalCacheReads?: number | undefined;
    } | undefined;
}>;
type ExtensionTask = z.infer<typeof extensionTaskSchema>;
/**
 * ExtensionInstance
 */
declare const extensionInstanceSchema: z.ZodObject<{
    instanceId: z.ZodString;
    userId: z.ZodString;
    workspacePath: z.ZodString;
    appProperties: z.ZodObject<{
        appName: z.ZodString;
        appVersion: z.ZodString;
        vscodeVersion: z.ZodString;
        platform: z.ZodString;
        editorName: z.ZodString;
        hostname: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        appName: string;
        appVersion: string;
        vscodeVersion: string;
        platform: string;
        editorName: string;
        hostname?: string | undefined;
    }, {
        appName: string;
        appVersion: string;
        vscodeVersion: string;
        platform: string;
        editorName: string;
        hostname?: string | undefined;
    }>;
    gitProperties: z.ZodOptional<z.ZodObject<{
        repositoryUrl: z.ZodOptional<z.ZodString>;
        repositoryName: z.ZodOptional<z.ZodString>;
        defaultBranch: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        repositoryUrl?: string | undefined;
        repositoryName?: string | undefined;
        defaultBranch?: string | undefined;
    }, {
        repositoryUrl?: string | undefined;
        repositoryName?: string | undefined;
        defaultBranch?: string | undefined;
    }>>;
    lastHeartbeat: z.ZodNumber;
    task: z.ZodObject<{
        task: z.ZodOptional<z.ZodString>;
        images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        taskId: z.ZodString;
        taskStatus: z.ZodNativeEnum<typeof TaskStatus>;
        taskAsk: z.ZodOptional<z.ZodObject<{
            ts: z.ZodNumber;
            type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
            ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
            say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
            text: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            partial: z.ZodOptional<z.ZodBoolean>;
            reasoning: z.ZodOptional<z.ZodString>;
            conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
            checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            progressStatus: z.ZodOptional<z.ZodObject<{
                icon: z.ZodOptional<z.ZodString>;
                text: z.ZodOptional<z.ZodString>;
            }, "strip", z.ZodTypeAny, {
                text?: string | undefined;
                icon?: string | undefined;
            }, {
                text?: string | undefined;
                icon?: string | undefined;
            }>>;
            contextCondense: z.ZodOptional<z.ZodObject<{
                cost: z.ZodNumber;
                prevContextTokens: z.ZodNumber;
                newContextTokens: z.ZodNumber;
                summary: z.ZodString;
            }, "strip", z.ZodTypeAny, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }>>;
            isProtected: z.ZodOptional<z.ZodBoolean>;
            apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
            isAnswered: z.ZodOptional<z.ZodBoolean>;
        }, "strip", z.ZodTypeAny, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }>>;
        queuedMessages: z.ZodOptional<z.ZodArray<z.ZodObject<{
            timestamp: z.ZodNumber;
            id: z.ZodString;
            text: z.ZodString;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        }, "strip", z.ZodTypeAny, {
            text: string;
            timestamp: number;
            id: string;
            images?: string[] | undefined;
        }, {
            text: string;
            timestamp: number;
            id: string;
            images?: string[] | undefined;
        }>, "many">>;
        parentTaskId: z.ZodOptional<z.ZodString>;
        childTaskId: z.ZodOptional<z.ZodString>;
        tokenUsage: z.ZodOptional<z.ZodObject<{
            totalTokensIn: z.ZodNumber;
            totalTokensOut: z.ZodNumber;
            totalCacheWrites: z.ZodOptional<z.ZodNumber>;
            totalCacheReads: z.ZodOptional<z.ZodNumber>;
            totalCost: z.ZodNumber;
            contextTokens: z.ZodNumber;
        }, "strip", z.ZodTypeAny, {
            totalTokensIn: number;
            totalTokensOut: number;
            totalCost: number;
            contextTokens: number;
            totalCacheWrites?: number | undefined;
            totalCacheReads?: number | undefined;
        }, {
            totalTokensIn: number;
            totalTokensOut: number;
            totalCost: number;
            contextTokens: number;
            totalCacheWrites?: number | undefined;
            totalCacheReads?: number | undefined;
        }>>;
    }, "strip", z.ZodTypeAny, {
        taskId: string;
        taskStatus: TaskStatus;
        images?: string[] | undefined;
        parentTaskId?: string | undefined;
        task?: string | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        queuedMessages?: {
            text: string;
            timestamp: number;
            id: string;
            images?: string[] | undefined;
        }[] | undefined;
        childTaskId?: string | undefined;
        tokenUsage?: {
            totalTokensIn: number;
            totalTokensOut: number;
            totalCost: number;
            contextTokens: number;
            totalCacheWrites?: number | undefined;
            totalCacheReads?: number | undefined;
        } | undefined;
    }, {
        taskId: string;
        taskStatus: TaskStatus;
        images?: string[] | undefined;
        parentTaskId?: string | undefined;
        task?: string | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        queuedMessages?: {
            text: string;
            timestamp: number;
            id: string;
            images?: string[] | undefined;
        }[] | undefined;
        childTaskId?: string | undefined;
        tokenUsage?: {
            totalTokensIn: number;
            totalTokensOut: number;
            totalCost: number;
            contextTokens: number;
            totalCacheWrites?: number | undefined;
            totalCacheReads?: number | undefined;
        } | undefined;
    }>;
    taskAsk: z.ZodOptional<z.ZodObject<{
        ts: z.ZodNumber;
        type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
        ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
        say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
        text: z.ZodOptional<z.ZodString>;
        images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        partial: z.ZodOptional<z.ZodBoolean>;
        reasoning: z.ZodOptional<z.ZodString>;
        conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
        checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        progressStatus: z.ZodOptional<z.ZodObject<{
            icon: z.ZodOptional<z.ZodString>;
            text: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            text?: string | undefined;
            icon?: string | undefined;
        }, {
            text?: string | undefined;
            icon?: string | undefined;
        }>>;
        contextCondense: z.ZodOptional<z.ZodObject<{
            cost: z.ZodNumber;
            prevContextTokens: z.ZodNumber;
            newContextTokens: z.ZodNumber;
            summary: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            cost: number;
            prevContextTokens: number;
            newContextTokens: number;
            summary: string;
        }, {
            cost: number;
            prevContextTokens: number;
            newContextTokens: number;
            summary: string;
        }>>;
        isProtected: z.ZodOptional<z.ZodBoolean>;
        apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
        isAnswered: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        type: "ask" | "say";
        ts: number;
        text?: string | undefined;
        reasoning?: string | undefined;
        ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
        say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
        images?: string[] | undefined;
        partial?: boolean | undefined;
        conversationHistoryIndex?: number | undefined;
        checkpoint?: Record<string, unknown> | undefined;
        progressStatus?: {
            text?: string | undefined;
            icon?: string | undefined;
        } | undefined;
        contextCondense?: {
            cost: number;
            prevContextTokens: number;
            newContextTokens: number;
            summary: string;
        } | undefined;
        isProtected?: boolean | undefined;
        apiProtocol?: "openai" | "anthropic" | undefined;
        isAnswered?: boolean | undefined;
    }, {
        type: "ask" | "say";
        ts: number;
        text?: string | undefined;
        reasoning?: string | undefined;
        ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
        say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
        images?: string[] | undefined;
        partial?: boolean | undefined;
        conversationHistoryIndex?: number | undefined;
        checkpoint?: Record<string, unknown> | undefined;
        progressStatus?: {
            text?: string | undefined;
            icon?: string | undefined;
        } | undefined;
        contextCondense?: {
            cost: number;
            prevContextTokens: number;
            newContextTokens: number;
            summary: string;
        } | undefined;
        isProtected?: boolean | undefined;
        apiProtocol?: "openai" | "anthropic" | undefined;
        isAnswered?: boolean | undefined;
    }>>;
    taskHistory: z.ZodArray<z.ZodString, "many">;
    mode: z.ZodOptional<z.ZodString>;
    modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
        slug: z.ZodString;
        name: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        name: string;
        slug: string;
    }, {
        name: string;
        slug: string;
    }>, "many">>;
    providerProfile: z.ZodOptional<z.ZodString>;
    providerProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
        name: z.ZodString;
        provider: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        name: string;
        provider?: string | undefined;
    }, {
        name: string;
        provider?: string | undefined;
    }>, "many">>;
    isCloudAgent: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
    task: {
        taskId: string;
        taskStatus: TaskStatus;
        images?: string[] | undefined;
        parentTaskId?: string | undefined;
        task?: string | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        queuedMessages?: {
            text: string;
            timestamp: number;
            id: string;
            images?: string[] | undefined;
        }[] | undefined;
        childTaskId?: string | undefined;
        tokenUsage?: {
            totalTokensIn: number;
            totalTokensOut: number;
            totalCost: number;
            contextTokens: number;
            totalCacheWrites?: number | undefined;
            totalCacheReads?: number | undefined;
        } | undefined;
    };
    taskHistory: string[];
    instanceId: string;
    userId: string;
    workspacePath: string;
    appProperties: {
        appName: string;
        appVersion: string;
        vscodeVersion: string;
        platform: string;
        editorName: string;
        hostname?: string | undefined;
    };
    lastHeartbeat: number;
    modes?: {
        name: string;
        slug: string;
    }[] | undefined;
    mode?: string | undefined;
    providerProfiles?: {
        name: string;
        provider?: string | undefined;
    }[] | undefined;
    taskAsk?: {
        type: "ask" | "say";
        ts: number;
        text?: string | undefined;
        reasoning?: string | undefined;
        ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
        say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
        images?: string[] | undefined;
        partial?: boolean | undefined;
        conversationHistoryIndex?: number | undefined;
        checkpoint?: Record<string, unknown> | undefined;
        progressStatus?: {
            text?: string | undefined;
            icon?: string | undefined;
        } | undefined;
        contextCondense?: {
            cost: number;
            prevContextTokens: number;
            newContextTokens: number;
            summary: string;
        } | undefined;
        isProtected?: boolean | undefined;
        apiProtocol?: "openai" | "anthropic" | undefined;
        isAnswered?: boolean | undefined;
    } | undefined;
    gitProperties?: {
        repositoryUrl?: string | undefined;
        repositoryName?: string | undefined;
        defaultBranch?: string | undefined;
    } | undefined;
    providerProfile?: string | undefined;
    isCloudAgent?: boolean | undefined;
}, {
    task: {
        taskId: string;
        taskStatus: TaskStatus;
        images?: string[] | undefined;
        parentTaskId?: string | undefined;
        task?: string | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        queuedMessages?: {
            text: string;
            timestamp: number;
            id: string;
            images?: string[] | undefined;
        }[] | undefined;
        childTaskId?: string | undefined;
        tokenUsage?: {
            totalTokensIn: number;
            totalTokensOut: number;
            totalCost: number;
            contextTokens: number;
            totalCacheWrites?: number | undefined;
            totalCacheReads?: number | undefined;
        } | undefined;
    };
    taskHistory: string[];
    instanceId: string;
    userId: string;
    workspacePath: string;
    appProperties: {
        appName: string;
        appVersion: string;
        vscodeVersion: string;
        platform: string;
        editorName: string;
        hostname?: string | undefined;
    };
    lastHeartbeat: number;
    modes?: {
        name: string;
        slug: string;
    }[] | undefined;
    mode?: string | undefined;
    providerProfiles?: {
        name: string;
        provider?: string | undefined;
    }[] | undefined;
    taskAsk?: {
        type: "ask" | "say";
        ts: number;
        text?: string | undefined;
        reasoning?: string | undefined;
        ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
        say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
        images?: string[] | undefined;
        partial?: boolean | undefined;
        conversationHistoryIndex?: number | undefined;
        checkpoint?: Record<string, unknown> | undefined;
        progressStatus?: {
            text?: string | undefined;
            icon?: string | undefined;
        } | undefined;
        contextCondense?: {
            cost: number;
            prevContextTokens: number;
            newContextTokens: number;
            summary: string;
        } | undefined;
        isProtected?: boolean | undefined;
        apiProtocol?: "openai" | "anthropic" | undefined;
        isAnswered?: boolean | undefined;
    } | undefined;
    gitProperties?: {
        repositoryUrl?: string | undefined;
        repositoryName?: string | undefined;
        defaultBranch?: string | undefined;
    } | undefined;
    providerProfile?: string | undefined;
    isCloudAgent?: boolean | undefined;
}>;
type ExtensionInstance = z.infer<typeof extensionInstanceSchema>;
/**
 * ExtensionBridgeEvent
 */
declare enum ExtensionBridgeEventName {
    TaskCreated = "taskCreated",
    TaskStarted = "taskStarted",
    TaskCompleted = "taskCompleted",
    TaskAborted = "taskAborted",
    TaskFocused = "taskFocused",
    TaskUnfocused = "taskUnfocused",
    TaskActive = "taskActive",
    TaskInteractive = "taskInteractive",
    TaskResumable = "taskResumable",
    TaskIdle = "taskIdle",
    TaskPaused = "taskPaused",
    TaskUnpaused = "taskUnpaused",
    TaskSpawned = "taskSpawned",
    TaskUserMessage = "taskUserMessage",
    TaskTokenUsageUpdated = "taskTokenUsageUpdated",
    ModeChanged = "modeChanged",
    ProviderProfileChanged = "providerProfileChanged",
    InstanceRegistered = "instance_registered",
    InstanceUnregistered = "instance_unregistered",
    HeartbeatUpdated = "heartbeat_updated"
}
declare const extensionBridgeEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
    type: z.ZodLiteral<ExtensionBridgeEventName.TaskCreated>;
    instance: z.ZodObject<{
        instanceId: z.ZodString;
        userId: z.ZodString;
        workspacePath: z.ZodString;
        appProperties: z.ZodObject<{
            appName: z.ZodString;
            appVersion: z.ZodString;
            vscodeVersion: z.ZodString;
            platform: z.ZodString;
            editorName: z.ZodString;
            hostname: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }>;
        gitProperties: z.ZodOptional<z.ZodObject<{
            repositoryUrl: z.ZodOptional<z.ZodString>;
            repositoryName: z.ZodOptional<z.ZodString>;
            defaultBranch: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }>>;
        lastHeartbeat: z.ZodNumber;
        task: z.ZodObject<{
            task: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            taskId: z.ZodString;
            taskStatus: z.ZodNativeEnum<typeof TaskStatus>;
            taskAsk: z.ZodOptional<z.ZodObject<{
                ts: z.ZodNumber;
                type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
                ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
                say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
                text: z.ZodOptional<z.ZodString>;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
                partial: z.ZodOptional<z.ZodBoolean>;
                reasoning: z.ZodOptional<z.ZodString>;
                conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
                checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                progressStatus: z.ZodOptional<z.ZodObject<{
                    icon: z.ZodOptional<z.ZodString>;
                    text: z.ZodOptional<z.ZodString>;
                }, "strip", z.ZodTypeAny, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }>>;
                contextCondense: z.ZodOptional<z.ZodObject<{
                    cost: z.ZodNumber;
                    prevContextTokens: z.ZodNumber;
                    newContextTokens: z.ZodNumber;
                    summary: z.ZodString;
                }, "strip", z.ZodTypeAny, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }>>;
                isProtected: z.ZodOptional<z.ZodBoolean>;
                apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
                isAnswered: z.ZodOptional<z.ZodBoolean>;
            }, "strip", z.ZodTypeAny, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }>>;
            queuedMessages: z.ZodOptional<z.ZodArray<z.ZodObject<{
                timestamp: z.ZodNumber;
                id: z.ZodString;
                text: z.ZodString;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            }, "strip", z.ZodTypeAny, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }>, "many">>;
            parentTaskId: z.ZodOptional<z.ZodString>;
            childTaskId: z.ZodOptional<z.ZodString>;
            tokenUsage: z.ZodOptional<z.ZodObject<{
                totalTokensIn: z.ZodNumber;
                totalTokensOut: z.ZodNumber;
                totalCacheWrites: z.ZodOptional<z.ZodNumber>;
                totalCacheReads: z.ZodOptional<z.ZodNumber>;
                totalCost: z.ZodNumber;
                contextTokens: z.ZodNumber;
            }, "strip", z.ZodTypeAny, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }>>;
        }, "strip", z.ZodTypeAny, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }>;
        taskAsk: z.ZodOptional<z.ZodObject<{
            ts: z.ZodNumber;
            type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
            ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
            say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
            text: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            partial: z.ZodOptional<z.ZodBoolean>;
            reasoning: z.ZodOptional<z.ZodString>;
            conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
            checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            progressStatus: z.ZodOptional<z.ZodObject<{
                icon: z.ZodOptional<z.ZodString>;
                text: z.ZodOptional<z.ZodString>;
            }, "strip", z.ZodTypeAny, {
                text?: string | undefined;
                icon?: string | undefined;
            }, {
                text?: string | undefined;
                icon?: string | undefined;
            }>>;
            contextCondense: z.ZodOptional<z.ZodObject<{
                cost: z.ZodNumber;
                prevContextTokens: z.ZodNumber;
                newContextTokens: z.ZodNumber;
                summary: z.ZodString;
            }, "strip", z.ZodTypeAny, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }>>;
            isProtected: z.ZodOptional<z.ZodBoolean>;
            apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
            isAnswered: z.ZodOptional<z.ZodBoolean>;
        }, "strip", z.ZodTypeAny, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }>>;
        taskHistory: z.ZodArray<z.ZodString, "many">;
        mode: z.ZodOptional<z.ZodString>;
        modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
            slug: z.ZodString;
            name: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            name: string;
            slug: string;
        }, {
            name: string;
            slug: string;
        }>, "many">>;
        providerProfile: z.ZodOptional<z.ZodString>;
        providerProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
            name: z.ZodString;
            provider: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            name: string;
            provider?: string | undefined;
        }, {
            name: string;
            provider?: string | undefined;
        }>, "many">>;
        isCloudAgent: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }>;
    timestamp: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    type: ExtensionBridgeEventName.TaskCreated;
    timestamp: number;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}, {
    type: ExtensionBridgeEventName.TaskCreated;
    timestamp: number;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}>, z.ZodObject<{
    type: z.ZodLiteral<ExtensionBridgeEventName.TaskStarted>;
    instance: z.ZodObject<{
        instanceId: z.ZodString;
        userId: z.ZodString;
        workspacePath: z.ZodString;
        appProperties: z.ZodObject<{
            appName: z.ZodString;
            appVersion: z.ZodString;
            vscodeVersion: z.ZodString;
            platform: z.ZodString;
            editorName: z.ZodString;
            hostname: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }>;
        gitProperties: z.ZodOptional<z.ZodObject<{
            repositoryUrl: z.ZodOptional<z.ZodString>;
            repositoryName: z.ZodOptional<z.ZodString>;
            defaultBranch: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }>>;
        lastHeartbeat: z.ZodNumber;
        task: z.ZodObject<{
            task: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            taskId: z.ZodString;
            taskStatus: z.ZodNativeEnum<typeof TaskStatus>;
            taskAsk: z.ZodOptional<z.ZodObject<{
                ts: z.ZodNumber;
                type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
                ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
                say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
                text: z.ZodOptional<z.ZodString>;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
                partial: z.ZodOptional<z.ZodBoolean>;
                reasoning: z.ZodOptional<z.ZodString>;
                conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
                checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                progressStatus: z.ZodOptional<z.ZodObject<{
                    icon: z.ZodOptional<z.ZodString>;
                    text: z.ZodOptional<z.ZodString>;
                }, "strip", z.ZodTypeAny, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }>>;
                contextCondense: z.ZodOptional<z.ZodObject<{
                    cost: z.ZodNumber;
                    prevContextTokens: z.ZodNumber;
                    newContextTokens: z.ZodNumber;
                    summary: z.ZodString;
                }, "strip", z.ZodTypeAny, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }>>;
                isProtected: z.ZodOptional<z.ZodBoolean>;
                apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
                isAnswered: z.ZodOptional<z.ZodBoolean>;
            }, "strip", z.ZodTypeAny, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }>>;
            queuedMessages: z.ZodOptional<z.ZodArray<z.ZodObject<{
                timestamp: z.ZodNumber;
                id: z.ZodString;
                text: z.ZodString;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            }, "strip", z.ZodTypeAny, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }>, "many">>;
            parentTaskId: z.ZodOptional<z.ZodString>;
            childTaskId: z.ZodOptional<z.ZodString>;
            tokenUsage: z.ZodOptional<z.ZodObject<{
                totalTokensIn: z.ZodNumber;
                totalTokensOut: z.ZodNumber;
                totalCacheWrites: z.ZodOptional<z.ZodNumber>;
                totalCacheReads: z.ZodOptional<z.ZodNumber>;
                totalCost: z.ZodNumber;
                contextTokens: z.ZodNumber;
            }, "strip", z.ZodTypeAny, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }>>;
        }, "strip", z.ZodTypeAny, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }>;
        taskAsk: z.ZodOptional<z.ZodObject<{
            ts: z.ZodNumber;
            type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
            ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
            say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
            text: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            partial: z.ZodOptional<z.ZodBoolean>;
            reasoning: z.ZodOptional<z.ZodString>;
            conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
            checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            progressStatus: z.ZodOptional<z.ZodObject<{
                icon: z.ZodOptional<z.ZodString>;
                text: z.ZodOptional<z.ZodString>;
            }, "strip", z.ZodTypeAny, {
                text?: string | undefined;
                icon?: string | undefined;
            }, {
                text?: string | undefined;
                icon?: string | undefined;
            }>>;
            contextCondense: z.ZodOptional<z.ZodObject<{
                cost: z.ZodNumber;
                prevContextTokens: z.ZodNumber;
                newContextTokens: z.ZodNumber;
                summary: z.ZodString;
            }, "strip", z.ZodTypeAny, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }>>;
            isProtected: z.ZodOptional<z.ZodBoolean>;
            apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
            isAnswered: z.ZodOptional<z.ZodBoolean>;
        }, "strip", z.ZodTypeAny, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }>>;
        taskHistory: z.ZodArray<z.ZodString, "many">;
        mode: z.ZodOptional<z.ZodString>;
        modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
            slug: z.ZodString;
            name: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            name: string;
            slug: string;
        }, {
            name: string;
            slug: string;
        }>, "many">>;
        providerProfile: z.ZodOptional<z.ZodString>;
        providerProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
            name: z.ZodString;
            provider: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            name: string;
            provider?: string | undefined;
        }, {
            name: string;
            provider?: string | undefined;
        }>, "many">>;
        isCloudAgent: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }>;
    timestamp: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    type: ExtensionBridgeEventName.TaskStarted;
    timestamp: number;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}, {
    type: ExtensionBridgeEventName.TaskStarted;
    timestamp: number;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}>, z.ZodObject<{
    type: z.ZodLiteral<ExtensionBridgeEventName.TaskCompleted>;
    instance: z.ZodObject<{
        instanceId: z.ZodString;
        userId: z.ZodString;
        workspacePath: z.ZodString;
        appProperties: z.ZodObject<{
            appName: z.ZodString;
            appVersion: z.ZodString;
            vscodeVersion: z.ZodString;
            platform: z.ZodString;
            editorName: z.ZodString;
            hostname: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }>;
        gitProperties: z.ZodOptional<z.ZodObject<{
            repositoryUrl: z.ZodOptional<z.ZodString>;
            repositoryName: z.ZodOptional<z.ZodString>;
            defaultBranch: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }>>;
        lastHeartbeat: z.ZodNumber;
        task: z.ZodObject<{
            task: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            taskId: z.ZodString;
            taskStatus: z.ZodNativeEnum<typeof TaskStatus>;
            taskAsk: z.ZodOptional<z.ZodObject<{
                ts: z.ZodNumber;
                type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
                ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
                say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
                text: z.ZodOptional<z.ZodString>;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
                partial: z.ZodOptional<z.ZodBoolean>;
                reasoning: z.ZodOptional<z.ZodString>;
                conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
                checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                progressStatus: z.ZodOptional<z.ZodObject<{
                    icon: z.ZodOptional<z.ZodString>;
                    text: z.ZodOptional<z.ZodString>;
                }, "strip", z.ZodTypeAny, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }>>;
                contextCondense: z.ZodOptional<z.ZodObject<{
                    cost: z.ZodNumber;
                    prevContextTokens: z.ZodNumber;
                    newContextTokens: z.ZodNumber;
                    summary: z.ZodString;
                }, "strip", z.ZodTypeAny, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }>>;
                isProtected: z.ZodOptional<z.ZodBoolean>;
                apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
                isAnswered: z.ZodOptional<z.ZodBoolean>;
            }, "strip", z.ZodTypeAny, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }>>;
            queuedMessages: z.ZodOptional<z.ZodArray<z.ZodObject<{
                timestamp: z.ZodNumber;
                id: z.ZodString;
                text: z.ZodString;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            }, "strip", z.ZodTypeAny, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }>, "many">>;
            parentTaskId: z.ZodOptional<z.ZodString>;
            childTaskId: z.ZodOptional<z.ZodString>;
            tokenUsage: z.ZodOptional<z.ZodObject<{
                totalTokensIn: z.ZodNumber;
                totalTokensOut: z.ZodNumber;
                totalCacheWrites: z.ZodOptional<z.ZodNumber>;
                totalCacheReads: z.ZodOptional<z.ZodNumber>;
                totalCost: z.ZodNumber;
                contextTokens: z.ZodNumber;
            }, "strip", z.ZodTypeAny, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }>>;
        }, "strip", z.ZodTypeAny, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }>;
        taskAsk: z.ZodOptional<z.ZodObject<{
            ts: z.ZodNumber;
            type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
            ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
            say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
            text: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            partial: z.ZodOptional<z.ZodBoolean>;
            reasoning: z.ZodOptional<z.ZodString>;
            conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
            checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            progressStatus: z.ZodOptional<z.ZodObject<{
                icon: z.ZodOptional<z.ZodString>;
                text: z.ZodOptional<z.ZodString>;
            }, "strip", z.ZodTypeAny, {
                text?: string | undefined;
                icon?: string | undefined;
            }, {
                text?: string | undefined;
                icon?: string | undefined;
            }>>;
            contextCondense: z.ZodOptional<z.ZodObject<{
                cost: z.ZodNumber;
                prevContextTokens: z.ZodNumber;
                newContextTokens: z.ZodNumber;
                summary: z.ZodString;
            }, "strip", z.ZodTypeAny, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }>>;
            isProtected: z.ZodOptional<z.ZodBoolean>;
            apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
            isAnswered: z.ZodOptional<z.ZodBoolean>;
        }, "strip", z.ZodTypeAny, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }>>;
        taskHistory: z.ZodArray<z.ZodString, "many">;
        mode: z.ZodOptional<z.ZodString>;
        modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
            slug: z.ZodString;
            name: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            name: string;
            slug: string;
        }, {
            name: string;
            slug: string;
        }>, "many">>;
        providerProfile: z.ZodOptional<z.ZodString>;
        providerProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
            name: z.ZodString;
            provider: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            name: string;
            provider?: string | undefined;
        }, {
            name: string;
            provider?: string | undefined;
        }>, "many">>;
        isCloudAgent: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }>;
    timestamp: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    type: ExtensionBridgeEventName.TaskCompleted;
    timestamp: number;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}, {
    type: ExtensionBridgeEventName.TaskCompleted;
    timestamp: number;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}>, z.ZodObject<{
    type: z.ZodLiteral<ExtensionBridgeEventName.TaskAborted>;
    instance: z.ZodObject<{
        instanceId: z.ZodString;
        userId: z.ZodString;
        workspacePath: z.ZodString;
        appProperties: z.ZodObject<{
            appName: z.ZodString;
            appVersion: z.ZodString;
            vscodeVersion: z.ZodString;
            platform: z.ZodString;
            editorName: z.ZodString;
            hostname: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }>;
        gitProperties: z.ZodOptional<z.ZodObject<{
            repositoryUrl: z.ZodOptional<z.ZodString>;
            repositoryName: z.ZodOptional<z.ZodString>;
            defaultBranch: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }>>;
        lastHeartbeat: z.ZodNumber;
        task: z.ZodObject<{
            task: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            taskId: z.ZodString;
            taskStatus: z.ZodNativeEnum<typeof TaskStatus>;
            taskAsk: z.ZodOptional<z.ZodObject<{
                ts: z.ZodNumber;
                type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
                ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
                say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
                text: z.ZodOptional<z.ZodString>;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
                partial: z.ZodOptional<z.ZodBoolean>;
                reasoning: z.ZodOptional<z.ZodString>;
                conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
                checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                progressStatus: z.ZodOptional<z.ZodObject<{
                    icon: z.ZodOptional<z.ZodString>;
                    text: z.ZodOptional<z.ZodString>;
                }, "strip", z.ZodTypeAny, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }>>;
                contextCondense: z.ZodOptional<z.ZodObject<{
                    cost: z.ZodNumber;
                    prevContextTokens: z.ZodNumber;
                    newContextTokens: z.ZodNumber;
                    summary: z.ZodString;
                }, "strip", z.ZodTypeAny, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }>>;
                isProtected: z.ZodOptional<z.ZodBoolean>;
                apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
                isAnswered: z.ZodOptional<z.ZodBoolean>;
            }, "strip", z.ZodTypeAny, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }>>;
            queuedMessages: z.ZodOptional<z.ZodArray<z.ZodObject<{
                timestamp: z.ZodNumber;
                id: z.ZodString;
                text: z.ZodString;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            }, "strip", z.ZodTypeAny, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }>, "many">>;
            parentTaskId: z.ZodOptional<z.ZodString>;
            childTaskId: z.ZodOptional<z.ZodString>;
            tokenUsage: z.ZodOptional<z.ZodObject<{
                totalTokensIn: z.ZodNumber;
                totalTokensOut: z.ZodNumber;
                totalCacheWrites: z.ZodOptional<z.ZodNumber>;
                totalCacheReads: z.ZodOptional<z.ZodNumber>;
                totalCost: z.ZodNumber;
                contextTokens: z.ZodNumber;
            }, "strip", z.ZodTypeAny, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }>>;
        }, "strip", z.ZodTypeAny, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }>;
        taskAsk: z.ZodOptional<z.ZodObject<{
            ts: z.ZodNumber;
            type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
            ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
            say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
            text: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            partial: z.ZodOptional<z.ZodBoolean>;
            reasoning: z.ZodOptional<z.ZodString>;
            conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
            checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            progressStatus: z.ZodOptional<z.ZodObject<{
                icon: z.ZodOptional<z.ZodString>;
                text: z.ZodOptional<z.ZodString>;
            }, "strip", z.ZodTypeAny, {
                text?: string | undefined;
                icon?: string | undefined;
            }, {
                text?: string | undefined;
                icon?: string | undefined;
            }>>;
            contextCondense: z.ZodOptional<z.ZodObject<{
                cost: z.ZodNumber;
                prevContextTokens: z.ZodNumber;
                newContextTokens: z.ZodNumber;
                summary: z.ZodString;
            }, "strip", z.ZodTypeAny, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }>>;
            isProtected: z.ZodOptional<z.ZodBoolean>;
            apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
            isAnswered: z.ZodOptional<z.ZodBoolean>;
        }, "strip", z.ZodTypeAny, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }>>;
        taskHistory: z.ZodArray<z.ZodString, "many">;
        mode: z.ZodOptional<z.ZodString>;
        modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
            slug: z.ZodString;
            name: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            name: string;
            slug: string;
        }, {
            name: string;
            slug: string;
        }>, "many">>;
        providerProfile: z.ZodOptional<z.ZodString>;
        providerProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
            name: z.ZodString;
            provider: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            name: string;
            provider?: string | undefined;
        }, {
            name: string;
            provider?: string | undefined;
        }>, "many">>;
        isCloudAgent: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }>;
    timestamp: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    type: ExtensionBridgeEventName.TaskAborted;
    timestamp: number;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}, {
    type: ExtensionBridgeEventName.TaskAborted;
    timestamp: number;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}>, z.ZodObject<{
    type: z.ZodLiteral<ExtensionBridgeEventName.TaskFocused>;
    instance: z.ZodObject<{
        instanceId: z.ZodString;
        userId: z.ZodString;
        workspacePath: z.ZodString;
        appProperties: z.ZodObject<{
            appName: z.ZodString;
            appVersion: z.ZodString;
            vscodeVersion: z.ZodString;
            platform: z.ZodString;
            editorName: z.ZodString;
            hostname: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }>;
        gitProperties: z.ZodOptional<z.ZodObject<{
            repositoryUrl: z.ZodOptional<z.ZodString>;
            repositoryName: z.ZodOptional<z.ZodString>;
            defaultBranch: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }>>;
        lastHeartbeat: z.ZodNumber;
        task: z.ZodObject<{
            task: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            taskId: z.ZodString;
            taskStatus: z.ZodNativeEnum<typeof TaskStatus>;
            taskAsk: z.ZodOptional<z.ZodObject<{
                ts: z.ZodNumber;
                type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
                ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
                say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
                text: z.ZodOptional<z.ZodString>;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
                partial: z.ZodOptional<z.ZodBoolean>;
                reasoning: z.ZodOptional<z.ZodString>;
                conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
                checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                progressStatus: z.ZodOptional<z.ZodObject<{
                    icon: z.ZodOptional<z.ZodString>;
                    text: z.ZodOptional<z.ZodString>;
                }, "strip", z.ZodTypeAny, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }>>;
                contextCondense: z.ZodOptional<z.ZodObject<{
                    cost: z.ZodNumber;
                    prevContextTokens: z.ZodNumber;
                    newContextTokens: z.ZodNumber;
                    summary: z.ZodString;
                }, "strip", z.ZodTypeAny, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }>>;
                isProtected: z.ZodOptional<z.ZodBoolean>;
                apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
                isAnswered: z.ZodOptional<z.ZodBoolean>;
            }, "strip", z.ZodTypeAny, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }>>;
            queuedMessages: z.ZodOptional<z.ZodArray<z.ZodObject<{
                timestamp: z.ZodNumber;
                id: z.ZodString;
                text: z.ZodString;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            }, "strip", z.ZodTypeAny, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }>, "many">>;
            parentTaskId: z.ZodOptional<z.ZodString>;
            childTaskId: z.ZodOptional<z.ZodString>;
            tokenUsage: z.ZodOptional<z.ZodObject<{
                totalTokensIn: z.ZodNumber;
                totalTokensOut: z.ZodNumber;
                totalCacheWrites: z.ZodOptional<z.ZodNumber>;
                totalCacheReads: z.ZodOptional<z.ZodNumber>;
                totalCost: z.ZodNumber;
                contextTokens: z.ZodNumber;
            }, "strip", z.ZodTypeAny, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }>>;
        }, "strip", z.ZodTypeAny, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }>;
        taskAsk: z.ZodOptional<z.ZodObject<{
            ts: z.ZodNumber;
            type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
            ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
            say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
            text: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            partial: z.ZodOptional<z.ZodBoolean>;
            reasoning: z.ZodOptional<z.ZodString>;
            conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
            checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            progressStatus: z.ZodOptional<z.ZodObject<{
                icon: z.ZodOptional<z.ZodString>;
                text: z.ZodOptional<z.ZodString>;
            }, "strip", z.ZodTypeAny, {
                text?: string | undefined;
                icon?: string | undefined;
            }, {
                text?: string | undefined;
                icon?: string | undefined;
            }>>;
            contextCondense: z.ZodOptional<z.ZodObject<{
                cost: z.ZodNumber;
                prevContextTokens: z.ZodNumber;
                newContextTokens: z.ZodNumber;
                summary: z.ZodString;
            }, "strip", z.ZodTypeAny, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }>>;
            isProtected: z.ZodOptional<z.ZodBoolean>;
            apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
            isAnswered: z.ZodOptional<z.ZodBoolean>;
        }, "strip", z.ZodTypeAny, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }>>;
        taskHistory: z.ZodArray<z.ZodString, "many">;
        mode: z.ZodOptional<z.ZodString>;
        modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
            slug: z.ZodString;
            name: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            name: string;
            slug: string;
        }, {
            name: string;
            slug: string;
        }>, "many">>;
        providerProfile: z.ZodOptional<z.ZodString>;
        providerProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
            name: z.ZodString;
            provider: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            name: string;
            provider?: string | undefined;
        }, {
            name: string;
            provider?: string | undefined;
        }>, "many">>;
        isCloudAgent: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }>;
    timestamp: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    type: ExtensionBridgeEventName.TaskFocused;
    timestamp: number;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}, {
    type: ExtensionBridgeEventName.TaskFocused;
    timestamp: number;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}>, z.ZodObject<{
    type: z.ZodLiteral<ExtensionBridgeEventName.TaskUnfocused>;
    instance: z.ZodObject<{
        instanceId: z.ZodString;
        userId: z.ZodString;
        workspacePath: z.ZodString;
        appProperties: z.ZodObject<{
            appName: z.ZodString;
            appVersion: z.ZodString;
            vscodeVersion: z.ZodString;
            platform: z.ZodString;
            editorName: z.ZodString;
            hostname: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }>;
        gitProperties: z.ZodOptional<z.ZodObject<{
            repositoryUrl: z.ZodOptional<z.ZodString>;
            repositoryName: z.ZodOptional<z.ZodString>;
            defaultBranch: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }>>;
        lastHeartbeat: z.ZodNumber;
        task: z.ZodObject<{
            task: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            taskId: z.ZodString;
            taskStatus: z.ZodNativeEnum<typeof TaskStatus>;
            taskAsk: z.ZodOptional<z.ZodObject<{
                ts: z.ZodNumber;
                type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
                ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
                say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
                text: z.ZodOptional<z.ZodString>;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
                partial: z.ZodOptional<z.ZodBoolean>;
                reasoning: z.ZodOptional<z.ZodString>;
                conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
                checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                progressStatus: z.ZodOptional<z.ZodObject<{
                    icon: z.ZodOptional<z.ZodString>;
                    text: z.ZodOptional<z.ZodString>;
                }, "strip", z.ZodTypeAny, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }>>;
                contextCondense: z.ZodOptional<z.ZodObject<{
                    cost: z.ZodNumber;
                    prevContextTokens: z.ZodNumber;
                    newContextTokens: z.ZodNumber;
                    summary: z.ZodString;
                }, "strip", z.ZodTypeAny, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }>>;
                isProtected: z.ZodOptional<z.ZodBoolean>;
                apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
                isAnswered: z.ZodOptional<z.ZodBoolean>;
            }, "strip", z.ZodTypeAny, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }>>;
            queuedMessages: z.ZodOptional<z.ZodArray<z.ZodObject<{
                timestamp: z.ZodNumber;
                id: z.ZodString;
                text: z.ZodString;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            }, "strip", z.ZodTypeAny, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }>, "many">>;
            parentTaskId: z.ZodOptional<z.ZodString>;
            childTaskId: z.ZodOptional<z.ZodString>;
            tokenUsage: z.ZodOptional<z.ZodObject<{
                totalTokensIn: z.ZodNumber;
                totalTokensOut: z.ZodNumber;
                totalCacheWrites: z.ZodOptional<z.ZodNumber>;
                totalCacheReads: z.ZodOptional<z.ZodNumber>;
                totalCost: z.ZodNumber;
                contextTokens: z.ZodNumber;
            }, "strip", z.ZodTypeAny, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }>>;
        }, "strip", z.ZodTypeAny, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }>;
        taskAsk: z.ZodOptional<z.ZodObject<{
            ts: z.ZodNumber;
            type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
            ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
            say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
            text: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            partial: z.ZodOptional<z.ZodBoolean>;
            reasoning: z.ZodOptional<z.ZodString>;
            conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
            checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            progressStatus: z.ZodOptional<z.ZodObject<{
                icon: z.ZodOptional<z.ZodString>;
                text: z.ZodOptional<z.ZodString>;
            }, "strip", z.ZodTypeAny, {
                text?: string | undefined;
                icon?: string | undefined;
            }, {
                text?: string | undefined;
                icon?: string | undefined;
            }>>;
            contextCondense: z.ZodOptional<z.ZodObject<{
                cost: z.ZodNumber;
                prevContextTokens: z.ZodNumber;
                newContextTokens: z.ZodNumber;
                summary: z.ZodString;
            }, "strip", z.ZodTypeAny, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }>>;
            isProtected: z.ZodOptional<z.ZodBoolean>;
            apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
            isAnswered: z.ZodOptional<z.ZodBoolean>;
        }, "strip", z.ZodTypeAny, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }>>;
        taskHistory: z.ZodArray<z.ZodString, "many">;
        mode: z.ZodOptional<z.ZodString>;
        modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
            slug: z.ZodString;
            name: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            name: string;
            slug: string;
        }, {
            name: string;
            slug: string;
        }>, "many">>;
        providerProfile: z.ZodOptional<z.ZodString>;
        providerProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
            name: z.ZodString;
            provider: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            name: string;
            provider?: string | undefined;
        }, {
            name: string;
            provider?: string | undefined;
        }>, "many">>;
        isCloudAgent: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }>;
    timestamp: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    type: ExtensionBridgeEventName.TaskUnfocused;
    timestamp: number;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}, {
    type: ExtensionBridgeEventName.TaskUnfocused;
    timestamp: number;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}>, z.ZodObject<{
    type: z.ZodLiteral<ExtensionBridgeEventName.TaskActive>;
    instance: z.ZodObject<{
        instanceId: z.ZodString;
        userId: z.ZodString;
        workspacePath: z.ZodString;
        appProperties: z.ZodObject<{
            appName: z.ZodString;
            appVersion: z.ZodString;
            vscodeVersion: z.ZodString;
            platform: z.ZodString;
            editorName: z.ZodString;
            hostname: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }>;
        gitProperties: z.ZodOptional<z.ZodObject<{
            repositoryUrl: z.ZodOptional<z.ZodString>;
            repositoryName: z.ZodOptional<z.ZodString>;
            defaultBranch: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }>>;
        lastHeartbeat: z.ZodNumber;
        task: z.ZodObject<{
            task: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            taskId: z.ZodString;
            taskStatus: z.ZodNativeEnum<typeof TaskStatus>;
            taskAsk: z.ZodOptional<z.ZodObject<{
                ts: z.ZodNumber;
                type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
                ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
                say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
                text: z.ZodOptional<z.ZodString>;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
                partial: z.ZodOptional<z.ZodBoolean>;
                reasoning: z.ZodOptional<z.ZodString>;
                conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
                checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                progressStatus: z.ZodOptional<z.ZodObject<{
                    icon: z.ZodOptional<z.ZodString>;
                    text: z.ZodOptional<z.ZodString>;
                }, "strip", z.ZodTypeAny, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }>>;
                contextCondense: z.ZodOptional<z.ZodObject<{
                    cost: z.ZodNumber;
                    prevContextTokens: z.ZodNumber;
                    newContextTokens: z.ZodNumber;
                    summary: z.ZodString;
                }, "strip", z.ZodTypeAny, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }>>;
                isProtected: z.ZodOptional<z.ZodBoolean>;
                apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
                isAnswered: z.ZodOptional<z.ZodBoolean>;
            }, "strip", z.ZodTypeAny, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }>>;
            queuedMessages: z.ZodOptional<z.ZodArray<z.ZodObject<{
                timestamp: z.ZodNumber;
                id: z.ZodString;
                text: z.ZodString;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            }, "strip", z.ZodTypeAny, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }>, "many">>;
            parentTaskId: z.ZodOptional<z.ZodString>;
            childTaskId: z.ZodOptional<z.ZodString>;
            tokenUsage: z.ZodOptional<z.ZodObject<{
                totalTokensIn: z.ZodNumber;
                totalTokensOut: z.ZodNumber;
                totalCacheWrites: z.ZodOptional<z.ZodNumber>;
                totalCacheReads: z.ZodOptional<z.ZodNumber>;
                totalCost: z.ZodNumber;
                contextTokens: z.ZodNumber;
            }, "strip", z.ZodTypeAny, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }>>;
        }, "strip", z.ZodTypeAny, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }>;
        taskAsk: z.ZodOptional<z.ZodObject<{
            ts: z.ZodNumber;
            type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
            ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
            say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
            text: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            partial: z.ZodOptional<z.ZodBoolean>;
            reasoning: z.ZodOptional<z.ZodString>;
            conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
            checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            progressStatus: z.ZodOptional<z.ZodObject<{
                icon: z.ZodOptional<z.ZodString>;
                text: z.ZodOptional<z.ZodString>;
            }, "strip", z.ZodTypeAny, {
                text?: string | undefined;
                icon?: string | undefined;
            }, {
                text?: string | undefined;
                icon?: string | undefined;
            }>>;
            contextCondense: z.ZodOptional<z.ZodObject<{
                cost: z.ZodNumber;
                prevContextTokens: z.ZodNumber;
                newContextTokens: z.ZodNumber;
                summary: z.ZodString;
            }, "strip", z.ZodTypeAny, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }>>;
            isProtected: z.ZodOptional<z.ZodBoolean>;
            apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
            isAnswered: z.ZodOptional<z.ZodBoolean>;
        }, "strip", z.ZodTypeAny, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }>>;
        taskHistory: z.ZodArray<z.ZodString, "many">;
        mode: z.ZodOptional<z.ZodString>;
        modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
            slug: z.ZodString;
            name: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            name: string;
            slug: string;
        }, {
            name: string;
            slug: string;
        }>, "many">>;
        providerProfile: z.ZodOptional<z.ZodString>;
        providerProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
            name: z.ZodString;
            provider: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            name: string;
            provider?: string | undefined;
        }, {
            name: string;
            provider?: string | undefined;
        }>, "many">>;
        isCloudAgent: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }>;
    timestamp: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    type: ExtensionBridgeEventName.TaskActive;
    timestamp: number;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}, {
    type: ExtensionBridgeEventName.TaskActive;
    timestamp: number;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}>, z.ZodObject<{
    type: z.ZodLiteral<ExtensionBridgeEventName.TaskInteractive>;
    instance: z.ZodObject<{
        instanceId: z.ZodString;
        userId: z.ZodString;
        workspacePath: z.ZodString;
        appProperties: z.ZodObject<{
            appName: z.ZodString;
            appVersion: z.ZodString;
            vscodeVersion: z.ZodString;
            platform: z.ZodString;
            editorName: z.ZodString;
            hostname: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }>;
        gitProperties: z.ZodOptional<z.ZodObject<{
            repositoryUrl: z.ZodOptional<z.ZodString>;
            repositoryName: z.ZodOptional<z.ZodString>;
            defaultBranch: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }>>;
        lastHeartbeat: z.ZodNumber;
        task: z.ZodObject<{
            task: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            taskId: z.ZodString;
            taskStatus: z.ZodNativeEnum<typeof TaskStatus>;
            taskAsk: z.ZodOptional<z.ZodObject<{
                ts: z.ZodNumber;
                type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
                ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
                say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
                text: z.ZodOptional<z.ZodString>;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
                partial: z.ZodOptional<z.ZodBoolean>;
                reasoning: z.ZodOptional<z.ZodString>;
                conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
                checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                progressStatus: z.ZodOptional<z.ZodObject<{
                    icon: z.ZodOptional<z.ZodString>;
                    text: z.ZodOptional<z.ZodString>;
                }, "strip", z.ZodTypeAny, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }>>;
                contextCondense: z.ZodOptional<z.ZodObject<{
                    cost: z.ZodNumber;
                    prevContextTokens: z.ZodNumber;
                    newContextTokens: z.ZodNumber;
                    summary: z.ZodString;
                }, "strip", z.ZodTypeAny, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }>>;
                isProtected: z.ZodOptional<z.ZodBoolean>;
                apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
                isAnswered: z.ZodOptional<z.ZodBoolean>;
            }, "strip", z.ZodTypeAny, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }>>;
            queuedMessages: z.ZodOptional<z.ZodArray<z.ZodObject<{
                timestamp: z.ZodNumber;
                id: z.ZodString;
                text: z.ZodString;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            }, "strip", z.ZodTypeAny, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }>, "many">>;
            parentTaskId: z.ZodOptional<z.ZodString>;
            childTaskId: z.ZodOptional<z.ZodString>;
            tokenUsage: z.ZodOptional<z.ZodObject<{
                totalTokensIn: z.ZodNumber;
                totalTokensOut: z.ZodNumber;
                totalCacheWrites: z.ZodOptional<z.ZodNumber>;
                totalCacheReads: z.ZodOptional<z.ZodNumber>;
                totalCost: z.ZodNumber;
                contextTokens: z.ZodNumber;
            }, "strip", z.ZodTypeAny, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }>>;
        }, "strip", z.ZodTypeAny, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }>;
        taskAsk: z.ZodOptional<z.ZodObject<{
            ts: z.ZodNumber;
            type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
            ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
            say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
            text: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            partial: z.ZodOptional<z.ZodBoolean>;
            reasoning: z.ZodOptional<z.ZodString>;
            conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
            checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            progressStatus: z.ZodOptional<z.ZodObject<{
                icon: z.ZodOptional<z.ZodString>;
                text: z.ZodOptional<z.ZodString>;
            }, "strip", z.ZodTypeAny, {
                text?: string | undefined;
                icon?: string | undefined;
            }, {
                text?: string | undefined;
                icon?: string | undefined;
            }>>;
            contextCondense: z.ZodOptional<z.ZodObject<{
                cost: z.ZodNumber;
                prevContextTokens: z.ZodNumber;
                newContextTokens: z.ZodNumber;
                summary: z.ZodString;
            }, "strip", z.ZodTypeAny, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }>>;
            isProtected: z.ZodOptional<z.ZodBoolean>;
            apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
            isAnswered: z.ZodOptional<z.ZodBoolean>;
        }, "strip", z.ZodTypeAny, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }>>;
        taskHistory: z.ZodArray<z.ZodString, "many">;
        mode: z.ZodOptional<z.ZodString>;
        modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
            slug: z.ZodString;
            name: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            name: string;
            slug: string;
        }, {
            name: string;
            slug: string;
        }>, "many">>;
        providerProfile: z.ZodOptional<z.ZodString>;
        providerProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
            name: z.ZodString;
            provider: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            name: string;
            provider?: string | undefined;
        }, {
            name: string;
            provider?: string | undefined;
        }>, "many">>;
        isCloudAgent: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }>;
    timestamp: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    type: ExtensionBridgeEventName.TaskInteractive;
    timestamp: number;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}, {
    type: ExtensionBridgeEventName.TaskInteractive;
    timestamp: number;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}>, z.ZodObject<{
    type: z.ZodLiteral<ExtensionBridgeEventName.TaskResumable>;
    instance: z.ZodObject<{
        instanceId: z.ZodString;
        userId: z.ZodString;
        workspacePath: z.ZodString;
        appProperties: z.ZodObject<{
            appName: z.ZodString;
            appVersion: z.ZodString;
            vscodeVersion: z.ZodString;
            platform: z.ZodString;
            editorName: z.ZodString;
            hostname: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }>;
        gitProperties: z.ZodOptional<z.ZodObject<{
            repositoryUrl: z.ZodOptional<z.ZodString>;
            repositoryName: z.ZodOptional<z.ZodString>;
            defaultBranch: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }>>;
        lastHeartbeat: z.ZodNumber;
        task: z.ZodObject<{
            task: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            taskId: z.ZodString;
            taskStatus: z.ZodNativeEnum<typeof TaskStatus>;
            taskAsk: z.ZodOptional<z.ZodObject<{
                ts: z.ZodNumber;
                type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
                ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
                say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
                text: z.ZodOptional<z.ZodString>;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
                partial: z.ZodOptional<z.ZodBoolean>;
                reasoning: z.ZodOptional<z.ZodString>;
                conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
                checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                progressStatus: z.ZodOptional<z.ZodObject<{
                    icon: z.ZodOptional<z.ZodString>;
                    text: z.ZodOptional<z.ZodString>;
                }, "strip", z.ZodTypeAny, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }>>;
                contextCondense: z.ZodOptional<z.ZodObject<{
                    cost: z.ZodNumber;
                    prevContextTokens: z.ZodNumber;
                    newContextTokens: z.ZodNumber;
                    summary: z.ZodString;
                }, "strip", z.ZodTypeAny, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }>>;
                isProtected: z.ZodOptional<z.ZodBoolean>;
                apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
                isAnswered: z.ZodOptional<z.ZodBoolean>;
            }, "strip", z.ZodTypeAny, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }>>;
            queuedMessages: z.ZodOptional<z.ZodArray<z.ZodObject<{
                timestamp: z.ZodNumber;
                id: z.ZodString;
                text: z.ZodString;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            }, "strip", z.ZodTypeAny, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }>, "many">>;
            parentTaskId: z.ZodOptional<z.ZodString>;
            childTaskId: z.ZodOptional<z.ZodString>;
            tokenUsage: z.ZodOptional<z.ZodObject<{
                totalTokensIn: z.ZodNumber;
                totalTokensOut: z.ZodNumber;
                totalCacheWrites: z.ZodOptional<z.ZodNumber>;
                totalCacheReads: z.ZodOptional<z.ZodNumber>;
                totalCost: z.ZodNumber;
                contextTokens: z.ZodNumber;
            }, "strip", z.ZodTypeAny, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }>>;
        }, "strip", z.ZodTypeAny, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }>;
        taskAsk: z.ZodOptional<z.ZodObject<{
            ts: z.ZodNumber;
            type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
            ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
            say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
            text: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            partial: z.ZodOptional<z.ZodBoolean>;
            reasoning: z.ZodOptional<z.ZodString>;
            conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
            checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            progressStatus: z.ZodOptional<z.ZodObject<{
                icon: z.ZodOptional<z.ZodString>;
                text: z.ZodOptional<z.ZodString>;
            }, "strip", z.ZodTypeAny, {
                text?: string | undefined;
                icon?: string | undefined;
            }, {
                text?: string | undefined;
                icon?: string | undefined;
            }>>;
            contextCondense: z.ZodOptional<z.ZodObject<{
                cost: z.ZodNumber;
                prevContextTokens: z.ZodNumber;
                newContextTokens: z.ZodNumber;
                summary: z.ZodString;
            }, "strip", z.ZodTypeAny, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }>>;
            isProtected: z.ZodOptional<z.ZodBoolean>;
            apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
            isAnswered: z.ZodOptional<z.ZodBoolean>;
        }, "strip", z.ZodTypeAny, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }>>;
        taskHistory: z.ZodArray<z.ZodString, "many">;
        mode: z.ZodOptional<z.ZodString>;
        modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
            slug: z.ZodString;
            name: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            name: string;
            slug: string;
        }, {
            name: string;
            slug: string;
        }>, "many">>;
        providerProfile: z.ZodOptional<z.ZodString>;
        providerProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
            name: z.ZodString;
            provider: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            name: string;
            provider?: string | undefined;
        }, {
            name: string;
            provider?: string | undefined;
        }>, "many">>;
        isCloudAgent: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }>;
    timestamp: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    type: ExtensionBridgeEventName.TaskResumable;
    timestamp: number;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}, {
    type: ExtensionBridgeEventName.TaskResumable;
    timestamp: number;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}>, z.ZodObject<{
    type: z.ZodLiteral<ExtensionBridgeEventName.TaskIdle>;
    instance: z.ZodObject<{
        instanceId: z.ZodString;
        userId: z.ZodString;
        workspacePath: z.ZodString;
        appProperties: z.ZodObject<{
            appName: z.ZodString;
            appVersion: z.ZodString;
            vscodeVersion: z.ZodString;
            platform: z.ZodString;
            editorName: z.ZodString;
            hostname: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }>;
        gitProperties: z.ZodOptional<z.ZodObject<{
            repositoryUrl: z.ZodOptional<z.ZodString>;
            repositoryName: z.ZodOptional<z.ZodString>;
            defaultBranch: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }>>;
        lastHeartbeat: z.ZodNumber;
        task: z.ZodObject<{
            task: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            taskId: z.ZodString;
            taskStatus: z.ZodNativeEnum<typeof TaskStatus>;
            taskAsk: z.ZodOptional<z.ZodObject<{
                ts: z.ZodNumber;
                type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
                ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
                say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
                text: z.ZodOptional<z.ZodString>;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
                partial: z.ZodOptional<z.ZodBoolean>;
                reasoning: z.ZodOptional<z.ZodString>;
                conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
                checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                progressStatus: z.ZodOptional<z.ZodObject<{
                    icon: z.ZodOptional<z.ZodString>;
                    text: z.ZodOptional<z.ZodString>;
                }, "strip", z.ZodTypeAny, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }>>;
                contextCondense: z.ZodOptional<z.ZodObject<{
                    cost: z.ZodNumber;
                    prevContextTokens: z.ZodNumber;
                    newContextTokens: z.ZodNumber;
                    summary: z.ZodString;
                }, "strip", z.ZodTypeAny, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }>>;
                isProtected: z.ZodOptional<z.ZodBoolean>;
                apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
                isAnswered: z.ZodOptional<z.ZodBoolean>;
            }, "strip", z.ZodTypeAny, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }>>;
            queuedMessages: z.ZodOptional<z.ZodArray<z.ZodObject<{
                timestamp: z.ZodNumber;
                id: z.ZodString;
                text: z.ZodString;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            }, "strip", z.ZodTypeAny, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }>, "many">>;
            parentTaskId: z.ZodOptional<z.ZodString>;
            childTaskId: z.ZodOptional<z.ZodString>;
            tokenUsage: z.ZodOptional<z.ZodObject<{
                totalTokensIn: z.ZodNumber;
                totalTokensOut: z.ZodNumber;
                totalCacheWrites: z.ZodOptional<z.ZodNumber>;
                totalCacheReads: z.ZodOptional<z.ZodNumber>;
                totalCost: z.ZodNumber;
                contextTokens: z.ZodNumber;
            }, "strip", z.ZodTypeAny, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }>>;
        }, "strip", z.ZodTypeAny, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }>;
        taskAsk: z.ZodOptional<z.ZodObject<{
            ts: z.ZodNumber;
            type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
            ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
            say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
            text: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            partial: z.ZodOptional<z.ZodBoolean>;
            reasoning: z.ZodOptional<z.ZodString>;
            conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
            checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            progressStatus: z.ZodOptional<z.ZodObject<{
                icon: z.ZodOptional<z.ZodString>;
                text: z.ZodOptional<z.ZodString>;
            }, "strip", z.ZodTypeAny, {
                text?: string | undefined;
                icon?: string | undefined;
            }, {
                text?: string | undefined;
                icon?: string | undefined;
            }>>;
            contextCondense: z.ZodOptional<z.ZodObject<{
                cost: z.ZodNumber;
                prevContextTokens: z.ZodNumber;
                newContextTokens: z.ZodNumber;
                summary: z.ZodString;
            }, "strip", z.ZodTypeAny, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }>>;
            isProtected: z.ZodOptional<z.ZodBoolean>;
            apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
            isAnswered: z.ZodOptional<z.ZodBoolean>;
        }, "strip", z.ZodTypeAny, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }>>;
        taskHistory: z.ZodArray<z.ZodString, "many">;
        mode: z.ZodOptional<z.ZodString>;
        modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
            slug: z.ZodString;
            name: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            name: string;
            slug: string;
        }, {
            name: string;
            slug: string;
        }>, "many">>;
        providerProfile: z.ZodOptional<z.ZodString>;
        providerProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
            name: z.ZodString;
            provider: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            name: string;
            provider?: string | undefined;
        }, {
            name: string;
            provider?: string | undefined;
        }>, "many">>;
        isCloudAgent: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }>;
    timestamp: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    type: ExtensionBridgeEventName.TaskIdle;
    timestamp: number;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}, {
    type: ExtensionBridgeEventName.TaskIdle;
    timestamp: number;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}>, z.ZodObject<{
    type: z.ZodLiteral<ExtensionBridgeEventName.TaskPaused>;
    instance: z.ZodObject<{
        instanceId: z.ZodString;
        userId: z.ZodString;
        workspacePath: z.ZodString;
        appProperties: z.ZodObject<{
            appName: z.ZodString;
            appVersion: z.ZodString;
            vscodeVersion: z.ZodString;
            platform: z.ZodString;
            editorName: z.ZodString;
            hostname: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }>;
        gitProperties: z.ZodOptional<z.ZodObject<{
            repositoryUrl: z.ZodOptional<z.ZodString>;
            repositoryName: z.ZodOptional<z.ZodString>;
            defaultBranch: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }>>;
        lastHeartbeat: z.ZodNumber;
        task: z.ZodObject<{
            task: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            taskId: z.ZodString;
            taskStatus: z.ZodNativeEnum<typeof TaskStatus>;
            taskAsk: z.ZodOptional<z.ZodObject<{
                ts: z.ZodNumber;
                type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
                ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
                say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
                text: z.ZodOptional<z.ZodString>;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
                partial: z.ZodOptional<z.ZodBoolean>;
                reasoning: z.ZodOptional<z.ZodString>;
                conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
                checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                progressStatus: z.ZodOptional<z.ZodObject<{
                    icon: z.ZodOptional<z.ZodString>;
                    text: z.ZodOptional<z.ZodString>;
                }, "strip", z.ZodTypeAny, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }>>;
                contextCondense: z.ZodOptional<z.ZodObject<{
                    cost: z.ZodNumber;
                    prevContextTokens: z.ZodNumber;
                    newContextTokens: z.ZodNumber;
                    summary: z.ZodString;
                }, "strip", z.ZodTypeAny, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }>>;
                isProtected: z.ZodOptional<z.ZodBoolean>;
                apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
                isAnswered: z.ZodOptional<z.ZodBoolean>;
            }, "strip", z.ZodTypeAny, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }>>;
            queuedMessages: z.ZodOptional<z.ZodArray<z.ZodObject<{
                timestamp: z.ZodNumber;
                id: z.ZodString;
                text: z.ZodString;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            }, "strip", z.ZodTypeAny, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }>, "many">>;
            parentTaskId: z.ZodOptional<z.ZodString>;
            childTaskId: z.ZodOptional<z.ZodString>;
            tokenUsage: z.ZodOptional<z.ZodObject<{
                totalTokensIn: z.ZodNumber;
                totalTokensOut: z.ZodNumber;
                totalCacheWrites: z.ZodOptional<z.ZodNumber>;
                totalCacheReads: z.ZodOptional<z.ZodNumber>;
                totalCost: z.ZodNumber;
                contextTokens: z.ZodNumber;
            }, "strip", z.ZodTypeAny, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }>>;
        }, "strip", z.ZodTypeAny, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }>;
        taskAsk: z.ZodOptional<z.ZodObject<{
            ts: z.ZodNumber;
            type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
            ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
            say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
            text: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            partial: z.ZodOptional<z.ZodBoolean>;
            reasoning: z.ZodOptional<z.ZodString>;
            conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
            checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            progressStatus: z.ZodOptional<z.ZodObject<{
                icon: z.ZodOptional<z.ZodString>;
                text: z.ZodOptional<z.ZodString>;
            }, "strip", z.ZodTypeAny, {
                text?: string | undefined;
                icon?: string | undefined;
            }, {
                text?: string | undefined;
                icon?: string | undefined;
            }>>;
            contextCondense: z.ZodOptional<z.ZodObject<{
                cost: z.ZodNumber;
                prevContextTokens: z.ZodNumber;
                newContextTokens: z.ZodNumber;
                summary: z.ZodString;
            }, "strip", z.ZodTypeAny, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }>>;
            isProtected: z.ZodOptional<z.ZodBoolean>;
            apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
            isAnswered: z.ZodOptional<z.ZodBoolean>;
        }, "strip", z.ZodTypeAny, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }>>;
        taskHistory: z.ZodArray<z.ZodString, "many">;
        mode: z.ZodOptional<z.ZodString>;
        modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
            slug: z.ZodString;
            name: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            name: string;
            slug: string;
        }, {
            name: string;
            slug: string;
        }>, "many">>;
        providerProfile: z.ZodOptional<z.ZodString>;
        providerProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
            name: z.ZodString;
            provider: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            name: string;
            provider?: string | undefined;
        }, {
            name: string;
            provider?: string | undefined;
        }>, "many">>;
        isCloudAgent: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }>;
    timestamp: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    type: ExtensionBridgeEventName.TaskPaused;
    timestamp: number;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}, {
    type: ExtensionBridgeEventName.TaskPaused;
    timestamp: number;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}>, z.ZodObject<{
    type: z.ZodLiteral<ExtensionBridgeEventName.TaskUnpaused>;
    instance: z.ZodObject<{
        instanceId: z.ZodString;
        userId: z.ZodString;
        workspacePath: z.ZodString;
        appProperties: z.ZodObject<{
            appName: z.ZodString;
            appVersion: z.ZodString;
            vscodeVersion: z.ZodString;
            platform: z.ZodString;
            editorName: z.ZodString;
            hostname: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }>;
        gitProperties: z.ZodOptional<z.ZodObject<{
            repositoryUrl: z.ZodOptional<z.ZodString>;
            repositoryName: z.ZodOptional<z.ZodString>;
            defaultBranch: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }>>;
        lastHeartbeat: z.ZodNumber;
        task: z.ZodObject<{
            task: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            taskId: z.ZodString;
            taskStatus: z.ZodNativeEnum<typeof TaskStatus>;
            taskAsk: z.ZodOptional<z.ZodObject<{
                ts: z.ZodNumber;
                type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
                ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
                say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
                text: z.ZodOptional<z.ZodString>;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
                partial: z.ZodOptional<z.ZodBoolean>;
                reasoning: z.ZodOptional<z.ZodString>;
                conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
                checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                progressStatus: z.ZodOptional<z.ZodObject<{
                    icon: z.ZodOptional<z.ZodString>;
                    text: z.ZodOptional<z.ZodString>;
                }, "strip", z.ZodTypeAny, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }>>;
                contextCondense: z.ZodOptional<z.ZodObject<{
                    cost: z.ZodNumber;
                    prevContextTokens: z.ZodNumber;
                    newContextTokens: z.ZodNumber;
                    summary: z.ZodString;
                }, "strip", z.ZodTypeAny, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }>>;
                isProtected: z.ZodOptional<z.ZodBoolean>;
                apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
                isAnswered: z.ZodOptional<z.ZodBoolean>;
            }, "strip", z.ZodTypeAny, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }>>;
            queuedMessages: z.ZodOptional<z.ZodArray<z.ZodObject<{
                timestamp: z.ZodNumber;
                id: z.ZodString;
                text: z.ZodString;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            }, "strip", z.ZodTypeAny, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }>, "many">>;
            parentTaskId: z.ZodOptional<z.ZodString>;
            childTaskId: z.ZodOptional<z.ZodString>;
            tokenUsage: z.ZodOptional<z.ZodObject<{
                totalTokensIn: z.ZodNumber;
                totalTokensOut: z.ZodNumber;
                totalCacheWrites: z.ZodOptional<z.ZodNumber>;
                totalCacheReads: z.ZodOptional<z.ZodNumber>;
                totalCost: z.ZodNumber;
                contextTokens: z.ZodNumber;
            }, "strip", z.ZodTypeAny, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }>>;
        }, "strip", z.ZodTypeAny, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }>;
        taskAsk: z.ZodOptional<z.ZodObject<{
            ts: z.ZodNumber;
            type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
            ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
            say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
            text: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            partial: z.ZodOptional<z.ZodBoolean>;
            reasoning: z.ZodOptional<z.ZodString>;
            conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
            checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            progressStatus: z.ZodOptional<z.ZodObject<{
                icon: z.ZodOptional<z.ZodString>;
                text: z.ZodOptional<z.ZodString>;
            }, "strip", z.ZodTypeAny, {
                text?: string | undefined;
                icon?: string | undefined;
            }, {
                text?: string | undefined;
                icon?: string | undefined;
            }>>;
            contextCondense: z.ZodOptional<z.ZodObject<{
                cost: z.ZodNumber;
                prevContextTokens: z.ZodNumber;
                newContextTokens: z.ZodNumber;
                summary: z.ZodString;
            }, "strip", z.ZodTypeAny, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }>>;
            isProtected: z.ZodOptional<z.ZodBoolean>;
            apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
            isAnswered: z.ZodOptional<z.ZodBoolean>;
        }, "strip", z.ZodTypeAny, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }>>;
        taskHistory: z.ZodArray<z.ZodString, "many">;
        mode: z.ZodOptional<z.ZodString>;
        modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
            slug: z.ZodString;
            name: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            name: string;
            slug: string;
        }, {
            name: string;
            slug: string;
        }>, "many">>;
        providerProfile: z.ZodOptional<z.ZodString>;
        providerProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
            name: z.ZodString;
            provider: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            name: string;
            provider?: string | undefined;
        }, {
            name: string;
            provider?: string | undefined;
        }>, "many">>;
        isCloudAgent: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }>;
    timestamp: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    type: ExtensionBridgeEventName.TaskUnpaused;
    timestamp: number;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}, {
    type: ExtensionBridgeEventName.TaskUnpaused;
    timestamp: number;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}>, z.ZodObject<{
    type: z.ZodLiteral<ExtensionBridgeEventName.TaskSpawned>;
    instance: z.ZodObject<{
        instanceId: z.ZodString;
        userId: z.ZodString;
        workspacePath: z.ZodString;
        appProperties: z.ZodObject<{
            appName: z.ZodString;
            appVersion: z.ZodString;
            vscodeVersion: z.ZodString;
            platform: z.ZodString;
            editorName: z.ZodString;
            hostname: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }>;
        gitProperties: z.ZodOptional<z.ZodObject<{
            repositoryUrl: z.ZodOptional<z.ZodString>;
            repositoryName: z.ZodOptional<z.ZodString>;
            defaultBranch: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }>>;
        lastHeartbeat: z.ZodNumber;
        task: z.ZodObject<{
            task: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            taskId: z.ZodString;
            taskStatus: z.ZodNativeEnum<typeof TaskStatus>;
            taskAsk: z.ZodOptional<z.ZodObject<{
                ts: z.ZodNumber;
                type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
                ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
                say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
                text: z.ZodOptional<z.ZodString>;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
                partial: z.ZodOptional<z.ZodBoolean>;
                reasoning: z.ZodOptional<z.ZodString>;
                conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
                checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                progressStatus: z.ZodOptional<z.ZodObject<{
                    icon: z.ZodOptional<z.ZodString>;
                    text: z.ZodOptional<z.ZodString>;
                }, "strip", z.ZodTypeAny, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }>>;
                contextCondense: z.ZodOptional<z.ZodObject<{
                    cost: z.ZodNumber;
                    prevContextTokens: z.ZodNumber;
                    newContextTokens: z.ZodNumber;
                    summary: z.ZodString;
                }, "strip", z.ZodTypeAny, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }>>;
                isProtected: z.ZodOptional<z.ZodBoolean>;
                apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
                isAnswered: z.ZodOptional<z.ZodBoolean>;
            }, "strip", z.ZodTypeAny, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }>>;
            queuedMessages: z.ZodOptional<z.ZodArray<z.ZodObject<{
                timestamp: z.ZodNumber;
                id: z.ZodString;
                text: z.ZodString;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            }, "strip", z.ZodTypeAny, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }>, "many">>;
            parentTaskId: z.ZodOptional<z.ZodString>;
            childTaskId: z.ZodOptional<z.ZodString>;
            tokenUsage: z.ZodOptional<z.ZodObject<{
                totalTokensIn: z.ZodNumber;
                totalTokensOut: z.ZodNumber;
                totalCacheWrites: z.ZodOptional<z.ZodNumber>;
                totalCacheReads: z.ZodOptional<z.ZodNumber>;
                totalCost: z.ZodNumber;
                contextTokens: z.ZodNumber;
            }, "strip", z.ZodTypeAny, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }>>;
        }, "strip", z.ZodTypeAny, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }>;
        taskAsk: z.ZodOptional<z.ZodObject<{
            ts: z.ZodNumber;
            type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
            ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
            say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
            text: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            partial: z.ZodOptional<z.ZodBoolean>;
            reasoning: z.ZodOptional<z.ZodString>;
            conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
            checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            progressStatus: z.ZodOptional<z.ZodObject<{
                icon: z.ZodOptional<z.ZodString>;
                text: z.ZodOptional<z.ZodString>;
            }, "strip", z.ZodTypeAny, {
                text?: string | undefined;
                icon?: string | undefined;
            }, {
                text?: string | undefined;
                icon?: string | undefined;
            }>>;
            contextCondense: z.ZodOptional<z.ZodObject<{
                cost: z.ZodNumber;
                prevContextTokens: z.ZodNumber;
                newContextTokens: z.ZodNumber;
                summary: z.ZodString;
            }, "strip", z.ZodTypeAny, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }>>;
            isProtected: z.ZodOptional<z.ZodBoolean>;
            apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
            isAnswered: z.ZodOptional<z.ZodBoolean>;
        }, "strip", z.ZodTypeAny, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }>>;
        taskHistory: z.ZodArray<z.ZodString, "many">;
        mode: z.ZodOptional<z.ZodString>;
        modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
            slug: z.ZodString;
            name: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            name: string;
            slug: string;
        }, {
            name: string;
            slug: string;
        }>, "many">>;
        providerProfile: z.ZodOptional<z.ZodString>;
        providerProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
            name: z.ZodString;
            provider: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            name: string;
            provider?: string | undefined;
        }, {
            name: string;
            provider?: string | undefined;
        }>, "many">>;
        isCloudAgent: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }>;
    timestamp: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    type: ExtensionBridgeEventName.TaskSpawned;
    timestamp: number;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}, {
    type: ExtensionBridgeEventName.TaskSpawned;
    timestamp: number;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}>, z.ZodObject<{
    type: z.ZodLiteral<ExtensionBridgeEventName.TaskUserMessage>;
    instance: z.ZodObject<{
        instanceId: z.ZodString;
        userId: z.ZodString;
        workspacePath: z.ZodString;
        appProperties: z.ZodObject<{
            appName: z.ZodString;
            appVersion: z.ZodString;
            vscodeVersion: z.ZodString;
            platform: z.ZodString;
            editorName: z.ZodString;
            hostname: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }>;
        gitProperties: z.ZodOptional<z.ZodObject<{
            repositoryUrl: z.ZodOptional<z.ZodString>;
            repositoryName: z.ZodOptional<z.ZodString>;
            defaultBranch: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }>>;
        lastHeartbeat: z.ZodNumber;
        task: z.ZodObject<{
            task: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            taskId: z.ZodString;
            taskStatus: z.ZodNativeEnum<typeof TaskStatus>;
            taskAsk: z.ZodOptional<z.ZodObject<{
                ts: z.ZodNumber;
                type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
                ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
                say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
                text: z.ZodOptional<z.ZodString>;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
                partial: z.ZodOptional<z.ZodBoolean>;
                reasoning: z.ZodOptional<z.ZodString>;
                conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
                checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                progressStatus: z.ZodOptional<z.ZodObject<{
                    icon: z.ZodOptional<z.ZodString>;
                    text: z.ZodOptional<z.ZodString>;
                }, "strip", z.ZodTypeAny, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }>>;
                contextCondense: z.ZodOptional<z.ZodObject<{
                    cost: z.ZodNumber;
                    prevContextTokens: z.ZodNumber;
                    newContextTokens: z.ZodNumber;
                    summary: z.ZodString;
                }, "strip", z.ZodTypeAny, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }>>;
                isProtected: z.ZodOptional<z.ZodBoolean>;
                apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
                isAnswered: z.ZodOptional<z.ZodBoolean>;
            }, "strip", z.ZodTypeAny, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }>>;
            queuedMessages: z.ZodOptional<z.ZodArray<z.ZodObject<{
                timestamp: z.ZodNumber;
                id: z.ZodString;
                text: z.ZodString;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            }, "strip", z.ZodTypeAny, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }>, "many">>;
            parentTaskId: z.ZodOptional<z.ZodString>;
            childTaskId: z.ZodOptional<z.ZodString>;
            tokenUsage: z.ZodOptional<z.ZodObject<{
                totalTokensIn: z.ZodNumber;
                totalTokensOut: z.ZodNumber;
                totalCacheWrites: z.ZodOptional<z.ZodNumber>;
                totalCacheReads: z.ZodOptional<z.ZodNumber>;
                totalCost: z.ZodNumber;
                contextTokens: z.ZodNumber;
            }, "strip", z.ZodTypeAny, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }>>;
        }, "strip", z.ZodTypeAny, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }>;
        taskAsk: z.ZodOptional<z.ZodObject<{
            ts: z.ZodNumber;
            type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
            ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
            say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
            text: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            partial: z.ZodOptional<z.ZodBoolean>;
            reasoning: z.ZodOptional<z.ZodString>;
            conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
            checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            progressStatus: z.ZodOptional<z.ZodObject<{
                icon: z.ZodOptional<z.ZodString>;
                text: z.ZodOptional<z.ZodString>;
            }, "strip", z.ZodTypeAny, {
                text?: string | undefined;
                icon?: string | undefined;
            }, {
                text?: string | undefined;
                icon?: string | undefined;
            }>>;
            contextCondense: z.ZodOptional<z.ZodObject<{
                cost: z.ZodNumber;
                prevContextTokens: z.ZodNumber;
                newContextTokens: z.ZodNumber;
                summary: z.ZodString;
            }, "strip", z.ZodTypeAny, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }>>;
            isProtected: z.ZodOptional<z.ZodBoolean>;
            apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
            isAnswered: z.ZodOptional<z.ZodBoolean>;
        }, "strip", z.ZodTypeAny, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }>>;
        taskHistory: z.ZodArray<z.ZodString, "many">;
        mode: z.ZodOptional<z.ZodString>;
        modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
            slug: z.ZodString;
            name: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            name: string;
            slug: string;
        }, {
            name: string;
            slug: string;
        }>, "many">>;
        providerProfile: z.ZodOptional<z.ZodString>;
        providerProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
            name: z.ZodString;
            provider: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            name: string;
            provider?: string | undefined;
        }, {
            name: string;
            provider?: string | undefined;
        }>, "many">>;
        isCloudAgent: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }>;
    timestamp: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    type: ExtensionBridgeEventName.TaskUserMessage;
    timestamp: number;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}, {
    type: ExtensionBridgeEventName.TaskUserMessage;
    timestamp: number;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}>, z.ZodObject<{
    type: z.ZodLiteral<ExtensionBridgeEventName.TaskTokenUsageUpdated>;
    instance: z.ZodObject<{
        instanceId: z.ZodString;
        userId: z.ZodString;
        workspacePath: z.ZodString;
        appProperties: z.ZodObject<{
            appName: z.ZodString;
            appVersion: z.ZodString;
            vscodeVersion: z.ZodString;
            platform: z.ZodString;
            editorName: z.ZodString;
            hostname: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }>;
        gitProperties: z.ZodOptional<z.ZodObject<{
            repositoryUrl: z.ZodOptional<z.ZodString>;
            repositoryName: z.ZodOptional<z.ZodString>;
            defaultBranch: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }>>;
        lastHeartbeat: z.ZodNumber;
        task: z.ZodObject<{
            task: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            taskId: z.ZodString;
            taskStatus: z.ZodNativeEnum<typeof TaskStatus>;
            taskAsk: z.ZodOptional<z.ZodObject<{
                ts: z.ZodNumber;
                type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
                ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
                say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
                text: z.ZodOptional<z.ZodString>;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
                partial: z.ZodOptional<z.ZodBoolean>;
                reasoning: z.ZodOptional<z.ZodString>;
                conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
                checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                progressStatus: z.ZodOptional<z.ZodObject<{
                    icon: z.ZodOptional<z.ZodString>;
                    text: z.ZodOptional<z.ZodString>;
                }, "strip", z.ZodTypeAny, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }>>;
                contextCondense: z.ZodOptional<z.ZodObject<{
                    cost: z.ZodNumber;
                    prevContextTokens: z.ZodNumber;
                    newContextTokens: z.ZodNumber;
                    summary: z.ZodString;
                }, "strip", z.ZodTypeAny, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }>>;
                isProtected: z.ZodOptional<z.ZodBoolean>;
                apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
                isAnswered: z.ZodOptional<z.ZodBoolean>;
            }, "strip", z.ZodTypeAny, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }>>;
            queuedMessages: z.ZodOptional<z.ZodArray<z.ZodObject<{
                timestamp: z.ZodNumber;
                id: z.ZodString;
                text: z.ZodString;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            }, "strip", z.ZodTypeAny, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }>, "many">>;
            parentTaskId: z.ZodOptional<z.ZodString>;
            childTaskId: z.ZodOptional<z.ZodString>;
            tokenUsage: z.ZodOptional<z.ZodObject<{
                totalTokensIn: z.ZodNumber;
                totalTokensOut: z.ZodNumber;
                totalCacheWrites: z.ZodOptional<z.ZodNumber>;
                totalCacheReads: z.ZodOptional<z.ZodNumber>;
                totalCost: z.ZodNumber;
                contextTokens: z.ZodNumber;
            }, "strip", z.ZodTypeAny, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }>>;
        }, "strip", z.ZodTypeAny, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }>;
        taskAsk: z.ZodOptional<z.ZodObject<{
            ts: z.ZodNumber;
            type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
            ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
            say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
            text: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            partial: z.ZodOptional<z.ZodBoolean>;
            reasoning: z.ZodOptional<z.ZodString>;
            conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
            checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            progressStatus: z.ZodOptional<z.ZodObject<{
                icon: z.ZodOptional<z.ZodString>;
                text: z.ZodOptional<z.ZodString>;
            }, "strip", z.ZodTypeAny, {
                text?: string | undefined;
                icon?: string | undefined;
            }, {
                text?: string | undefined;
                icon?: string | undefined;
            }>>;
            contextCondense: z.ZodOptional<z.ZodObject<{
                cost: z.ZodNumber;
                prevContextTokens: z.ZodNumber;
                newContextTokens: z.ZodNumber;
                summary: z.ZodString;
            }, "strip", z.ZodTypeAny, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }>>;
            isProtected: z.ZodOptional<z.ZodBoolean>;
            apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
            isAnswered: z.ZodOptional<z.ZodBoolean>;
        }, "strip", z.ZodTypeAny, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }>>;
        taskHistory: z.ZodArray<z.ZodString, "many">;
        mode: z.ZodOptional<z.ZodString>;
        modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
            slug: z.ZodString;
            name: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            name: string;
            slug: string;
        }, {
            name: string;
            slug: string;
        }>, "many">>;
        providerProfile: z.ZodOptional<z.ZodString>;
        providerProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
            name: z.ZodString;
            provider: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            name: string;
            provider?: string | undefined;
        }, {
            name: string;
            provider?: string | undefined;
        }>, "many">>;
        isCloudAgent: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }>;
    timestamp: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    type: ExtensionBridgeEventName.TaskTokenUsageUpdated;
    timestamp: number;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}, {
    type: ExtensionBridgeEventName.TaskTokenUsageUpdated;
    timestamp: number;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}>, z.ZodObject<{
    type: z.ZodLiteral<ExtensionBridgeEventName.ModeChanged>;
    instance: z.ZodObject<{
        instanceId: z.ZodString;
        userId: z.ZodString;
        workspacePath: z.ZodString;
        appProperties: z.ZodObject<{
            appName: z.ZodString;
            appVersion: z.ZodString;
            vscodeVersion: z.ZodString;
            platform: z.ZodString;
            editorName: z.ZodString;
            hostname: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }>;
        gitProperties: z.ZodOptional<z.ZodObject<{
            repositoryUrl: z.ZodOptional<z.ZodString>;
            repositoryName: z.ZodOptional<z.ZodString>;
            defaultBranch: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }>>;
        lastHeartbeat: z.ZodNumber;
        task: z.ZodObject<{
            task: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            taskId: z.ZodString;
            taskStatus: z.ZodNativeEnum<typeof TaskStatus>;
            taskAsk: z.ZodOptional<z.ZodObject<{
                ts: z.ZodNumber;
                type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
                ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
                say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
                text: z.ZodOptional<z.ZodString>;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
                partial: z.ZodOptional<z.ZodBoolean>;
                reasoning: z.ZodOptional<z.ZodString>;
                conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
                checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                progressStatus: z.ZodOptional<z.ZodObject<{
                    icon: z.ZodOptional<z.ZodString>;
                    text: z.ZodOptional<z.ZodString>;
                }, "strip", z.ZodTypeAny, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }>>;
                contextCondense: z.ZodOptional<z.ZodObject<{
                    cost: z.ZodNumber;
                    prevContextTokens: z.ZodNumber;
                    newContextTokens: z.ZodNumber;
                    summary: z.ZodString;
                }, "strip", z.ZodTypeAny, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }>>;
                isProtected: z.ZodOptional<z.ZodBoolean>;
                apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
                isAnswered: z.ZodOptional<z.ZodBoolean>;
            }, "strip", z.ZodTypeAny, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }>>;
            queuedMessages: z.ZodOptional<z.ZodArray<z.ZodObject<{
                timestamp: z.ZodNumber;
                id: z.ZodString;
                text: z.ZodString;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            }, "strip", z.ZodTypeAny, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }>, "many">>;
            parentTaskId: z.ZodOptional<z.ZodString>;
            childTaskId: z.ZodOptional<z.ZodString>;
            tokenUsage: z.ZodOptional<z.ZodObject<{
                totalTokensIn: z.ZodNumber;
                totalTokensOut: z.ZodNumber;
                totalCacheWrites: z.ZodOptional<z.ZodNumber>;
                totalCacheReads: z.ZodOptional<z.ZodNumber>;
                totalCost: z.ZodNumber;
                contextTokens: z.ZodNumber;
            }, "strip", z.ZodTypeAny, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }>>;
        }, "strip", z.ZodTypeAny, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }>;
        taskAsk: z.ZodOptional<z.ZodObject<{
            ts: z.ZodNumber;
            type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
            ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
            say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
            text: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            partial: z.ZodOptional<z.ZodBoolean>;
            reasoning: z.ZodOptional<z.ZodString>;
            conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
            checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            progressStatus: z.ZodOptional<z.ZodObject<{
                icon: z.ZodOptional<z.ZodString>;
                text: z.ZodOptional<z.ZodString>;
            }, "strip", z.ZodTypeAny, {
                text?: string | undefined;
                icon?: string | undefined;
            }, {
                text?: string | undefined;
                icon?: string | undefined;
            }>>;
            contextCondense: z.ZodOptional<z.ZodObject<{
                cost: z.ZodNumber;
                prevContextTokens: z.ZodNumber;
                newContextTokens: z.ZodNumber;
                summary: z.ZodString;
            }, "strip", z.ZodTypeAny, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }>>;
            isProtected: z.ZodOptional<z.ZodBoolean>;
            apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
            isAnswered: z.ZodOptional<z.ZodBoolean>;
        }, "strip", z.ZodTypeAny, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }>>;
        taskHistory: z.ZodArray<z.ZodString, "many">;
        mode: z.ZodOptional<z.ZodString>;
        modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
            slug: z.ZodString;
            name: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            name: string;
            slug: string;
        }, {
            name: string;
            slug: string;
        }>, "many">>;
        providerProfile: z.ZodOptional<z.ZodString>;
        providerProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
            name: z.ZodString;
            provider: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            name: string;
            provider?: string | undefined;
        }, {
            name: string;
            provider?: string | undefined;
        }>, "many">>;
        isCloudAgent: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }>;
    mode: z.ZodString;
    timestamp: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    type: ExtensionBridgeEventName.ModeChanged;
    timestamp: number;
    mode: string;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}, {
    type: ExtensionBridgeEventName.ModeChanged;
    timestamp: number;
    mode: string;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}>, z.ZodObject<{
    type: z.ZodLiteral<ExtensionBridgeEventName.ProviderProfileChanged>;
    instance: z.ZodObject<{
        instanceId: z.ZodString;
        userId: z.ZodString;
        workspacePath: z.ZodString;
        appProperties: z.ZodObject<{
            appName: z.ZodString;
            appVersion: z.ZodString;
            vscodeVersion: z.ZodString;
            platform: z.ZodString;
            editorName: z.ZodString;
            hostname: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }>;
        gitProperties: z.ZodOptional<z.ZodObject<{
            repositoryUrl: z.ZodOptional<z.ZodString>;
            repositoryName: z.ZodOptional<z.ZodString>;
            defaultBranch: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }>>;
        lastHeartbeat: z.ZodNumber;
        task: z.ZodObject<{
            task: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            taskId: z.ZodString;
            taskStatus: z.ZodNativeEnum<typeof TaskStatus>;
            taskAsk: z.ZodOptional<z.ZodObject<{
                ts: z.ZodNumber;
                type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
                ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
                say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
                text: z.ZodOptional<z.ZodString>;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
                partial: z.ZodOptional<z.ZodBoolean>;
                reasoning: z.ZodOptional<z.ZodString>;
                conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
                checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                progressStatus: z.ZodOptional<z.ZodObject<{
                    icon: z.ZodOptional<z.ZodString>;
                    text: z.ZodOptional<z.ZodString>;
                }, "strip", z.ZodTypeAny, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }>>;
                contextCondense: z.ZodOptional<z.ZodObject<{
                    cost: z.ZodNumber;
                    prevContextTokens: z.ZodNumber;
                    newContextTokens: z.ZodNumber;
                    summary: z.ZodString;
                }, "strip", z.ZodTypeAny, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }>>;
                isProtected: z.ZodOptional<z.ZodBoolean>;
                apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
                isAnswered: z.ZodOptional<z.ZodBoolean>;
            }, "strip", z.ZodTypeAny, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }>>;
            queuedMessages: z.ZodOptional<z.ZodArray<z.ZodObject<{
                timestamp: z.ZodNumber;
                id: z.ZodString;
                text: z.ZodString;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            }, "strip", z.ZodTypeAny, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }>, "many">>;
            parentTaskId: z.ZodOptional<z.ZodString>;
            childTaskId: z.ZodOptional<z.ZodString>;
            tokenUsage: z.ZodOptional<z.ZodObject<{
                totalTokensIn: z.ZodNumber;
                totalTokensOut: z.ZodNumber;
                totalCacheWrites: z.ZodOptional<z.ZodNumber>;
                totalCacheReads: z.ZodOptional<z.ZodNumber>;
                totalCost: z.ZodNumber;
                contextTokens: z.ZodNumber;
            }, "strip", z.ZodTypeAny, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }>>;
        }, "strip", z.ZodTypeAny, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }>;
        taskAsk: z.ZodOptional<z.ZodObject<{
            ts: z.ZodNumber;
            type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
            ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
            say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
            text: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            partial: z.ZodOptional<z.ZodBoolean>;
            reasoning: z.ZodOptional<z.ZodString>;
            conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
            checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            progressStatus: z.ZodOptional<z.ZodObject<{
                icon: z.ZodOptional<z.ZodString>;
                text: z.ZodOptional<z.ZodString>;
            }, "strip", z.ZodTypeAny, {
                text?: string | undefined;
                icon?: string | undefined;
            }, {
                text?: string | undefined;
                icon?: string | undefined;
            }>>;
            contextCondense: z.ZodOptional<z.ZodObject<{
                cost: z.ZodNumber;
                prevContextTokens: z.ZodNumber;
                newContextTokens: z.ZodNumber;
                summary: z.ZodString;
            }, "strip", z.ZodTypeAny, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }>>;
            isProtected: z.ZodOptional<z.ZodBoolean>;
            apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
            isAnswered: z.ZodOptional<z.ZodBoolean>;
        }, "strip", z.ZodTypeAny, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }>>;
        taskHistory: z.ZodArray<z.ZodString, "many">;
        mode: z.ZodOptional<z.ZodString>;
        modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
            slug: z.ZodString;
            name: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            name: string;
            slug: string;
        }, {
            name: string;
            slug: string;
        }>, "many">>;
        providerProfile: z.ZodOptional<z.ZodString>;
        providerProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
            name: z.ZodString;
            provider: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            name: string;
            provider?: string | undefined;
        }, {
            name: string;
            provider?: string | undefined;
        }>, "many">>;
        isCloudAgent: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }>;
    providerProfile: z.ZodObject<{
        name: z.ZodString;
        provider: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        name: string;
        provider?: string | undefined;
    }, {
        name: string;
        provider?: string | undefined;
    }>;
    timestamp: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    type: ExtensionBridgeEventName.ProviderProfileChanged;
    timestamp: number;
    providerProfile: {
        name: string;
        provider?: string | undefined;
    };
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}, {
    type: ExtensionBridgeEventName.ProviderProfileChanged;
    timestamp: number;
    providerProfile: {
        name: string;
        provider?: string | undefined;
    };
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}>, z.ZodObject<{
    type: z.ZodLiteral<ExtensionBridgeEventName.InstanceRegistered>;
    instance: z.ZodObject<{
        instanceId: z.ZodString;
        userId: z.ZodString;
        workspacePath: z.ZodString;
        appProperties: z.ZodObject<{
            appName: z.ZodString;
            appVersion: z.ZodString;
            vscodeVersion: z.ZodString;
            platform: z.ZodString;
            editorName: z.ZodString;
            hostname: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }>;
        gitProperties: z.ZodOptional<z.ZodObject<{
            repositoryUrl: z.ZodOptional<z.ZodString>;
            repositoryName: z.ZodOptional<z.ZodString>;
            defaultBranch: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }>>;
        lastHeartbeat: z.ZodNumber;
        task: z.ZodObject<{
            task: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            taskId: z.ZodString;
            taskStatus: z.ZodNativeEnum<typeof TaskStatus>;
            taskAsk: z.ZodOptional<z.ZodObject<{
                ts: z.ZodNumber;
                type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
                ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
                say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
                text: z.ZodOptional<z.ZodString>;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
                partial: z.ZodOptional<z.ZodBoolean>;
                reasoning: z.ZodOptional<z.ZodString>;
                conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
                checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                progressStatus: z.ZodOptional<z.ZodObject<{
                    icon: z.ZodOptional<z.ZodString>;
                    text: z.ZodOptional<z.ZodString>;
                }, "strip", z.ZodTypeAny, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }>>;
                contextCondense: z.ZodOptional<z.ZodObject<{
                    cost: z.ZodNumber;
                    prevContextTokens: z.ZodNumber;
                    newContextTokens: z.ZodNumber;
                    summary: z.ZodString;
                }, "strip", z.ZodTypeAny, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }>>;
                isProtected: z.ZodOptional<z.ZodBoolean>;
                apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
                isAnswered: z.ZodOptional<z.ZodBoolean>;
            }, "strip", z.ZodTypeAny, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }>>;
            queuedMessages: z.ZodOptional<z.ZodArray<z.ZodObject<{
                timestamp: z.ZodNumber;
                id: z.ZodString;
                text: z.ZodString;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            }, "strip", z.ZodTypeAny, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }>, "many">>;
            parentTaskId: z.ZodOptional<z.ZodString>;
            childTaskId: z.ZodOptional<z.ZodString>;
            tokenUsage: z.ZodOptional<z.ZodObject<{
                totalTokensIn: z.ZodNumber;
                totalTokensOut: z.ZodNumber;
                totalCacheWrites: z.ZodOptional<z.ZodNumber>;
                totalCacheReads: z.ZodOptional<z.ZodNumber>;
                totalCost: z.ZodNumber;
                contextTokens: z.ZodNumber;
            }, "strip", z.ZodTypeAny, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }>>;
        }, "strip", z.ZodTypeAny, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }>;
        taskAsk: z.ZodOptional<z.ZodObject<{
            ts: z.ZodNumber;
            type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
            ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
            say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
            text: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            partial: z.ZodOptional<z.ZodBoolean>;
            reasoning: z.ZodOptional<z.ZodString>;
            conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
            checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            progressStatus: z.ZodOptional<z.ZodObject<{
                icon: z.ZodOptional<z.ZodString>;
                text: z.ZodOptional<z.ZodString>;
            }, "strip", z.ZodTypeAny, {
                text?: string | undefined;
                icon?: string | undefined;
            }, {
                text?: string | undefined;
                icon?: string | undefined;
            }>>;
            contextCondense: z.ZodOptional<z.ZodObject<{
                cost: z.ZodNumber;
                prevContextTokens: z.ZodNumber;
                newContextTokens: z.ZodNumber;
                summary: z.ZodString;
            }, "strip", z.ZodTypeAny, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }>>;
            isProtected: z.ZodOptional<z.ZodBoolean>;
            apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
            isAnswered: z.ZodOptional<z.ZodBoolean>;
        }, "strip", z.ZodTypeAny, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }>>;
        taskHistory: z.ZodArray<z.ZodString, "many">;
        mode: z.ZodOptional<z.ZodString>;
        modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
            slug: z.ZodString;
            name: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            name: string;
            slug: string;
        }, {
            name: string;
            slug: string;
        }>, "many">>;
        providerProfile: z.ZodOptional<z.ZodString>;
        providerProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
            name: z.ZodString;
            provider: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            name: string;
            provider?: string | undefined;
        }, {
            name: string;
            provider?: string | undefined;
        }>, "many">>;
        isCloudAgent: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }>;
    timestamp: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    type: ExtensionBridgeEventName.InstanceRegistered;
    timestamp: number;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}, {
    type: ExtensionBridgeEventName.InstanceRegistered;
    timestamp: number;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}>, z.ZodObject<{
    type: z.ZodLiteral<ExtensionBridgeEventName.InstanceUnregistered>;
    instance: z.ZodObject<{
        instanceId: z.ZodString;
        userId: z.ZodString;
        workspacePath: z.ZodString;
        appProperties: z.ZodObject<{
            appName: z.ZodString;
            appVersion: z.ZodString;
            vscodeVersion: z.ZodString;
            platform: z.ZodString;
            editorName: z.ZodString;
            hostname: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }>;
        gitProperties: z.ZodOptional<z.ZodObject<{
            repositoryUrl: z.ZodOptional<z.ZodString>;
            repositoryName: z.ZodOptional<z.ZodString>;
            defaultBranch: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }>>;
        lastHeartbeat: z.ZodNumber;
        task: z.ZodObject<{
            task: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            taskId: z.ZodString;
            taskStatus: z.ZodNativeEnum<typeof TaskStatus>;
            taskAsk: z.ZodOptional<z.ZodObject<{
                ts: z.ZodNumber;
                type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
                ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
                say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
                text: z.ZodOptional<z.ZodString>;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
                partial: z.ZodOptional<z.ZodBoolean>;
                reasoning: z.ZodOptional<z.ZodString>;
                conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
                checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                progressStatus: z.ZodOptional<z.ZodObject<{
                    icon: z.ZodOptional<z.ZodString>;
                    text: z.ZodOptional<z.ZodString>;
                }, "strip", z.ZodTypeAny, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }>>;
                contextCondense: z.ZodOptional<z.ZodObject<{
                    cost: z.ZodNumber;
                    prevContextTokens: z.ZodNumber;
                    newContextTokens: z.ZodNumber;
                    summary: z.ZodString;
                }, "strip", z.ZodTypeAny, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }>>;
                isProtected: z.ZodOptional<z.ZodBoolean>;
                apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
                isAnswered: z.ZodOptional<z.ZodBoolean>;
            }, "strip", z.ZodTypeAny, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }>>;
            queuedMessages: z.ZodOptional<z.ZodArray<z.ZodObject<{
                timestamp: z.ZodNumber;
                id: z.ZodString;
                text: z.ZodString;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            }, "strip", z.ZodTypeAny, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }>, "many">>;
            parentTaskId: z.ZodOptional<z.ZodString>;
            childTaskId: z.ZodOptional<z.ZodString>;
            tokenUsage: z.ZodOptional<z.ZodObject<{
                totalTokensIn: z.ZodNumber;
                totalTokensOut: z.ZodNumber;
                totalCacheWrites: z.ZodOptional<z.ZodNumber>;
                totalCacheReads: z.ZodOptional<z.ZodNumber>;
                totalCost: z.ZodNumber;
                contextTokens: z.ZodNumber;
            }, "strip", z.ZodTypeAny, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }>>;
        }, "strip", z.ZodTypeAny, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }>;
        taskAsk: z.ZodOptional<z.ZodObject<{
            ts: z.ZodNumber;
            type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
            ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
            say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
            text: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            partial: z.ZodOptional<z.ZodBoolean>;
            reasoning: z.ZodOptional<z.ZodString>;
            conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
            checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            progressStatus: z.ZodOptional<z.ZodObject<{
                icon: z.ZodOptional<z.ZodString>;
                text: z.ZodOptional<z.ZodString>;
            }, "strip", z.ZodTypeAny, {
                text?: string | undefined;
                icon?: string | undefined;
            }, {
                text?: string | undefined;
                icon?: string | undefined;
            }>>;
            contextCondense: z.ZodOptional<z.ZodObject<{
                cost: z.ZodNumber;
                prevContextTokens: z.ZodNumber;
                newContextTokens: z.ZodNumber;
                summary: z.ZodString;
            }, "strip", z.ZodTypeAny, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }>>;
            isProtected: z.ZodOptional<z.ZodBoolean>;
            apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
            isAnswered: z.ZodOptional<z.ZodBoolean>;
        }, "strip", z.ZodTypeAny, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }>>;
        taskHistory: z.ZodArray<z.ZodString, "many">;
        mode: z.ZodOptional<z.ZodString>;
        modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
            slug: z.ZodString;
            name: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            name: string;
            slug: string;
        }, {
            name: string;
            slug: string;
        }>, "many">>;
        providerProfile: z.ZodOptional<z.ZodString>;
        providerProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
            name: z.ZodString;
            provider: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            name: string;
            provider?: string | undefined;
        }, {
            name: string;
            provider?: string | undefined;
        }>, "many">>;
        isCloudAgent: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }>;
    timestamp: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    type: ExtensionBridgeEventName.InstanceUnregistered;
    timestamp: number;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}, {
    type: ExtensionBridgeEventName.InstanceUnregistered;
    timestamp: number;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}>, z.ZodObject<{
    type: z.ZodLiteral<ExtensionBridgeEventName.HeartbeatUpdated>;
    instance: z.ZodObject<{
        instanceId: z.ZodString;
        userId: z.ZodString;
        workspacePath: z.ZodString;
        appProperties: z.ZodObject<{
            appName: z.ZodString;
            appVersion: z.ZodString;
            vscodeVersion: z.ZodString;
            platform: z.ZodString;
            editorName: z.ZodString;
            hostname: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }, {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        }>;
        gitProperties: z.ZodOptional<z.ZodObject<{
            repositoryUrl: z.ZodOptional<z.ZodString>;
            repositoryName: z.ZodOptional<z.ZodString>;
            defaultBranch: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }, {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        }>>;
        lastHeartbeat: z.ZodNumber;
        task: z.ZodObject<{
            task: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            taskId: z.ZodString;
            taskStatus: z.ZodNativeEnum<typeof TaskStatus>;
            taskAsk: z.ZodOptional<z.ZodObject<{
                ts: z.ZodNumber;
                type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
                ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
                say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
                text: z.ZodOptional<z.ZodString>;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
                partial: z.ZodOptional<z.ZodBoolean>;
                reasoning: z.ZodOptional<z.ZodString>;
                conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
                checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                progressStatus: z.ZodOptional<z.ZodObject<{
                    icon: z.ZodOptional<z.ZodString>;
                    text: z.ZodOptional<z.ZodString>;
                }, "strip", z.ZodTypeAny, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }, {
                    text?: string | undefined;
                    icon?: string | undefined;
                }>>;
                contextCondense: z.ZodOptional<z.ZodObject<{
                    cost: z.ZodNumber;
                    prevContextTokens: z.ZodNumber;
                    newContextTokens: z.ZodNumber;
                    summary: z.ZodString;
                }, "strip", z.ZodTypeAny, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }, {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                }>>;
                isProtected: z.ZodOptional<z.ZodBoolean>;
                apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
                isAnswered: z.ZodOptional<z.ZodBoolean>;
            }, "strip", z.ZodTypeAny, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }, {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            }>>;
            queuedMessages: z.ZodOptional<z.ZodArray<z.ZodObject<{
                timestamp: z.ZodNumber;
                id: z.ZodString;
                text: z.ZodString;
                images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            }, "strip", z.ZodTypeAny, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }, {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }>, "many">>;
            parentTaskId: z.ZodOptional<z.ZodString>;
            childTaskId: z.ZodOptional<z.ZodString>;
            tokenUsage: z.ZodOptional<z.ZodObject<{
                totalTokensIn: z.ZodNumber;
                totalTokensOut: z.ZodNumber;
                totalCacheWrites: z.ZodOptional<z.ZodNumber>;
                totalCacheReads: z.ZodOptional<z.ZodNumber>;
                totalCost: z.ZodNumber;
                contextTokens: z.ZodNumber;
            }, "strip", z.ZodTypeAny, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }, {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            }>>;
        }, "strip", z.ZodTypeAny, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }, {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        }>;
        taskAsk: z.ZodOptional<z.ZodObject<{
            ts: z.ZodNumber;
            type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
            ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
            say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
            text: z.ZodOptional<z.ZodString>;
            images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            partial: z.ZodOptional<z.ZodBoolean>;
            reasoning: z.ZodOptional<z.ZodString>;
            conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
            checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            progressStatus: z.ZodOptional<z.ZodObject<{
                icon: z.ZodOptional<z.ZodString>;
                text: z.ZodOptional<z.ZodString>;
            }, "strip", z.ZodTypeAny, {
                text?: string | undefined;
                icon?: string | undefined;
            }, {
                text?: string | undefined;
                icon?: string | undefined;
            }>>;
            contextCondense: z.ZodOptional<z.ZodObject<{
                cost: z.ZodNumber;
                prevContextTokens: z.ZodNumber;
                newContextTokens: z.ZodNumber;
                summary: z.ZodString;
            }, "strip", z.ZodTypeAny, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }, {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            }>>;
            isProtected: z.ZodOptional<z.ZodBoolean>;
            apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
            isAnswered: z.ZodOptional<z.ZodBoolean>;
        }, "strip", z.ZodTypeAny, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }, {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        }>>;
        taskHistory: z.ZodArray<z.ZodString, "many">;
        mode: z.ZodOptional<z.ZodString>;
        modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
            slug: z.ZodString;
            name: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            name: string;
            slug: string;
        }, {
            name: string;
            slug: string;
        }>, "many">>;
        providerProfile: z.ZodOptional<z.ZodString>;
        providerProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
            name: z.ZodString;
            provider: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            name: string;
            provider?: string | undefined;
        }, {
            name: string;
            provider?: string | undefined;
        }>, "many">>;
        isCloudAgent: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }, {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    }>;
    timestamp: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    type: ExtensionBridgeEventName.HeartbeatUpdated;
    timestamp: number;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}, {
    type: ExtensionBridgeEventName.HeartbeatUpdated;
    timestamp: number;
    instance: {
        task: {
            taskId: string;
            taskStatus: TaskStatus;
            images?: string[] | undefined;
            parentTaskId?: string | undefined;
            task?: string | undefined;
            taskAsk?: {
                type: "ask" | "say";
                ts: number;
                text?: string | undefined;
                reasoning?: string | undefined;
                ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
                say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
                images?: string[] | undefined;
                partial?: boolean | undefined;
                conversationHistoryIndex?: number | undefined;
                checkpoint?: Record<string, unknown> | undefined;
                progressStatus?: {
                    text?: string | undefined;
                    icon?: string | undefined;
                } | undefined;
                contextCondense?: {
                    cost: number;
                    prevContextTokens: number;
                    newContextTokens: number;
                    summary: string;
                } | undefined;
                isProtected?: boolean | undefined;
                apiProtocol?: "openai" | "anthropic" | undefined;
                isAnswered?: boolean | undefined;
            } | undefined;
            queuedMessages?: {
                text: string;
                timestamp: number;
                id: string;
                images?: string[] | undefined;
            }[] | undefined;
            childTaskId?: string | undefined;
            tokenUsage?: {
                totalTokensIn: number;
                totalTokensOut: number;
                totalCost: number;
                contextTokens: number;
                totalCacheWrites?: number | undefined;
                totalCacheReads?: number | undefined;
            } | undefined;
        };
        taskHistory: string[];
        instanceId: string;
        userId: string;
        workspacePath: string;
        appProperties: {
            appName: string;
            appVersion: string;
            vscodeVersion: string;
            platform: string;
            editorName: string;
            hostname?: string | undefined;
        };
        lastHeartbeat: number;
        modes?: {
            name: string;
            slug: string;
        }[] | undefined;
        mode?: string | undefined;
        providerProfiles?: {
            name: string;
            provider?: string | undefined;
        }[] | undefined;
        taskAsk?: {
            type: "ask" | "say";
            ts: number;
            text?: string | undefined;
            reasoning?: string | undefined;
            ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
            say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
            images?: string[] | undefined;
            partial?: boolean | undefined;
            conversationHistoryIndex?: number | undefined;
            checkpoint?: Record<string, unknown> | undefined;
            progressStatus?: {
                text?: string | undefined;
                icon?: string | undefined;
            } | undefined;
            contextCondense?: {
                cost: number;
                prevContextTokens: number;
                newContextTokens: number;
                summary: string;
            } | undefined;
            isProtected?: boolean | undefined;
            apiProtocol?: "openai" | "anthropic" | undefined;
            isAnswered?: boolean | undefined;
        } | undefined;
        gitProperties?: {
            repositoryUrl?: string | undefined;
            repositoryName?: string | undefined;
            defaultBranch?: string | undefined;
        } | undefined;
        providerProfile?: string | undefined;
        isCloudAgent?: boolean | undefined;
    };
}>]>;
type ExtensionBridgeEvent = z.infer<typeof extensionBridgeEventSchema>;
/**
 * ExtensionBridgeCommand
 */
declare enum ExtensionBridgeCommandName {
    StartTask = "start_task",
    StopTask = "stop_task",
    ResumeTask = "resume_task"
}
declare const extensionBridgeCommandSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
    type: z.ZodLiteral<ExtensionBridgeCommandName.StartTask>;
    instanceId: z.ZodString;
    payload: z.ZodObject<{
        text: z.ZodString;
        images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        mode: z.ZodOptional<z.ZodString>;
        providerProfile: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        text: string;
        images?: string[] | undefined;
        mode?: string | undefined;
        providerProfile?: string | undefined;
    }, {
        text: string;
        images?: string[] | undefined;
        mode?: string | undefined;
        providerProfile?: string | undefined;
    }>;
    timestamp: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    type: ExtensionBridgeCommandName.StartTask;
    timestamp: number;
    payload: {
        text: string;
        images?: string[] | undefined;
        mode?: string | undefined;
        providerProfile?: string | undefined;
    };
    instanceId: string;
}, {
    type: ExtensionBridgeCommandName.StartTask;
    timestamp: number;
    payload: {
        text: string;
        images?: string[] | undefined;
        mode?: string | undefined;
        providerProfile?: string | undefined;
    };
    instanceId: string;
}>, z.ZodObject<{
    type: z.ZodLiteral<ExtensionBridgeCommandName.StopTask>;
    instanceId: z.ZodString;
    payload: z.ZodObject<{
        taskId: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        taskId: string;
    }, {
        taskId: string;
    }>;
    timestamp: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    type: ExtensionBridgeCommandName.StopTask;
    timestamp: number;
    payload: {
        taskId: string;
    };
    instanceId: string;
}, {
    type: ExtensionBridgeCommandName.StopTask;
    timestamp: number;
    payload: {
        taskId: string;
    };
    instanceId: string;
}>, z.ZodObject<{
    type: z.ZodLiteral<ExtensionBridgeCommandName.ResumeTask>;
    instanceId: z.ZodString;
    payload: z.ZodObject<{
        taskId: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        taskId: string;
    }, {
        taskId: string;
    }>;
    timestamp: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    type: ExtensionBridgeCommandName.ResumeTask;
    timestamp: number;
    payload: {
        taskId: string;
    };
    instanceId: string;
}, {
    type: ExtensionBridgeCommandName.ResumeTask;
    timestamp: number;
    payload: {
        taskId: string;
    };
    instanceId: string;
}>]>;
type ExtensionBridgeCommand = z.infer<typeof extensionBridgeCommandSchema>;
/**
 * TaskBridgeEvent
 */
declare enum TaskBridgeEventName {
    Message = "message",
    TaskModeSwitched = "taskModeSwitched",
    TaskInteractive = "taskInteractive"
}
declare const taskBridgeEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
    type: z.ZodLiteral<TaskBridgeEventName.Message>;
    taskId: z.ZodString;
    action: z.ZodString;
    message: z.ZodObject<{
        ts: z.ZodNumber;
        type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
        ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
        say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "image", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
        text: z.ZodOptional<z.ZodString>;
        images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        partial: z.ZodOptional<z.ZodBoolean>;
        reasoning: z.ZodOptional<z.ZodString>;
        conversationHistoryIndex: z.ZodOptional<z.ZodNumber>;
        checkpoint: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        progressStatus: z.ZodOptional<z.ZodObject<{
            icon: z.ZodOptional<z.ZodString>;
            text: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            text?: string | undefined;
            icon?: string | undefined;
        }, {
            text?: string | undefined;
            icon?: string | undefined;
        }>>;
        contextCondense: z.ZodOptional<z.ZodObject<{
            cost: z.ZodNumber;
            prevContextTokens: z.ZodNumber;
            newContextTokens: z.ZodNumber;
            summary: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            cost: number;
            prevContextTokens: number;
            newContextTokens: number;
            summary: string;
        }, {
            cost: number;
            prevContextTokens: number;
            newContextTokens: number;
            summary: string;
        }>>;
        isProtected: z.ZodOptional<z.ZodBoolean>;
        apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
        isAnswered: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        type: "ask" | "say";
        ts: number;
        text?: string | undefined;
        reasoning?: string | undefined;
        ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
        say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
        images?: string[] | undefined;
        partial?: boolean | undefined;
        conversationHistoryIndex?: number | undefined;
        checkpoint?: Record<string, unknown> | undefined;
        progressStatus?: {
            text?: string | undefined;
            icon?: string | undefined;
        } | undefined;
        contextCondense?: {
            cost: number;
            prevContextTokens: number;
            newContextTokens: number;
            summary: string;
        } | undefined;
        isProtected?: boolean | undefined;
        apiProtocol?: "openai" | "anthropic" | undefined;
        isAnswered?: boolean | undefined;
    }, {
        type: "ask" | "say";
        ts: number;
        text?: string | undefined;
        reasoning?: string | undefined;
        ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
        say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
        images?: string[] | undefined;
        partial?: boolean | undefined;
        conversationHistoryIndex?: number | undefined;
        checkpoint?: Record<string, unknown> | undefined;
        progressStatus?: {
            text?: string | undefined;
            icon?: string | undefined;
        } | undefined;
        contextCondense?: {
            cost: number;
            prevContextTokens: number;
            newContextTokens: number;
            summary: string;
        } | undefined;
        isProtected?: boolean | undefined;
        apiProtocol?: "openai" | "anthropic" | undefined;
        isAnswered?: boolean | undefined;
    }>;
}, "strip", z.ZodTypeAny, {
    message: {
        type: "ask" | "say";
        ts: number;
        text?: string | undefined;
        reasoning?: string | undefined;
        ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
        say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
        images?: string[] | undefined;
        partial?: boolean | undefined;
        conversationHistoryIndex?: number | undefined;
        checkpoint?: Record<string, unknown> | undefined;
        progressStatus?: {
            text?: string | undefined;
            icon?: string | undefined;
        } | undefined;
        contextCondense?: {
            cost: number;
            prevContextTokens: number;
            newContextTokens: number;
            summary: string;
        } | undefined;
        isProtected?: boolean | undefined;
        apiProtocol?: "openai" | "anthropic" | undefined;
        isAnswered?: boolean | undefined;
    };
    type: TaskBridgeEventName.Message;
    taskId: string;
    action: string;
}, {
    message: {
        type: "ask" | "say";
        ts: number;
        text?: string | undefined;
        reasoning?: string | undefined;
        ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
        say?: "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "image" | "reasoning" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
        images?: string[] | undefined;
        partial?: boolean | undefined;
        conversationHistoryIndex?: number | undefined;
        checkpoint?: Record<string, unknown> | undefined;
        progressStatus?: {
            text?: string | undefined;
            icon?: string | undefined;
        } | undefined;
        contextCondense?: {
            cost: number;
            prevContextTokens: number;
            newContextTokens: number;
            summary: string;
        } | undefined;
        isProtected?: boolean | undefined;
        apiProtocol?: "openai" | "anthropic" | undefined;
        isAnswered?: boolean | undefined;
    };
    type: TaskBridgeEventName.Message;
    taskId: string;
    action: string;
}>, z.ZodObject<{
    type: z.ZodLiteral<TaskBridgeEventName.TaskModeSwitched>;
    taskId: z.ZodString;
    mode: z.ZodString;
}, "strip", z.ZodTypeAny, {
    type: TaskBridgeEventName.TaskModeSwitched;
    taskId: string;
    mode: string;
}, {
    type: TaskBridgeEventName.TaskModeSwitched;
    taskId: string;
    mode: string;
}>, z.ZodObject<{
    type: z.ZodLiteral<TaskBridgeEventName.TaskInteractive>;
    taskId: z.ZodString;
}, "strip", z.ZodTypeAny, {
    type: TaskBridgeEventName.TaskInteractive;
    taskId: string;
}, {
    type: TaskBridgeEventName.TaskInteractive;
    taskId: string;
}>]>;
type TaskBridgeEvent = z.infer<typeof taskBridgeEventSchema>;
/**
 * TaskBridgeCommand
 */
declare enum TaskBridgeCommandName {
    Message = "message",
    ApproveAsk = "approve_ask",
    DenyAsk = "deny_ask"
}
declare const taskBridgeCommandSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
    type: z.ZodLiteral<TaskBridgeCommandName.Message>;
    taskId: z.ZodString;
    payload: z.ZodObject<{
        text: z.ZodString;
        images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        mode: z.ZodOptional<z.ZodString>;
        providerProfile: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        text: string;
        images?: string[] | undefined;
        mode?: string | undefined;
        providerProfile?: string | undefined;
    }, {
        text: string;
        images?: string[] | undefined;
        mode?: string | undefined;
        providerProfile?: string | undefined;
    }>;
    timestamp: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    type: TaskBridgeCommandName.Message;
    timestamp: number;
    taskId: string;
    payload: {
        text: string;
        images?: string[] | undefined;
        mode?: string | undefined;
        providerProfile?: string | undefined;
    };
}, {
    type: TaskBridgeCommandName.Message;
    timestamp: number;
    taskId: string;
    payload: {
        text: string;
        images?: string[] | undefined;
        mode?: string | undefined;
        providerProfile?: string | undefined;
    };
}>, z.ZodObject<{
    type: z.ZodLiteral<TaskBridgeCommandName.ApproveAsk>;
    taskId: z.ZodString;
    payload: z.ZodObject<{
        text: z.ZodOptional<z.ZodString>;
        images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    }, "strip", z.ZodTypeAny, {
        text?: string | undefined;
        images?: string[] | undefined;
    }, {
        text?: string | undefined;
        images?: string[] | undefined;
    }>;
    timestamp: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    type: TaskBridgeCommandName.ApproveAsk;
    timestamp: number;
    taskId: string;
    payload: {
        text?: string | undefined;
        images?: string[] | undefined;
    };
}, {
    type: TaskBridgeCommandName.ApproveAsk;
    timestamp: number;
    taskId: string;
    payload: {
        text?: string | undefined;
        images?: string[] | undefined;
    };
}>, z.ZodObject<{
    type: z.ZodLiteral<TaskBridgeCommandName.DenyAsk>;
    taskId: z.ZodString;
    payload: z.ZodObject<{
        text: z.ZodOptional<z.ZodString>;
        images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    }, "strip", z.ZodTypeAny, {
        text?: string | undefined;
        images?: string[] | undefined;
    }, {
        text?: string | undefined;
        images?: string[] | undefined;
    }>;
    timestamp: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    type: TaskBridgeCommandName.DenyAsk;
    timestamp: number;
    taskId: string;
    payload: {
        text?: string | undefined;
        images?: string[] | undefined;
    };
}, {
    type: TaskBridgeCommandName.DenyAsk;
    timestamp: number;
    taskId: string;
    payload: {
        text?: string | undefined;
        images?: string[] | undefined;
    };
}>]>;
type TaskBridgeCommand = z.infer<typeof taskBridgeCommandSchema>;
/**
 * ExtensionSocketEvents
 */
declare enum ExtensionSocketEvents {
    CONNECTED = "extension:connected",
    REGISTER = "extension:register",
    UNREGISTER = "extension:unregister",
    HEARTBEAT = "extension:heartbeat",
    EVENT = "extension:event",// event from extension instance
    RELAYED_EVENT = "extension:relayed_event",// relay from server
    COMMAND = "extension:command",// command from user
    RELAYED_COMMAND = "extension:relayed_command"
}
/**
 * TaskSocketEvents
 */
declare enum TaskSocketEvents {
    JOIN = "task:join",
    LEAVE = "task:leave",
    EVENT = "task:event",// event from extension task
    RELAYED_EVENT = "task:relayed_event",// relay from server
    COMMAND = "task:command",// command from user
    RELAYED_COMMAND = "task:relayed_command"
}
/**
 * `emit()` Response Types
 */
type JoinResponse = {
    success: boolean;
    error?: string;
    taskId?: string;
    timestamp?: string;
};
type LeaveResponse = {
    success: boolean;
    taskId?: string;
    timestamp?: string;
};
/**
 * UsageStats
 */
declare const usageStatsSchema: z.ZodObject<{
    success: z.ZodBoolean;
    data: z.ZodObject<{
        dates: z.ZodArray<z.ZodString, "many">;
        tasks: z.ZodArray<z.ZodNumber, "many">;
        tokens: z.ZodArray<z.ZodNumber, "many">;
        costs: z.ZodArray<z.ZodNumber, "many">;
        totals: z.ZodObject<{
            tasks: z.ZodNumber;
            tokens: z.ZodNumber;
            cost: z.ZodNumber;
        }, "strip", z.ZodTypeAny, {
            cost: number;
            tasks: number;
            tokens: number;
        }, {
            cost: number;
            tasks: number;
            tokens: number;
        }>;
    }, "strip", z.ZodTypeAny, {
        dates: string[];
        tasks: number[];
        tokens: number[];
        costs: number[];
        totals: {
            cost: number;
            tasks: number;
            tokens: number;
        };
    }, {
        dates: string[];
        tasks: number[];
        tokens: number[];
        costs: number[];
        totals: {
            cost: number;
            tasks: number;
            tokens: number;
        };
    }>;
    period: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    data: {
        dates: string[];
        tasks: number[];
        tokens: number[];
        costs: number[];
        totals: {
            cost: number;
            tasks: number;
            tokens: number;
        };
    };
    success: boolean;
    period: number;
}, {
    data: {
        dates: string[];
        tasks: number[];
        tokens: number[];
        costs: number[];
        totals: {
            cost: number;
            tasks: number;
            tokens: number;
        };
    };
    success: boolean;
    period: number;
}>;
type UsageStats = z.infer<typeof usageStatsSchema>;

/**
 * Codebase Index Constants
 */
declare const CODEBASE_INDEX_DEFAULTS: {
    readonly MIN_SEARCH_RESULTS: 10;
    readonly MAX_SEARCH_RESULTS: 200;
    readonly DEFAULT_SEARCH_RESULTS: 50;
    readonly SEARCH_RESULTS_STEP: 10;
    readonly MIN_SEARCH_SCORE: 0;
    readonly MAX_SEARCH_SCORE: 1;
    readonly DEFAULT_SEARCH_MIN_SCORE: 0.4;
    readonly SEARCH_SCORE_STEP: 0.05;
};
/**
 * CodebaseIndexConfig
 */
declare const codebaseIndexConfigSchema: z.ZodObject<{
    codebaseIndexEnabled: z.ZodOptional<z.ZodBoolean>;
    codebaseIndexQdrantUrl: z.ZodOptional<z.ZodString>;
    codebaseIndexEmbedderProvider: z.ZodOptional<z.ZodEnum<["openai", "ollama", "openai-compatible", "gemini", "mistral", "vercel-ai-gateway", "openrouter"]>>;
    codebaseIndexEmbedderBaseUrl: z.ZodOptional<z.ZodString>;
    codebaseIndexEmbedderModelId: z.ZodOptional<z.ZodString>;
    codebaseIndexEmbedderModelDimension: z.ZodOptional<z.ZodNumber>;
    codebaseIndexSearchMinScore: z.ZodOptional<z.ZodNumber>;
    codebaseIndexSearchMaxResults: z.ZodOptional<z.ZodNumber>;
    codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
    codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
    codebaseIndexEnabled?: boolean | undefined;
    codebaseIndexQdrantUrl?: string | undefined;
    codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | undefined;
    codebaseIndexEmbedderBaseUrl?: string | undefined;
    codebaseIndexEmbedderModelId?: string | undefined;
    codebaseIndexEmbedderModelDimension?: number | undefined;
    codebaseIndexSearchMinScore?: number | undefined;
    codebaseIndexSearchMaxResults?: number | undefined;
    codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
    codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
}, {
    codebaseIndexEnabled?: boolean | undefined;
    codebaseIndexQdrantUrl?: string | undefined;
    codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | undefined;
    codebaseIndexEmbedderBaseUrl?: string | undefined;
    codebaseIndexEmbedderModelId?: string | undefined;
    codebaseIndexEmbedderModelDimension?: number | undefined;
    codebaseIndexSearchMinScore?: number | undefined;
    codebaseIndexSearchMaxResults?: number | undefined;
    codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
    codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
}>;
type CodebaseIndexConfig = z.infer<typeof codebaseIndexConfigSchema>;
/**
 * CodebaseIndexModels
 */
declare const codebaseIndexModelsSchema: z.ZodObject<{
    openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
        dimension: z.ZodNumber;
    }, "strip", z.ZodTypeAny, {
        dimension: number;
    }, {
        dimension: number;
    }>>>;
    ollama: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
        dimension: z.ZodNumber;
    }, "strip", z.ZodTypeAny, {
        dimension: number;
    }, {
        dimension: number;
    }>>>;
    "openai-compatible": z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
        dimension: z.ZodNumber;
    }, "strip", z.ZodTypeAny, {
        dimension: number;
    }, {
        dimension: number;
    }>>>;
    gemini: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
        dimension: z.ZodNumber;
    }, "strip", z.ZodTypeAny, {
        dimension: number;
    }, {
        dimension: number;
    }>>>;
    mistral: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
        dimension: z.ZodNumber;
    }, "strip", z.ZodTypeAny, {
        dimension: number;
    }, {
        dimension: number;
    }>>>;
    "vercel-ai-gateway": z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
        dimension: z.ZodNumber;
    }, "strip", z.ZodTypeAny, {
        dimension: number;
    }, {
        dimension: number;
    }>>>;
    openrouter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
        dimension: z.ZodNumber;
    }, "strip", z.ZodTypeAny, {
        dimension: number;
    }, {
        dimension: number;
    }>>>;
}, "strip", z.ZodTypeAny, {
    openai?: Record<string, {
        dimension: number;
    }> | undefined;
    ollama?: Record<string, {
        dimension: number;
    }> | undefined;
    "openai-compatible"?: Record<string, {
        dimension: number;
    }> | undefined;
    gemini?: Record<string, {
        dimension: number;
    }> | undefined;
    mistral?: Record<string, {
        dimension: number;
    }> | undefined;
    "vercel-ai-gateway"?: Record<string, {
        dimension: number;
    }> | undefined;
    openrouter?: Record<string, {
        dimension: number;
    }> | undefined;
}, {
    openai?: Record<string, {
        dimension: number;
    }> | undefined;
    ollama?: Record<string, {
        dimension: number;
    }> | undefined;
    "openai-compatible"?: Record<string, {
        dimension: number;
    }> | undefined;
    gemini?: Record<string, {
        dimension: number;
    }> | undefined;
    mistral?: Record<string, {
        dimension: number;
    }> | undefined;
    "vercel-ai-gateway"?: Record<string, {
        dimension: number;
    }> | undefined;
    openrouter?: Record<string, {
        dimension: number;
    }> | undefined;
}>;
type CodebaseIndexModels = z.infer<typeof codebaseIndexModelsSchema>;
/**
 * CdebaseIndexProvider
 */
declare const codebaseIndexProviderSchema: z.ZodObject<{
    codeIndexOpenAiKey: z.ZodOptional<z.ZodString>;
    codeIndexQdrantApiKey: z.ZodOptional<z.ZodString>;
    codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
    codebaseIndexOpenAiCompatibleApiKey: z.ZodOptional<z.ZodString>;
    codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
    codebaseIndexGeminiApiKey: z.ZodOptional<z.ZodString>;
    codebaseIndexMistralApiKey: z.ZodOptional<z.ZodString>;
    codebaseIndexVercelAiGatewayApiKey: z.ZodOptional<z.ZodString>;
    codebaseIndexOpenRouterApiKey: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
    codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
    codeIndexOpenAiKey?: string | undefined;
    codeIndexQdrantApiKey?: string | undefined;
    codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
    codebaseIndexGeminiApiKey?: string | undefined;
    codebaseIndexMistralApiKey?: string | undefined;
    codebaseIndexVercelAiGatewayApiKey?: string | undefined;
    codebaseIndexOpenRouterApiKey?: string | undefined;
}, {
    codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
    codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
    codeIndexOpenAiKey?: string | undefined;
    codeIndexQdrantApiKey?: string | undefined;
    codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
    codebaseIndexGeminiApiKey?: string | undefined;
    codebaseIndexMistralApiKey?: string | undefined;
    codebaseIndexVercelAiGatewayApiKey?: string | undefined;
    codebaseIndexOpenRouterApiKey?: string | undefined;
}>;
type CodebaseIndexProvider = z.infer<typeof codebaseIndexProviderSchema>;

/**
 * Cookie consent constants and types
 * Shared across all Roo Code repositories
 */
/**
 * The name of the cookie that stores user's consent preference
 * Used by react-cookie-consent library
 */
declare const CONSENT_COOKIE_NAME = "roo-code-cookie-consent";
/**
 * Possible values for the consent cookie
 */
type ConsentCookieValue = "true" | "false";
/**
 * Cookie consent event names for communication between components
 */
declare const COOKIE_CONSENT_EVENTS: {
    readonly CHANGED: "cookieConsentChanged";
};

/**
 * ExperimentId
 */
declare const experimentIds: readonly ["powerSteering", "multiFileApplyDiff", "preventFocusDisruption", "imageGeneration", "runSlashCommand", "nativeToolCalling"];
declare const experimentIdsSchema: z.ZodEnum<["powerSteering", "multiFileApplyDiff", "preventFocusDisruption", "imageGeneration", "runSlashCommand", "nativeToolCalling"]>;
type ExperimentId = z.infer<typeof experimentIdsSchema>;
/**
 * Experiments
 */
declare const experimentsSchema: z.ZodObject<{
    powerSteering: z.ZodOptional<z.ZodBoolean>;
    multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
    preventFocusDisruption: z.ZodOptional<z.ZodBoolean>;
    imageGeneration: z.ZodOptional<z.ZodBoolean>;
    runSlashCommand: z.ZodOptional<z.ZodBoolean>;
    nativeToolCalling: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
    powerSteering?: boolean | undefined;
    multiFileApplyDiff?: boolean | undefined;
    preventFocusDisruption?: boolean | undefined;
    imageGeneration?: boolean | undefined;
    runSlashCommand?: boolean | undefined;
    nativeToolCalling?: boolean | undefined;
}, {
    powerSteering?: boolean | undefined;
    multiFileApplyDiff?: boolean | undefined;
    preventFocusDisruption?: boolean | undefined;
    imageGeneration?: boolean | undefined;
    runSlashCommand?: boolean | undefined;
    nativeToolCalling?: boolean | undefined;
}>;
type Experiments = z.infer<typeof experimentsSchema>;

/**
 * Interface for follow-up data structure used in follow-up questions
 * This represents the data structure for follow-up questions that the LLM can ask
 * to gather more information needed to complete a task.
 */
interface FollowUpData {
    /** The question being asked by the LLM */
    question?: string;
    /** Array of suggested answers that the user can select */
    suggest?: Array<SuggestionItem>;
}
/**
 * Interface for a suggestion item with optional mode switching
 */
interface SuggestionItem {
    /** The text of the suggestion */
    answer: string;
    /** Optional mode to switch to when selecting this suggestion */
    mode?: string;
}
/**
 * Zod schema for SuggestionItem
 */
declare const suggestionItemSchema: z.ZodObject<{
    answer: z.ZodString;
    mode: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    answer: string;
    mode?: string | undefined;
}, {
    answer: string;
    mode?: string | undefined;
}>;
/**
 * Zod schema for FollowUpData
 */
declare const followUpDataSchema: z.ZodObject<{
    question: z.ZodOptional<z.ZodString>;
    suggest: z.ZodOptional<z.ZodArray<z.ZodObject<{
        answer: z.ZodString;
        mode: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        answer: string;
        mode?: string | undefined;
    }, {
        answer: string;
        mode?: string | undefined;
    }>, "many">>;
}, "strip", z.ZodTypeAny, {
    question?: string | undefined;
    suggest?: {
        answer: string;
        mode?: string | undefined;
    }[] | undefined;
}, {
    question?: string | undefined;
    suggest?: {
        answer: string;
        mode?: string | undefined;
    }[] | undefined;
}>;
type FollowUpDataType = z.infer<typeof followUpDataSchema>;

/**
 * HistoryItem
 */
declare const historyItemSchema: z.ZodObject<{
    id: z.ZodString;
    rootTaskId: z.ZodOptional<z.ZodString>;
    parentTaskId: z.ZodOptional<z.ZodString>;
    number: z.ZodNumber;
    ts: z.ZodNumber;
    task: z.ZodString;
    tokensIn: z.ZodNumber;
    tokensOut: z.ZodNumber;
    cacheWrites: z.ZodOptional<z.ZodNumber>;
    cacheReads: z.ZodOptional<z.ZodNumber>;
    totalCost: z.ZodNumber;
    size: z.ZodOptional<z.ZodNumber>;
    workspace: z.ZodOptional<z.ZodString>;
    mode: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    number: number;
    ts: number;
    totalCost: number;
    id: string;
    task: string;
    tokensIn: number;
    tokensOut: number;
    rootTaskId?: string | undefined;
    parentTaskId?: string | undefined;
    cacheWrites?: number | undefined;
    cacheReads?: number | undefined;
    size?: number | undefined;
    workspace?: string | undefined;
    mode?: string | undefined;
}, {
    number: number;
    ts: number;
    totalCost: number;
    id: string;
    task: string;
    tokensIn: number;
    tokensOut: number;
    rootTaskId?: string | undefined;
    parentTaskId?: string | undefined;
    cacheWrites?: number | undefined;
    cacheReads?: number | undefined;
    size?: number | undefined;
    workspace?: string | undefined;
    mode?: string | undefined;
}>;
type HistoryItem = z.infer<typeof historyItemSchema>;

/**
 * Schema for MCP parameter definitions
 */
declare const mcpParameterSchema: z.ZodObject<{
    name: z.ZodString;
    key: z.ZodString;
    placeholder: z.ZodOptional<z.ZodString>;
    optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
}, "strip", z.ZodTypeAny, {
    name: string;
    key: string;
    optional: boolean;
    placeholder?: string | undefined;
}, {
    name: string;
    key: string;
    placeholder?: string | undefined;
    optional?: boolean | undefined;
}>;
type McpParameter = z.infer<typeof mcpParameterSchema>;
/**
 * Schema for MCP installation method with name
 */
declare const mcpInstallationMethodSchema: z.ZodObject<{
    name: z.ZodString;
    content: z.ZodString;
    parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
        name: z.ZodString;
        key: z.ZodString;
        placeholder: z.ZodOptional<z.ZodString>;
        optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
    }, "strip", z.ZodTypeAny, {
        name: string;
        key: string;
        optional: boolean;
        placeholder?: string | undefined;
    }, {
        name: string;
        key: string;
        placeholder?: string | undefined;
        optional?: boolean | undefined;
    }>, "many">>;
    prerequisites: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
    name: string;
    content: string;
    parameters?: {
        name: string;
        key: string;
        optional: boolean;
        placeholder?: string | undefined;
    }[] | undefined;
    prerequisites?: string[] | undefined;
}, {
    name: string;
    content: string;
    parameters?: {
        name: string;
        key: string;
        placeholder?: string | undefined;
        optional?: boolean | undefined;
    }[] | undefined;
    prerequisites?: string[] | undefined;
}>;
type McpInstallationMethod = z.infer<typeof mcpInstallationMethodSchema>;
/**
 * Component type validation
 */
declare const marketplaceItemTypeSchema: z.ZodEnum<["mode", "mcp"]>;
type MarketplaceItemType = z.infer<typeof marketplaceItemTypeSchema>;
/**
 * Type-specific schemas for YAML parsing (without type field, added programmatically)
 */
declare const modeMarketplaceItemSchema: z.ZodObject<{
    id: z.ZodString;
    name: z.ZodString;
    description: z.ZodString;
    author: z.ZodOptional<z.ZodString>;
    authorUrl: z.ZodOptional<z.ZodString>;
    tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    prerequisites: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
} & {
    content: z.ZodString;
}, "strip", z.ZodTypeAny, {
    id: string;
    name: string;
    description: string;
    content: string;
    tags?: string[] | undefined;
    prerequisites?: string[] | undefined;
    author?: string | undefined;
    authorUrl?: string | undefined;
}, {
    id: string;
    name: string;
    description: string;
    content: string;
    tags?: string[] | undefined;
    prerequisites?: string[] | undefined;
    author?: string | undefined;
    authorUrl?: string | undefined;
}>;
type ModeMarketplaceItem = z.infer<typeof modeMarketplaceItemSchema>;
declare const mcpMarketplaceItemSchema: z.ZodObject<{
    id: z.ZodString;
    name: z.ZodString;
    description: z.ZodString;
    author: z.ZodOptional<z.ZodString>;
    authorUrl: z.ZodOptional<z.ZodString>;
    tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    prerequisites: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
} & {
    url: z.ZodString;
    content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
        name: z.ZodString;
        content: z.ZodString;
        parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
            name: z.ZodString;
            key: z.ZodString;
            placeholder: z.ZodOptional<z.ZodString>;
            optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
        }, "strip", z.ZodTypeAny, {
            name: string;
            key: string;
            optional: boolean;
            placeholder?: string | undefined;
        }, {
            name: string;
            key: string;
            placeholder?: string | undefined;
            optional?: boolean | undefined;
        }>, "many">>;
        prerequisites: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    }, "strip", z.ZodTypeAny, {
        name: string;
        content: string;
        parameters?: {
            name: string;
            key: string;
            optional: boolean;
            placeholder?: string | undefined;
        }[] | undefined;
        prerequisites?: string[] | undefined;
    }, {
        name: string;
        content: string;
        parameters?: {
            name: string;
            key: string;
            placeholder?: string | undefined;
            optional?: boolean | undefined;
        }[] | undefined;
        prerequisites?: string[] | undefined;
    }>, "many">]>;
    parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
        name: z.ZodString;
        key: z.ZodString;
        placeholder: z.ZodOptional<z.ZodString>;
        optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
    }, "strip", z.ZodTypeAny, {
        name: string;
        key: string;
        optional: boolean;
        placeholder?: string | undefined;
    }, {
        name: string;
        key: string;
        placeholder?: string | undefined;
        optional?: boolean | undefined;
    }>, "many">>;
}, "strip", z.ZodTypeAny, {
    id: string;
    name: string;
    description: string;
    url: string;
    content: string | {
        name: string;
        content: string;
        parameters?: {
            name: string;
            key: string;
            optional: boolean;
            placeholder?: string | undefined;
        }[] | undefined;
        prerequisites?: string[] | undefined;
    }[];
    tags?: string[] | undefined;
    parameters?: {
        name: string;
        key: string;
        optional: boolean;
        placeholder?: string | undefined;
    }[] | undefined;
    prerequisites?: string[] | undefined;
    author?: string | undefined;
    authorUrl?: string | undefined;
}, {
    id: string;
    name: string;
    description: string;
    url: string;
    content: string | {
        name: string;
        content: string;
        parameters?: {
            name: string;
            key: string;
            placeholder?: string | undefined;
            optional?: boolean | undefined;
        }[] | undefined;
        prerequisites?: string[] | undefined;
    }[];
    tags?: string[] | undefined;
    parameters?: {
        name: string;
        key: string;
        placeholder?: string | undefined;
        optional?: boolean | undefined;
    }[] | undefined;
    prerequisites?: string[] | undefined;
    author?: string | undefined;
    authorUrl?: string | undefined;
}>;
type McpMarketplaceItem = z.infer<typeof mcpMarketplaceItemSchema>;
/**
 * Unified marketplace item schema using discriminated union
 */
declare const marketplaceItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
    id: z.ZodString;
    name: z.ZodString;
    description: z.ZodString;
    author: z.ZodOptional<z.ZodString>;
    authorUrl: z.ZodOptional<z.ZodString>;
    tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    prerequisites: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
} & {
    content: z.ZodString;
} & {
    type: z.ZodLiteral<"mode">;
}, "strip", z.ZodTypeAny, {
    type: "mode";
    id: string;
    name: string;
    description: string;
    content: string;
    tags?: string[] | undefined;
    prerequisites?: string[] | undefined;
    author?: string | undefined;
    authorUrl?: string | undefined;
}, {
    type: "mode";
    id: string;
    name: string;
    description: string;
    content: string;
    tags?: string[] | undefined;
    prerequisites?: string[] | undefined;
    author?: string | undefined;
    authorUrl?: string | undefined;
}>, z.ZodObject<{
    id: z.ZodString;
    name: z.ZodString;
    description: z.ZodString;
    author: z.ZodOptional<z.ZodString>;
    authorUrl: z.ZodOptional<z.ZodString>;
    tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    prerequisites: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
} & {
    url: z.ZodString;
    content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
        name: z.ZodString;
        content: z.ZodString;
        parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
            name: z.ZodString;
            key: z.ZodString;
            placeholder: z.ZodOptional<z.ZodString>;
            optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
        }, "strip", z.ZodTypeAny, {
            name: string;
            key: string;
            optional: boolean;
            placeholder?: string | undefined;
        }, {
            name: string;
            key: string;
            placeholder?: string | undefined;
            optional?: boolean | undefined;
        }>, "many">>;
        prerequisites: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    }, "strip", z.ZodTypeAny, {
        name: string;
        content: string;
        parameters?: {
            name: string;
            key: string;
            optional: boolean;
            placeholder?: string | undefined;
        }[] | undefined;
        prerequisites?: string[] | undefined;
    }, {
        name: string;
        content: string;
        parameters?: {
            name: string;
            key: string;
            placeholder?: string | undefined;
            optional?: boolean | undefined;
        }[] | undefined;
        prerequisites?: string[] | undefined;
    }>, "many">]>;
    parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
        name: z.ZodString;
        key: z.ZodString;
        placeholder: z.ZodOptional<z.ZodString>;
        optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
    }, "strip", z.ZodTypeAny, {
        name: string;
        key: string;
        optional: boolean;
        placeholder?: string | undefined;
    }, {
        name: string;
        key: string;
        placeholder?: string | undefined;
        optional?: boolean | undefined;
    }>, "many">>;
} & {
    type: z.ZodLiteral<"mcp">;
}, "strip", z.ZodTypeAny, {
    type: "mcp";
    id: string;
    name: string;
    description: string;
    url: string;
    content: string | {
        name: string;
        content: string;
        parameters?: {
            name: string;
            key: string;
            optional: boolean;
            placeholder?: string | undefined;
        }[] | undefined;
        prerequisites?: string[] | undefined;
    }[];
    tags?: string[] | undefined;
    parameters?: {
        name: string;
        key: string;
        optional: boolean;
        placeholder?: string | undefined;
    }[] | undefined;
    prerequisites?: string[] | undefined;
    author?: string | undefined;
    authorUrl?: string | undefined;
}, {
    type: "mcp";
    id: string;
    name: string;
    description: string;
    url: string;
    content: string | {
        name: string;
        content: string;
        parameters?: {
            name: string;
            key: string;
            placeholder?: string | undefined;
            optional?: boolean | undefined;
        }[] | undefined;
        prerequisites?: string[] | undefined;
    }[];
    tags?: string[] | undefined;
    parameters?: {
        name: string;
        key: string;
        placeholder?: string | undefined;
        optional?: boolean | undefined;
    }[] | undefined;
    prerequisites?: string[] | undefined;
    author?: string | undefined;
    authorUrl?: string | undefined;
}>]>;
type MarketplaceItem = z.infer<typeof marketplaceItemSchema>;
/**
 * Installation options for marketplace items
 */
declare const installMarketplaceItemOptionsSchema: z.ZodObject<{
    target: z.ZodDefault<z.ZodOptional<z.ZodEnum<["global", "project"]>>>;
    parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
}, "strip", z.ZodTypeAny, {
    target: "global" | "project";
    parameters?: Record<string, any> | undefined;
}, {
    parameters?: Record<string, any> | undefined;
    target?: "global" | "project" | undefined;
}>;
type InstallMarketplaceItemOptions = z.infer<typeof installMarketplaceItemOptionsSchema>;

/**
 * MCP Server Use Types
 */
interface McpServerUse {
    type: string;
    serverName: string;
    toolName?: string;
    uri?: string;
}
/**
 * McpExecutionStatus
 */
declare const mcpExecutionStatusSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
    executionId: z.ZodString;
    status: z.ZodLiteral<"started">;
    serverName: z.ZodString;
    toolName: z.ZodString;
}, "strip", z.ZodTypeAny, {
    status: "started";
    executionId: string;
    serverName: string;
    toolName: string;
}, {
    status: "started";
    executionId: string;
    serverName: string;
    toolName: string;
}>, z.ZodObject<{
    executionId: z.ZodString;
    status: z.ZodLiteral<"output">;
    response: z.ZodString;
}, "strip", z.ZodTypeAny, {
    status: "output";
    executionId: string;
    response: string;
}, {
    status: "output";
    executionId: string;
    response: string;
}>, z.ZodObject<{
    executionId: z.ZodString;
    status: z.ZodLiteral<"completed">;
    response: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    status: "completed";
    executionId: string;
    response?: string | undefined;
}, {
    status: "completed";
    executionId: string;
    response?: string | undefined;
}>, z.ZodObject<{
    executionId: z.ZodString;
    status: z.ZodLiteral<"error">;
    error: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    status: "error";
    executionId: string;
    error?: string | undefined;
}, {
    status: "error";
    executionId: string;
    error?: string | undefined;
}>]>;
type McpExecutionStatus = z.infer<typeof mcpExecutionStatusSchema>;

/**
 * GroupOptions
 */
declare const groupOptionsSchema: z.ZodObject<{
    fileRegex: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
    description: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    description?: string | undefined;
    fileRegex?: string | undefined;
}, {
    description?: string | undefined;
    fileRegex?: string | undefined;
}>;
type GroupOptions = z.infer<typeof groupOptionsSchema>;
/**
 * GroupEntry
 */
declare const groupEntrySchema: z.ZodUnion<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodTuple<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodObject<{
    fileRegex: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
    description: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    description?: string | undefined;
    fileRegex?: string | undefined;
}, {
    description?: string | undefined;
    fileRegex?: string | undefined;
}>], null>]>;
type GroupEntry = z.infer<typeof groupEntrySchema>;
declare const modeConfigSchema: z.ZodObject<{
    slug: z.ZodString;
    name: z.ZodString;
    roleDefinition: z.ZodString;
    whenToUse: z.ZodOptional<z.ZodString>;
    description: z.ZodOptional<z.ZodString>;
    customInstructions: z.ZodOptional<z.ZodString>;
    groups: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodTuple<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodObject<{
        fileRegex: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
        description: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        description?: string | undefined;
        fileRegex?: string | undefined;
    }, {
        description?: string | undefined;
        fileRegex?: string | undefined;
    }>], null>]>, "many">, ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
        description?: string | undefined;
        fileRegex?: string | undefined;
    }])[], ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
        description?: string | undefined;
        fileRegex?: string | undefined;
    }])[]>;
    source: z.ZodOptional<z.ZodEnum<["global", "project"]>>;
}, "strip", z.ZodTypeAny, {
    name: string;
    slug: string;
    roleDefinition: string;
    groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
        description?: string | undefined;
        fileRegex?: string | undefined;
    }])[];
    description?: string | undefined;
    whenToUse?: string | undefined;
    customInstructions?: string | undefined;
    source?: "global" | "project" | undefined;
}, {
    name: string;
    slug: string;
    roleDefinition: string;
    groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
        description?: string | undefined;
        fileRegex?: string | undefined;
    }])[];
    description?: string | undefined;
    whenToUse?: string | undefined;
    customInstructions?: string | undefined;
    source?: "global" | "project" | undefined;
}>;
type ModeConfig = z.infer<typeof modeConfigSchema>;
/**
 * CustomModesSettings
 */
declare const customModesSettingsSchema: z.ZodObject<{
    customModes: z.ZodEffects<z.ZodArray<z.ZodObject<{
        slug: z.ZodString;
        name: z.ZodString;
        roleDefinition: z.ZodString;
        whenToUse: z.ZodOptional<z.ZodString>;
        description: z.ZodOptional<z.ZodString>;
        customInstructions: z.ZodOptional<z.ZodString>;
        groups: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodTuple<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodObject<{
            fileRegex: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
            description: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            description?: string | undefined;
            fileRegex?: string | undefined;
        }, {
            description?: string | undefined;
            fileRegex?: string | undefined;
        }>], null>]>, "many">, ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
            description?: string | undefined;
            fileRegex?: string | undefined;
        }])[], ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
            description?: string | undefined;
            fileRegex?: string | undefined;
        }])[]>;
        source: z.ZodOptional<z.ZodEnum<["global", "project"]>>;
    }, "strip", z.ZodTypeAny, {
        name: string;
        slug: string;
        roleDefinition: string;
        groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
            description?: string | undefined;
            fileRegex?: string | undefined;
        }])[];
        description?: string | undefined;
        whenToUse?: string | undefined;
        customInstructions?: string | undefined;
        source?: "global" | "project" | undefined;
    }, {
        name: string;
        slug: string;
        roleDefinition: string;
        groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
            description?: string | undefined;
            fileRegex?: string | undefined;
        }])[];
        description?: string | undefined;
        whenToUse?: string | undefined;
        customInstructions?: string | undefined;
        source?: "global" | "project" | undefined;
    }>, "many">, {
        name: string;
        slug: string;
        roleDefinition: string;
        groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
            description?: string | undefined;
            fileRegex?: string | undefined;
        }])[];
        description?: string | undefined;
        whenToUse?: string | undefined;
        customInstructions?: string | undefined;
        source?: "global" | "project" | undefined;
    }[], {
        name: string;
        slug: string;
        roleDefinition: string;
        groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
            description?: string | undefined;
            fileRegex?: string | undefined;
        }])[];
        description?: string | undefined;
        whenToUse?: string | undefined;
        customInstructions?: string | undefined;
        source?: "global" | "project" | undefined;
    }[]>;
}, "strip", z.ZodTypeAny, {
    customModes: {
        name: string;
        slug: string;
        roleDefinition: string;
        groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
            description?: string | undefined;
            fileRegex?: string | undefined;
        }])[];
        description?: string | undefined;
        whenToUse?: string | undefined;
        customInstructions?: string | undefined;
        source?: "global" | "project" | undefined;
    }[];
}, {
    customModes: {
        name: string;
        slug: string;
        roleDefinition: string;
        groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", {
            description?: string | undefined;
            fileRegex?: string | undefined;
        }])[];
        description?: string | undefined;
        whenToUse?: string | undefined;
        customInstructions?: string | undefined;
        source?: "global" | "project" | undefined;
    }[];
}>;
type CustomModesSettings = z.infer<typeof customModesSettingsSchema>;
/**
 * PromptComponent
 */
declare const promptComponentSchema: z.ZodObject<{
    roleDefinition: z.ZodOptional<z.ZodString>;
    whenToUse: z.ZodOptional<z.ZodString>;
    description: z.ZodOptional<z.ZodString>;
    customInstructions: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    description?: string | undefined;
    roleDefinition?: string | undefined;
    whenToUse?: string | undefined;
    customInstructions?: string | undefined;
}, {
    description?: string | undefined;
    roleDefinition?: string | undefined;
    whenToUse?: string | undefined;
    customInstructions?: string | undefined;
}>;
type PromptComponent = z.infer<typeof promptComponentSchema>;
/**
 * CustomModePrompts
 */
declare const customModePromptsSchema: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodObject<{
    roleDefinition: z.ZodOptional<z.ZodString>;
    whenToUse: z.ZodOptional<z.ZodString>;
    description: z.ZodOptional<z.ZodString>;
    customInstructions: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    description?: string | undefined;
    roleDefinition?: string | undefined;
    whenToUse?: string | undefined;
    customInstructions?: string | undefined;
}, {
    description?: string | undefined;
    roleDefinition?: string | undefined;
    whenToUse?: string | undefined;
    customInstructions?: string | undefined;
}>>>;
type CustomModePrompts = z.infer<typeof customModePromptsSchema>;
/**
 * CustomSupportPrompts
 */
declare const customSupportPromptsSchema: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>;
type CustomSupportPrompts = z.infer<typeof customSupportPromptsSchema>;
/**
 * DEFAULT_MODES
 */
declare const DEFAULT_MODES: readonly ModeConfig[];

/**
 * ReasoningEffort
 */
declare const reasoningEfforts: readonly ["low", "medium", "high"];
declare const reasoningEffortsSchema: z.ZodEnum<["low", "medium", "high"]>;
type ReasoningEffort = z.infer<typeof reasoningEffortsSchema>;
/**
 * ReasoningEffortWithMinimal
 */
declare const reasoningEffortWithMinimalSchema: z.ZodUnion<[z.ZodEnum<["low", "medium", "high"]>, z.ZodLiteral<"minimal">]>;
type ReasoningEffortWithMinimal = z.infer<typeof reasoningEffortWithMinimalSchema>;
/**
 * Extended Reasoning Effort (includes "none" and "minimal")
 * Note: "disable" is a UI/control value, not a value sent as effort
 */
declare const reasoningEffortsExtended: readonly ["none", "minimal", "low", "medium", "high"];
declare const reasoningEffortExtendedSchema: z.ZodEnum<["none", "minimal", "low", "medium", "high"]>;
type ReasoningEffortExtended = z.infer<typeof reasoningEffortExtendedSchema>;
/**
 * Reasoning Effort user setting (includes "disable")
 */
declare const reasoningEffortSettingValues: readonly ["disable", "none", "minimal", "low", "medium", "high"];
declare const reasoningEffortSettingSchema: z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>;
/**
 * Verbosity
 */
declare const verbosityLevels: readonly ["low", "medium", "high"];
declare const verbosityLevelsSchema: z.ZodEnum<["low", "medium", "high"]>;
type VerbosityLevel = z.infer<typeof verbosityLevelsSchema>;
/**
 * Service tiers (OpenAI Responses API)
 */
declare const serviceTiers: readonly ["default", "flex", "priority"];
declare const serviceTierSchema: z.ZodEnum<["default", "flex", "priority"]>;
type ServiceTier = z.infer<typeof serviceTierSchema>;
/**
 * ModelParameter
 */
declare const modelParameters: readonly ["max_tokens", "temperature", "reasoning", "include_reasoning"];
declare const modelParametersSchema: z.ZodEnum<["max_tokens", "temperature", "reasoning", "include_reasoning"]>;
type ModelParameter = z.infer<typeof modelParametersSchema>;
declare const isModelParameter: (value: string) => value is ModelParameter;
/**
 * ModelInfo
 */
declare const modelInfoSchema: z.ZodObject<{
    maxTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    maxThinkingTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    contextWindow: z.ZodNumber;
    supportsImages: z.ZodOptional<z.ZodBoolean>;
    supportsPromptCache: z.ZodBoolean;
    promptCacheRetention: z.ZodOptional<z.ZodEnum<["in_memory", "24h"]>>;
    supportsVerbosity: z.ZodOptional<z.ZodBoolean>;
    supportsReasoningBudget: z.ZodOptional<z.ZodBoolean>;
    supportsReasoningBinary: z.ZodOptional<z.ZodBoolean>;
    supportsTemperature: z.ZodOptional<z.ZodBoolean>;
    defaultTemperature: z.ZodOptional<z.ZodNumber>;
    requiredReasoningBudget: z.ZodOptional<z.ZodBoolean>;
    supportsReasoningEffort: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEnum<["disable", "none", "minimal", "low", "medium", "high"]>, "many">]>>;
    requiredReasoningEffort: z.ZodOptional<z.ZodBoolean>;
    preserveReasoning: z.ZodOptional<z.ZodBoolean>;
    supportedParameters: z.ZodOptional<z.ZodArray<z.ZodEnum<["max_tokens", "temperature", "reasoning", "include_reasoning"]>, "many">>;
    inputPrice: z.ZodOptional<z.ZodNumber>;
    outputPrice: z.ZodOptional<z.ZodNumber>;
    cacheWritesPrice: z.ZodOptional<z.ZodNumber>;
    cacheReadsPrice: z.ZodOptional<z.ZodNumber>;
    description: z.ZodOptional<z.ZodString>;
    reasoningEffort: z.ZodOptional<z.ZodEnum<["none", "minimal", "low", "medium", "high"]>>;
    minTokensPerCachePoint: z.ZodOptional<z.ZodNumber>;
    maxCachePoints: z.ZodOptional<z.ZodNumber>;
    cachableFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    deprecated: z.ZodOptional<z.ZodBoolean>;
    isFree: z.ZodOptional<z.ZodBoolean>;
    supportsNativeTools: z.ZodOptional<z.ZodBoolean>;
    defaultToolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
    /**
     * Service tiers with pricing information.
     * Each tier can have a name (for OpenAI service tiers) and pricing overrides.
     * The top-level input/output/cache* fields represent the default/standard tier.
     */
    tiers: z.ZodOptional<z.ZodArray<z.ZodObject<{
        name: z.ZodOptional<z.ZodEnum<["default", "flex", "priority"]>>;
        contextWindow: z.ZodNumber;
        inputPrice: z.ZodOptional<z.ZodNumber>;
        outputPrice: z.ZodOptional<z.ZodNumber>;
        cacheWritesPrice: z.ZodOptional<z.ZodNumber>;
        cacheReadsPrice: z.ZodOptional<z.ZodNumber>;
    }, "strip", z.ZodTypeAny, {
        contextWindow: number;
        name?: "default" | "flex" | "priority" | undefined;
        inputPrice?: number | undefined;
        outputPrice?: number | undefined;
        cacheWritesPrice?: number | undefined;
        cacheReadsPrice?: number | undefined;
    }, {
        contextWindow: number;
        name?: "default" | "flex" | "priority" | undefined;
        inputPrice?: number | undefined;
        outputPrice?: number | undefined;
        cacheWritesPrice?: number | undefined;
        cacheReadsPrice?: number | undefined;
    }>, "many">>;
}, "strip", z.ZodTypeAny, {
    contextWindow: number;
    supportsPromptCache: boolean;
    maxTokens?: number | null | undefined;
    maxThinkingTokens?: number | null | undefined;
    supportsImages?: boolean | undefined;
    promptCacheRetention?: "in_memory" | "24h" | undefined;
    supportsVerbosity?: boolean | undefined;
    supportsReasoningBudget?: boolean | undefined;
    supportsReasoningBinary?: boolean | undefined;
    supportsTemperature?: boolean | undefined;
    defaultTemperature?: number | undefined;
    requiredReasoningBudget?: boolean | undefined;
    supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
    requiredReasoningEffort?: boolean | undefined;
    preserveReasoning?: boolean | undefined;
    supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
    inputPrice?: number | undefined;
    outputPrice?: number | undefined;
    cacheWritesPrice?: number | undefined;
    cacheReadsPrice?: number | undefined;
    description?: string | undefined;
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
    minTokensPerCachePoint?: number | undefined;
    maxCachePoints?: number | undefined;
    cachableFields?: string[] | undefined;
    deprecated?: boolean | undefined;
    isFree?: boolean | undefined;
    supportsNativeTools?: boolean | undefined;
    defaultToolProtocol?: "xml" | "native" | undefined;
    tiers?: {
        contextWindow: number;
        name?: "default" | "flex" | "priority" | undefined;
        inputPrice?: number | undefined;
        outputPrice?: number | undefined;
        cacheWritesPrice?: number | undefined;
        cacheReadsPrice?: number | undefined;
    }[] | undefined;
}, {
    contextWindow: number;
    supportsPromptCache: boolean;
    maxTokens?: number | null | undefined;
    maxThinkingTokens?: number | null | undefined;
    supportsImages?: boolean | undefined;
    promptCacheRetention?: "in_memory" | "24h" | undefined;
    supportsVerbosity?: boolean | undefined;
    supportsReasoningBudget?: boolean | undefined;
    supportsReasoningBinary?: boolean | undefined;
    supportsTemperature?: boolean | undefined;
    defaultTemperature?: number | undefined;
    requiredReasoningBudget?: boolean | undefined;
    supportsReasoningEffort?: boolean | ("low" | "medium" | "high" | "minimal" | "none" | "disable")[] | undefined;
    requiredReasoningEffort?: boolean | undefined;
    preserveReasoning?: boolean | undefined;
    supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
    inputPrice?: number | undefined;
    outputPrice?: number | undefined;
    cacheWritesPrice?: number | undefined;
    cacheReadsPrice?: number | undefined;
    description?: string | undefined;
    reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | undefined;
    minTokensPerCachePoint?: number | undefined;
    maxCachePoints?: number | undefined;
    cachableFields?: string[] | undefined;
    deprecated?: boolean | undefined;
    isFree?: boolean | undefined;
    supportsNativeTools?: boolean | undefined;
    defaultToolProtocol?: "xml" | "native" | undefined;
    tiers?: {
        contextWindow: number;
        name?: "default" | "flex" | "priority" | undefined;
        inputPrice?: number | undefined;
        outputPrice?: number | undefined;
        cacheWritesPrice?: number | undefined;
        cacheReadsPrice?: number | undefined;
    }[] | undefined;
}>;
type ModelInfo = z.infer<typeof modelInfoSchema>;

/**
 * Configuration for models that should use simplified single-file read_file tool
 * These models will use the simpler <read_file><path>...</path></read_file> format
 * instead of the more complex multi-file args format
 */
/**
 * Check if a model should use single file read format
 * @param modelId The model ID to check
 * @returns true if the model should use single file reads
 */
declare function shouldUseSingleFileRead(modelId: string): boolean;

/**
 * CommandExecutionStatus
 */
declare const commandExecutionStatusSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
    executionId: z.ZodString;
    status: z.ZodLiteral<"started">;
    pid: z.ZodOptional<z.ZodNumber>;
    command: z.ZodString;
}, "strip", z.ZodTypeAny, {
    command: string;
    status: "started";
    executionId: string;
    pid?: number | undefined;
}, {
    command: string;
    status: "started";
    executionId: string;
    pid?: number | undefined;
}>, z.ZodObject<{
    executionId: z.ZodString;
    status: z.ZodLiteral<"output">;
    output: z.ZodString;
}, "strip", z.ZodTypeAny, {
    status: "output";
    output: string;
    executionId: string;
}, {
    status: "output";
    output: string;
    executionId: string;
}>, z.ZodObject<{
    executionId: z.ZodString;
    status: z.ZodLiteral<"exited">;
    exitCode: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
    status: "exited";
    executionId: string;
    exitCode?: number | undefined;
}, {
    status: "exited";
    executionId: string;
    exitCode?: number | undefined;
}>, z.ZodObject<{
    executionId: z.ZodString;
    status: z.ZodLiteral<"fallback">;
}, "strip", z.ZodTypeAny, {
    status: "fallback";
    executionId: string;
}, {
    status: "fallback";
    executionId: string;
}>, z.ZodObject<{
    executionId: z.ZodString;
    status: z.ZodLiteral<"timeout">;
}, "strip", z.ZodTypeAny, {
    status: "timeout";
    executionId: string;
}, {
    status: "timeout";
    executionId: string;
}>]>;
type CommandExecutionStatus = z.infer<typeof commandExecutionStatusSchema>;

/**
 * Tool parameter type definitions for native protocol
 */
interface LineRange {
    start: number;
    end: number;
}
interface FileEntry {
    path: string;
    lineRanges?: LineRange[];
}
interface Coordinate {
    x: number;
    y: number;
}
interface Size {
    width: number;
    height: number;
}
interface BrowserActionParams {
    action: "launch" | "click" | "hover" | "type" | "scroll_down" | "scroll_up" | "resize" | "close";
    url?: string;
    coordinate?: Coordinate;
    size?: Size;
    text?: string;
}
interface GenerateImageParams {
    prompt: string;
    path: string;
    image?: string;
}

/**
 * CodeAction
 */
declare const codeActionIds: readonly ["explainCode", "fixCode", "improveCode", "addToContext", "newTask"];
type CodeActionId = (typeof codeActionIds)[number];
type CodeActionName = "EXPLAIN" | "FIX" | "IMPROVE" | "ADD_TO_CONTEXT" | "NEW_TASK";
/**
 * TerminalAction
 */
declare const terminalActionIds: readonly ["terminalAddToContext", "terminalFixCommand", "terminalExplainCommand"];
type TerminalActionId = (typeof terminalActionIds)[number];
type TerminalActionName = "ADD_TO_CONTEXT" | "FIX" | "EXPLAIN";
type TerminalActionPromptType = `TERMINAL_${TerminalActionName}`;
/**
 * Command
 */
declare const commandIds: readonly ["activationCompleted", "plusButtonClicked", "promptsButtonClicked", "mcpButtonClicked", "historyButtonClicked", "marketplaceButtonClicked", "popoutButtonClicked", "cloudButtonClicked", "settingsButtonClicked", "openInNewTab", "showHumanRelayDialog", "registerHumanRelayCallback", "unregisterHumanRelayCallback", "handleHumanRelayResponse", "newTask", "setCustomStoragePath", "importSettings", "focusInput", "acceptInput", "focusPanel", "toggleAutoApprove"];
type CommandId = (typeof commandIds)[number];
/**
 * Language
 */
declare const languages: readonly ["ca", "de", "en", "es", "fr", "hi", "id", "it", "ja", "ko", "nl", "pl", "pt-BR", "ru", "tr", "vi", "zh-CN", "zh-TW"];
declare const languagesSchema: z.ZodEnum<["ca", "de", "en", "es", "fr", "hi", "id", "it", "ja", "ko", "nl", "pl", "pt-BR", "ru", "tr", "vi", "zh-CN", "zh-TW"]>;
type Language = z.infer<typeof languagesSchema>;
declare const isLanguage: (value: string) => value is Language;

type AnthropicModelId = keyof typeof anthropicModels;
declare const anthropicDefaultModelId: AnthropicModelId;
declare const anthropicModels: {
    readonly "claude-sonnet-4-5": {
        readonly maxTokens: 64000;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 3;
        readonly outputPrice: 15;
        readonly cacheWritesPrice: 3.75;
        readonly cacheReadsPrice: 0.3;
        readonly supportsReasoningBudget: true;
        readonly tiers: [{
            readonly contextWindow: 1000000;
            readonly inputPrice: 6;
            readonly outputPrice: 22.5;
            readonly cacheWritesPrice: 7.5;
            readonly cacheReadsPrice: 0.6;
        }];
    };
    readonly "claude-sonnet-4-20250514": {
        readonly maxTokens: 64000;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 3;
        readonly outputPrice: 15;
        readonly cacheWritesPrice: 3.75;
        readonly cacheReadsPrice: 0.3;
        readonly supportsReasoningBudget: true;
        readonly tiers: [{
            readonly contextWindow: 1000000;
            readonly inputPrice: 6;
            readonly outputPrice: 22.5;
            readonly cacheWritesPrice: 7.5;
            readonly cacheReadsPrice: 0.6;
        }];
    };
    readonly "claude-opus-4-1-20250805": {
        readonly maxTokens: 32000;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 15;
        readonly outputPrice: 75;
        readonly cacheWritesPrice: 18.75;
        readonly cacheReadsPrice: 1.5;
        readonly supportsReasoningBudget: true;
    };
    readonly "claude-opus-4-20250514": {
        readonly maxTokens: 32000;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 15;
        readonly outputPrice: 75;
        readonly cacheWritesPrice: 18.75;
        readonly cacheReadsPrice: 1.5;
        readonly supportsReasoningBudget: true;
    };
    readonly "claude-3-7-sonnet-20250219:thinking": {
        readonly maxTokens: 128000;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 3;
        readonly outputPrice: 15;
        readonly cacheWritesPrice: 3.75;
        readonly cacheReadsPrice: 0.3;
        readonly supportsReasoningBudget: true;
        readonly requiredReasoningBudget: true;
    };
    readonly "claude-3-7-sonnet-20250219": {
        readonly maxTokens: 8192;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 3;
        readonly outputPrice: 15;
        readonly cacheWritesPrice: 3.75;
        readonly cacheReadsPrice: 0.3;
    };
    readonly "claude-3-5-sonnet-20241022": {
        readonly maxTokens: 8192;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 3;
        readonly outputPrice: 15;
        readonly cacheWritesPrice: 3.75;
        readonly cacheReadsPrice: 0.3;
    };
    readonly "claude-3-5-haiku-20241022": {
        readonly maxTokens: 8192;
        readonly contextWindow: 200000;
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly inputPrice: 1;
        readonly outputPrice: 5;
        readonly cacheWritesPrice: 1.25;
        readonly cacheReadsPrice: 0.1;
    };
    readonly "claude-3-opus-20240229": {
        readonly maxTokens: 4096;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 15;
        readonly outputPrice: 75;
        readonly cacheWritesPrice: 18.75;
        readonly cacheReadsPrice: 1.5;
    };
    readonly "claude-3-haiku-20240307": {
        readonly maxTokens: 4096;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.25;
        readonly outputPrice: 1.25;
        readonly cacheWritesPrice: 0.3;
        readonly cacheReadsPrice: 0.03;
    };
    readonly "claude-haiku-4-5-20251001": {
        readonly maxTokens: 64000;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 1;
        readonly outputPrice: 5;
        readonly cacheWritesPrice: 1.25;
        readonly cacheReadsPrice: 0.1;
        readonly supportsReasoningBudget: true;
        readonly description: "Claude Haiku 4.5 delivers near-frontier intelligence at lightning speeds with extended thinking, vision, and multilingual support.";
    };
};
declare const ANTHROPIC_DEFAULT_MAX_TOKENS = 8192;

type BedrockModelId = keyof typeof bedrockModels;
declare const bedrockDefaultModelId: BedrockModelId;
declare const bedrockDefaultPromptRouterModelId: BedrockModelId;
declare const bedrockModels: {
    readonly "anthropic.claude-sonnet-4-5-20250929-v1:0": {
        readonly maxTokens: 8192;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly supportsReasoningBudget: true;
        readonly inputPrice: 3;
        readonly outputPrice: 15;
        readonly cacheWritesPrice: 3.75;
        readonly cacheReadsPrice: 0.3;
        readonly minTokensPerCachePoint: 1024;
        readonly maxCachePoints: 4;
        readonly cachableFields: ["system", "messages", "tools"];
    };
    readonly "amazon.nova-pro-v1:0": {
        readonly maxTokens: 5000;
        readonly contextWindow: 300000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.8;
        readonly outputPrice: 3.2;
        readonly cacheWritesPrice: 0.8;
        readonly cacheReadsPrice: 0.2;
        readonly minTokensPerCachePoint: 1;
        readonly maxCachePoints: 1;
        readonly cachableFields: ["system"];
    };
    readonly "amazon.nova-pro-latency-optimized-v1:0": {
        readonly maxTokens: 5000;
        readonly contextWindow: 300000;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 1;
        readonly outputPrice: 4;
        readonly cacheWritesPrice: 1;
        readonly cacheReadsPrice: 0.25;
        readonly description: "Amazon Nova Pro with latency optimized inference";
    };
    readonly "amazon.nova-lite-v1:0": {
        readonly maxTokens: 5000;
        readonly contextWindow: 300000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.06;
        readonly outputPrice: 0.24;
        readonly cacheWritesPrice: 0.06;
        readonly cacheReadsPrice: 0.015;
        readonly minTokensPerCachePoint: 1;
        readonly maxCachePoints: 1;
        readonly cachableFields: ["system"];
    };
    readonly "amazon.nova-micro-v1:0": {
        readonly maxTokens: 5000;
        readonly contextWindow: 128000;
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.035;
        readonly outputPrice: 0.14;
        readonly cacheWritesPrice: 0.035;
        readonly cacheReadsPrice: 0.00875;
        readonly minTokensPerCachePoint: 1;
        readonly maxCachePoints: 1;
        readonly cachableFields: ["system"];
    };
    readonly "anthropic.claude-sonnet-4-20250514-v1:0": {
        readonly maxTokens: 8192;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly supportsReasoningBudget: true;
        readonly inputPrice: 3;
        readonly outputPrice: 15;
        readonly cacheWritesPrice: 3.75;
        readonly cacheReadsPrice: 0.3;
        readonly minTokensPerCachePoint: 1024;
        readonly maxCachePoints: 4;
        readonly cachableFields: ["system", "messages", "tools"];
    };
    readonly "anthropic.claude-opus-4-1-20250805-v1:0": {
        readonly maxTokens: 8192;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly supportsReasoningBudget: true;
        readonly inputPrice: 15;
        readonly outputPrice: 75;
        readonly cacheWritesPrice: 18.75;
        readonly cacheReadsPrice: 1.5;
        readonly minTokensPerCachePoint: 1024;
        readonly maxCachePoints: 4;
        readonly cachableFields: ["system", "messages", "tools"];
    };
    readonly "anthropic.claude-opus-4-20250514-v1:0": {
        readonly maxTokens: 8192;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly supportsReasoningBudget: true;
        readonly inputPrice: 15;
        readonly outputPrice: 75;
        readonly cacheWritesPrice: 18.75;
        readonly cacheReadsPrice: 1.5;
        readonly minTokensPerCachePoint: 1024;
        readonly maxCachePoints: 4;
        readonly cachableFields: ["system", "messages", "tools"];
    };
    readonly "anthropic.claude-3-7-sonnet-20250219-v1:0": {
        readonly maxTokens: 8192;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly supportsReasoningBudget: true;
        readonly inputPrice: 3;
        readonly outputPrice: 15;
        readonly cacheWritesPrice: 3.75;
        readonly cacheReadsPrice: 0.3;
        readonly minTokensPerCachePoint: 1024;
        readonly maxCachePoints: 4;
        readonly cachableFields: ["system", "messages", "tools"];
    };
    readonly "anthropic.claude-3-5-sonnet-20241022-v2:0": {
        readonly maxTokens: 8192;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 3;
        readonly outputPrice: 15;
        readonly cacheWritesPrice: 3.75;
        readonly cacheReadsPrice: 0.3;
        readonly minTokensPerCachePoint: 1024;
        readonly maxCachePoints: 4;
        readonly cachableFields: ["system", "messages", "tools"];
    };
    readonly "anthropic.claude-3-5-haiku-20241022-v1:0": {
        readonly maxTokens: 8192;
        readonly contextWindow: 200000;
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.8;
        readonly outputPrice: 4;
        readonly cacheWritesPrice: 1;
        readonly cacheReadsPrice: 0.08;
        readonly minTokensPerCachePoint: 2048;
        readonly maxCachePoints: 4;
        readonly cachableFields: ["system", "messages", "tools"];
    };
    readonly "anthropic.claude-haiku-4-5-20251001-v1:0": {
        readonly maxTokens: 8192;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly supportsReasoningBudget: true;
        readonly inputPrice: 1;
        readonly outputPrice: 5;
        readonly cacheWritesPrice: 1.25;
        readonly cacheReadsPrice: 0.1;
        readonly minTokensPerCachePoint: 2048;
        readonly maxCachePoints: 4;
        readonly cachableFields: ["system", "messages", "tools"];
    };
    readonly "anthropic.claude-3-5-sonnet-20240620-v1:0": {
        readonly maxTokens: 8192;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 3;
        readonly outputPrice: 15;
    };
    readonly "anthropic.claude-3-opus-20240229-v1:0": {
        readonly maxTokens: 4096;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 15;
        readonly outputPrice: 75;
    };
    readonly "anthropic.claude-3-sonnet-20240229-v1:0": {
        readonly maxTokens: 4096;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 3;
        readonly outputPrice: 15;
    };
    readonly "anthropic.claude-3-haiku-20240307-v1:0": {
        readonly maxTokens: 4096;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.25;
        readonly outputPrice: 1.25;
    };
    readonly "anthropic.claude-2-1-v1:0": {
        readonly maxTokens: 4096;
        readonly contextWindow: 100000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 8;
        readonly outputPrice: 24;
        readonly description: "Claude 2.1";
    };
    readonly "anthropic.claude-2-0-v1:0": {
        readonly maxTokens: 4096;
        readonly contextWindow: 100000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 8;
        readonly outputPrice: 24;
        readonly description: "Claude 2.0";
    };
    readonly "anthropic.claude-instant-v1:0": {
        readonly maxTokens: 4096;
        readonly contextWindow: 100000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.8;
        readonly outputPrice: 2.4;
        readonly description: "Claude Instant";
    };
    readonly "deepseek.r1-v1:0": {
        readonly maxTokens: 32768;
        readonly contextWindow: 128000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 1.35;
        readonly outputPrice: 5.4;
    };
    readonly "openai.gpt-oss-20b-1:0": {
        readonly maxTokens: 8192;
        readonly contextWindow: 128000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.5;
        readonly outputPrice: 1.5;
        readonly description: "GPT-OSS 20B - Optimized for low latency and local/specialized use cases";
    };
    readonly "openai.gpt-oss-120b-1:0": {
        readonly maxTokens: 8192;
        readonly contextWindow: 128000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 2;
        readonly outputPrice: 6;
        readonly description: "GPT-OSS 120B - Production-ready, general-purpose, high-reasoning model";
    };
    readonly "meta.llama3-3-70b-instruct-v1:0": {
        readonly maxTokens: 8192;
        readonly contextWindow: 128000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.72;
        readonly outputPrice: 0.72;
        readonly description: "Llama 3.3 Instruct (70B)";
    };
    readonly "meta.llama3-2-90b-instruct-v1:0": {
        readonly maxTokens: 8192;
        readonly contextWindow: 128000;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.72;
        readonly outputPrice: 0.72;
        readonly description: "Llama 3.2 Instruct (90B)";
    };
    readonly "meta.llama3-2-11b-instruct-v1:0": {
        readonly maxTokens: 8192;
        readonly contextWindow: 128000;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.16;
        readonly outputPrice: 0.16;
        readonly description: "Llama 3.2 Instruct (11B)";
    };
    readonly "meta.llama3-2-3b-instruct-v1:0": {
        readonly maxTokens: 8192;
        readonly contextWindow: 128000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.15;
        readonly outputPrice: 0.15;
        readonly description: "Llama 3.2 Instruct (3B)";
    };
    readonly "meta.llama3-2-1b-instruct-v1:0": {
        readonly maxTokens: 8192;
        readonly contextWindow: 128000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.1;
        readonly outputPrice: 0.1;
        readonly description: "Llama 3.2 Instruct (1B)";
    };
    readonly "meta.llama3-1-405b-instruct-v1:0": {
        readonly maxTokens: 8192;
        readonly contextWindow: 128000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 2.4;
        readonly outputPrice: 2.4;
        readonly description: "Llama 3.1 Instruct (405B)";
    };
    readonly "meta.llama3-1-70b-instruct-v1:0": {
        readonly maxTokens: 8192;
        readonly contextWindow: 128000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.72;
        readonly outputPrice: 0.72;
        readonly description: "Llama 3.1 Instruct (70B)";
    };
    readonly "meta.llama3-1-70b-instruct-latency-optimized-v1:0": {
        readonly maxTokens: 8192;
        readonly contextWindow: 128000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.9;
        readonly outputPrice: 0.9;
        readonly description: "Llama 3.1 Instruct (70B) (w/ latency optimized inference)";
    };
    readonly "meta.llama3-1-8b-instruct-v1:0": {
        readonly maxTokens: 8192;
        readonly contextWindow: 8000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.22;
        readonly outputPrice: 0.22;
        readonly description: "Llama 3.1 Instruct (8B)";
    };
    readonly "meta.llama3-70b-instruct-v1:0": {
        readonly maxTokens: 2048;
        readonly contextWindow: 8000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 2.65;
        readonly outputPrice: 3.5;
    };
    readonly "meta.llama3-8b-instruct-v1:0": {
        readonly maxTokens: 2048;
        readonly contextWindow: 4000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.3;
        readonly outputPrice: 0.6;
    };
    readonly "amazon.titan-text-lite-v1:0": {
        readonly maxTokens: 4096;
        readonly contextWindow: 8000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.15;
        readonly outputPrice: 0.2;
        readonly description: "Amazon Titan Text Lite";
    };
    readonly "amazon.titan-text-express-v1:0": {
        readonly maxTokens: 4096;
        readonly contextWindow: 8000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.2;
        readonly outputPrice: 0.6;
        readonly description: "Amazon Titan Text Express";
    };
    readonly "amazon.titan-text-embeddings-v1:0": {
        readonly maxTokens: 8192;
        readonly contextWindow: 8000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.1;
        readonly description: "Amazon Titan Text Embeddings";
    };
    readonly "amazon.titan-text-embeddings-v2:0": {
        readonly maxTokens: 8192;
        readonly contextWindow: 8000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.02;
        readonly description: "Amazon Titan Text Embeddings V2";
    };
};
declare const BEDROCK_DEFAULT_TEMPERATURE = 0.3;
declare const BEDROCK_MAX_TOKENS = 4096;
declare const BEDROCK_DEFAULT_CONTEXT = 128000;
declare const AWS_INFERENCE_PROFILE_MAPPING: Array<[string, string]>;
declare const BEDROCK_REGIONS: {
    value: string;
    label: string;
}[];
declare const BEDROCK_1M_CONTEXT_MODEL_IDS: readonly ["anthropic.claude-sonnet-4-20250514-v1:0", "anthropic.claude-sonnet-4-5-20250929-v1:0"];
declare const BEDROCK_GLOBAL_INFERENCE_MODEL_IDS: readonly ["anthropic.claude-sonnet-4-20250514-v1:0", "anthropic.claude-sonnet-4-5-20250929-v1:0", "anthropic.claude-haiku-4-5-20251001-v1:0"];

type CerebrasModelId = keyof typeof cerebrasModels;
declare const cerebrasDefaultModelId: CerebrasModelId;
declare const cerebrasModels: {
    readonly "zai-glm-4.6": {
        readonly maxTokens: 16384;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "Highly intelligent general purpose model with up to 1,000 tokens/s";
    };
    readonly "qwen-3-coder-480b-free": {
        readonly maxTokens: 40000;
        readonly contextWindow: 64000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "[SOON TO BE DEPRECATED] SOTA coding model with ~2000 tokens/s ($0 free tier)\n\n• Use this if you don't have a Cerebras subscription\n• 64K context window\n• Rate limits: 150K TPM, 1M TPH/TPD, 10 RPM, 100 RPH/RPD\n\nUpgrade for higher limits: [https://cloud.cerebras.ai/?utm=roocode](https://cloud.cerebras.ai/?utm=roocode)";
    };
    readonly "qwen-3-coder-480b": {
        readonly maxTokens: 40000;
        readonly contextWindow: 128000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "[SOON TO BE DEPRECATED] SOTA coding model with ~2000 tokens/s ($50/$250 paid tiers)\n\n• Use this if you have a Cerebras subscription\n• 131K context window with higher rate limits";
    };
    readonly "qwen-3-235b-a22b-instruct-2507": {
        readonly maxTokens: 64000;
        readonly contextWindow: 64000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "Intelligent model with ~1400 tokens/s";
    };
    readonly "llama-3.3-70b": {
        readonly maxTokens: 64000;
        readonly contextWindow: 64000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "Powerful model with ~2600 tokens/s";
    };
    readonly "qwen-3-32b": {
        readonly maxTokens: 64000;
        readonly contextWindow: 64000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "SOTA coding performance with ~2500 tokens/s";
    };
    readonly "qwen-3-235b-a22b-thinking-2507": {
        readonly maxTokens: 40000;
        readonly contextWindow: 65000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "SOTA performance with ~1500 tokens/s";
        readonly supportsReasoningEffort: true;
    };
    readonly "gpt-oss-120b": {
        readonly maxTokens: 8000;
        readonly contextWindow: 64000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "OpenAI GPT OSS model with ~2800 tokens/s\n\n• 64K context window\n• Excels at efficient reasoning across science, math, and coding";
    };
};

type ChutesModelId = "deepseek-ai/DeepSeek-R1-0528" | "deepseek-ai/DeepSeek-R1" | "deepseek-ai/DeepSeek-V3" | "deepseek-ai/DeepSeek-V3.1" | "deepseek-ai/DeepSeek-V3.1-Terminus" | "deepseek-ai/DeepSeek-V3.1-turbo" | "deepseek-ai/DeepSeek-V3.2-Exp" | "unsloth/Llama-3.3-70B-Instruct" | "chutesai/Llama-4-Scout-17B-16E-Instruct" | "unsloth/Mistral-Nemo-Instruct-2407" | "unsloth/gemma-3-12b-it" | "NousResearch/DeepHermes-3-Llama-3-8B-Preview" | "unsloth/gemma-3-4b-it" | "nvidia/Llama-3_3-Nemotron-Super-49B-v1" | "nvidia/Llama-3_1-Nemotron-Ultra-253B-v1" | "chutesai/Llama-4-Maverick-17B-128E-Instruct-FP8" | "deepseek-ai/DeepSeek-V3-Base" | "deepseek-ai/DeepSeek-R1-Zero" | "deepseek-ai/DeepSeek-V3-0324" | "Qwen/Qwen3-235B-A22B" | "Qwen/Qwen3-235B-A22B-Instruct-2507" | "Qwen/Qwen3-32B" | "Qwen/Qwen3-30B-A3B" | "Qwen/Qwen3-14B" | "Qwen/Qwen3-8B" | "Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8" | "microsoft/MAI-DS-R1-FP8" | "tngtech/DeepSeek-R1T-Chimera" | "zai-org/GLM-4.5-Air" | "zai-org/GLM-4.5-FP8" | "zai-org/GLM-4.5-turbo" | "zai-org/GLM-4.6-FP8" | "zai-org/GLM-4.6-turbo" | "meituan-longcat/LongCat-Flash-Thinking-FP8" | "moonshotai/Kimi-K2-Instruct-75k" | "moonshotai/Kimi-K2-Instruct-0905" | "Qwen/Qwen3-235B-A22B-Thinking-2507" | "Qwen/Qwen3-Next-80B-A3B-Instruct" | "Qwen/Qwen3-Next-80B-A3B-Thinking" | "Qwen/Qwen3-VL-235B-A22B-Thinking";
declare const chutesDefaultModelId: ChutesModelId;
declare const chutesModels: {
    readonly "deepseek-ai/DeepSeek-R1-0528": {
        readonly maxTokens: 32768;
        readonly contextWindow: 163840;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "DeepSeek R1 0528 model.";
    };
    readonly "deepseek-ai/DeepSeek-R1": {
        readonly maxTokens: 32768;
        readonly contextWindow: 163840;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "DeepSeek R1 model.";
    };
    readonly "deepseek-ai/DeepSeek-V3": {
        readonly maxTokens: 32768;
        readonly contextWindow: 163840;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "DeepSeek V3 model.";
    };
    readonly "deepseek-ai/DeepSeek-V3.1": {
        readonly maxTokens: 32768;
        readonly contextWindow: 163840;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "DeepSeek V3.1 model.";
    };
    readonly "deepseek-ai/DeepSeek-V3.1-Terminus": {
        readonly maxTokens: 163840;
        readonly contextWindow: 163840;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.23;
        readonly outputPrice: 0.9;
        readonly description: "DeepSeek‑V3.1‑Terminus is an update to V3.1 that improves language consistency by reducing CN/EN mix‑ups and eliminating random characters, while strengthening agent capabilities with notably better Code Agent and Search Agent performance.";
    };
    readonly "deepseek-ai/DeepSeek-V3.1-turbo": {
        readonly maxTokens: 32768;
        readonly contextWindow: 163840;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 1;
        readonly outputPrice: 3;
        readonly description: "DeepSeek-V3.1-turbo is an FP8, speculative-decoding turbo variant optimized for ultra-fast single-shot queries (~200 TPS), with outputs close to the originals and solid function calling/reasoning/structured output, priced at $1/M input and $3/M output tokens, using 2× quota per request and not intended for bulk workloads.";
    };
    readonly "deepseek-ai/DeepSeek-V3.2-Exp": {
        readonly maxTokens: 163840;
        readonly contextWindow: 163840;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.25;
        readonly outputPrice: 0.35;
        readonly description: "DeepSeek-V3.2-Exp is an experimental LLM that introduces DeepSeek Sparse Attention to improve long‑context training and inference efficiency while maintaining performance comparable to V3.1‑Terminus.";
    };
    readonly "unsloth/Llama-3.3-70B-Instruct": {
        readonly maxTokens: 32768;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "Unsloth Llama 3.3 70B Instruct model.";
    };
    readonly "chutesai/Llama-4-Scout-17B-16E-Instruct": {
        readonly maxTokens: 32768;
        readonly contextWindow: 512000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "ChutesAI Llama 4 Scout 17B Instruct model, 512K context.";
    };
    readonly "unsloth/Mistral-Nemo-Instruct-2407": {
        readonly maxTokens: 32768;
        readonly contextWindow: 128000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "Unsloth Mistral Nemo Instruct model.";
    };
    readonly "unsloth/gemma-3-12b-it": {
        readonly maxTokens: 32768;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "Unsloth Gemma 3 12B IT model.";
    };
    readonly "NousResearch/DeepHermes-3-Llama-3-8B-Preview": {
        readonly maxTokens: 32768;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "Nous DeepHermes 3 Llama 3 8B Preview model.";
    };
    readonly "unsloth/gemma-3-4b-it": {
        readonly maxTokens: 32768;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "Unsloth Gemma 3 4B IT model.";
    };
    readonly "nvidia/Llama-3_3-Nemotron-Super-49B-v1": {
        readonly maxTokens: 32768;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "Nvidia Llama 3.3 Nemotron Super 49B model.";
    };
    readonly "nvidia/Llama-3_1-Nemotron-Ultra-253B-v1": {
        readonly maxTokens: 32768;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "Nvidia Llama 3.1 Nemotron Ultra 253B model.";
    };
    readonly "chutesai/Llama-4-Maverick-17B-128E-Instruct-FP8": {
        readonly maxTokens: 32768;
        readonly contextWindow: 256000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "ChutesAI Llama 4 Maverick 17B Instruct FP8 model.";
    };
    readonly "deepseek-ai/DeepSeek-V3-Base": {
        readonly maxTokens: 32768;
        readonly contextWindow: 163840;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "DeepSeek V3 Base model.";
    };
    readonly "deepseek-ai/DeepSeek-R1-Zero": {
        readonly maxTokens: 32768;
        readonly contextWindow: 163840;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "DeepSeek R1 Zero model.";
    };
    readonly "deepseek-ai/DeepSeek-V3-0324": {
        readonly maxTokens: 32768;
        readonly contextWindow: 163840;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "DeepSeek V3 (0324) model.";
    };
    readonly "Qwen/Qwen3-235B-A22B-Instruct-2507": {
        readonly maxTokens: 32768;
        readonly contextWindow: 262144;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "Qwen3 235B A22B Instruct 2507 model with 262K context window.";
    };
    readonly "Qwen/Qwen3-235B-A22B": {
        readonly maxTokens: 32768;
        readonly contextWindow: 40960;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "Qwen3 235B A22B model.";
    };
    readonly "Qwen/Qwen3-32B": {
        readonly maxTokens: 32768;
        readonly contextWindow: 40960;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "Qwen3 32B model.";
    };
    readonly "Qwen/Qwen3-30B-A3B": {
        readonly maxTokens: 32768;
        readonly contextWindow: 40960;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "Qwen3 30B A3B model.";
    };
    readonly "Qwen/Qwen3-14B": {
        readonly maxTokens: 32768;
        readonly contextWindow: 40960;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "Qwen3 14B model.";
    };
    readonly "Qwen/Qwen3-8B": {
        readonly maxTokens: 32768;
        readonly contextWindow: 40960;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "Qwen3 8B model.";
    };
    readonly "microsoft/MAI-DS-R1-FP8": {
        readonly maxTokens: 32768;
        readonly contextWindow: 163840;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "Microsoft MAI-DS-R1 FP8 model.";
    };
    readonly "tngtech/DeepSeek-R1T-Chimera": {
        readonly maxTokens: 32768;
        readonly contextWindow: 163840;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "TNGTech DeepSeek R1T Chimera model.";
    };
    readonly "zai-org/GLM-4.5-Air": {
        readonly maxTokens: 32768;
        readonly contextWindow: 151329;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "GLM-4.5-Air model with 151,329 token context window and 106B total parameters with 12B activated.";
    };
    readonly "zai-org/GLM-4.5-FP8": {
        readonly maxTokens: 32768;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "GLM-4.5-FP8 model with 128k token context window, optimized for agent-based applications with MoE architecture.";
    };
    readonly "zai-org/GLM-4.5-turbo": {
        readonly maxTokens: 32768;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 1;
        readonly outputPrice: 3;
        readonly description: "GLM-4.5-turbo model with 128K token context window, optimized for fast inference.";
    };
    readonly "zai-org/GLM-4.6-FP8": {
        readonly maxTokens: 32768;
        readonly contextWindow: 202752;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "GLM-4.6 introduces major upgrades over GLM-4.5, including a longer 200K-token context window for complex tasks, stronger coding performance in benchmarks and real-world tools (such as Claude Code, Cline, Roo Code, and Kilo Code), improved reasoning with tool use during inference, more capable and efficient agent integration, and refined writing that better matches human style, readability, and natural role-play scenarios.";
    };
    readonly "zai-org/GLM-4.6-turbo": {
        readonly maxTokens: 202752;
        readonly contextWindow: 202752;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 1.15;
        readonly outputPrice: 3.25;
        readonly description: "GLM-4.6-turbo model with 200K-token context window, optimized for fast inference.";
    };
    readonly "meituan-longcat/LongCat-Flash-Thinking-FP8": {
        readonly maxTokens: 32768;
        readonly contextWindow: 128000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "LongCat Flash Thinking FP8 model with 128K context window, optimized for complex reasoning and coding tasks.";
    };
    readonly "Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8": {
        readonly maxTokens: 32768;
        readonly contextWindow: 262144;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "Qwen3 Coder 480B A35B Instruct FP8 model, optimized for coding tasks.";
    };
    readonly "moonshotai/Kimi-K2-Instruct-75k": {
        readonly maxTokens: 32768;
        readonly contextWindow: 75000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.1481;
        readonly outputPrice: 0.5926;
        readonly description: "Moonshot AI Kimi K2 Instruct model with 75k context window.";
    };
    readonly "moonshotai/Kimi-K2-Instruct-0905": {
        readonly maxTokens: 32768;
        readonly contextWindow: 262144;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.1999;
        readonly outputPrice: 0.8001;
        readonly description: "Moonshot AI Kimi K2 Instruct 0905 model with 256k context window.";
    };
    readonly "Qwen/Qwen3-235B-A22B-Thinking-2507": {
        readonly maxTokens: 32768;
        readonly contextWindow: 262144;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.077968332;
        readonly outputPrice: 0.31202496;
        readonly description: "Qwen3 235B A22B Thinking 2507 model with 262K context window.";
    };
    readonly "Qwen/Qwen3-Next-80B-A3B-Instruct": {
        readonly maxTokens: 32768;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "Fast, stable instruction-tuned model optimized for complex tasks, RAG, and tool use without thinking traces.";
    };
    readonly "Qwen/Qwen3-Next-80B-A3B-Thinking": {
        readonly maxTokens: 32768;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "Reasoning-first model with structured thinking traces for multi-step problems, math proofs, and code synthesis.";
    };
    readonly "Qwen/Qwen3-VL-235B-A22B-Thinking": {
        readonly maxTokens: 262144;
        readonly contextWindow: 262144;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.16;
        readonly outputPrice: 0.65;
        readonly description: "Qwen3‑VL‑235B‑A22B‑Thinking is an open‑weight MoE vision‑language model (235B total, ~22B activated) optimized for deliberate multi‑step reasoning with strong text‑image‑video understanding and long‑context capabilities.";
    };
};
declare const chutesDefaultModelInfo: ModelInfo;

/**
 * Converts Claude model names from hyphen-date format to Vertex AI's @-date format.
 *
 * @param modelName - The original model name (e.g., "claude-sonnet-4-20250514")
 * @returns The converted model name for Vertex AI (e.g., "claude-sonnet-4@20250514")
 *
 * @example
 * convertModelNameForVertex("claude-sonnet-4-20250514") // returns "claude-sonnet-4@20250514"
 * convertModelNameForVertex("claude-model") // returns "claude-model" (no change)
 */
declare function convertModelNameForVertex(modelName: string): string;
type ClaudeCodeModelId = keyof typeof claudeCodeModels;
declare const claudeCodeDefaultModelId: ClaudeCodeModelId;
declare const CLAUDE_CODE_DEFAULT_MAX_OUTPUT_TOKENS = 16000;
/**
 * Gets the appropriate model ID based on whether Vertex AI is being used.
 *
 * @param baseModelId - The base Claude Code model ID
 * @param useVertex - Whether to format the model ID for Vertex AI (default: false)
 * @returns The model ID, potentially formatted for Vertex AI
 *
 * @example
 * getClaudeCodeModelId("claude-sonnet-4-20250514", true) // returns "claude-sonnet-4@20250514"
 * getClaudeCodeModelId("claude-sonnet-4-20250514", false) // returns "claude-sonnet-4-20250514"
 */
declare function getClaudeCodeModelId(baseModelId: ClaudeCodeModelId, useVertex?: boolean): string;
declare const claudeCodeModels: {
    readonly "claude-sonnet-4-5": {
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly supportsReasoningEffort: false;
        readonly supportsReasoningBudget: false;
        readonly requiredReasoningBudget: false;
        readonly maxTokens: 64000;
        readonly contextWindow: 200000;
        readonly inputPrice: 3;
        readonly outputPrice: 15;
        readonly cacheWritesPrice: 3.75;
        readonly cacheReadsPrice: 0.3;
        readonly tiers: [{
            readonly contextWindow: 1000000;
            readonly inputPrice: 6;
            readonly outputPrice: 22.5;
            readonly cacheWritesPrice: 7.5;
            readonly cacheReadsPrice: 0.6;
        }];
    };
    readonly "claude-sonnet-4-5-20250929[1m]": {
        readonly contextWindow: 1000000;
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly supportsReasoningEffort: false;
        readonly supportsReasoningBudget: false;
        readonly requiredReasoningBudget: false;
        readonly maxTokens: 64000;
        readonly inputPrice: 3;
        readonly outputPrice: 15;
        readonly cacheWritesPrice: 3.75;
        readonly cacheReadsPrice: 0.3;
        readonly tiers: [{
            readonly contextWindow: 1000000;
            readonly inputPrice: 6;
            readonly outputPrice: 22.5;
            readonly cacheWritesPrice: 7.5;
            readonly cacheReadsPrice: 0.6;
        }];
    };
    readonly "claude-sonnet-4-20250514": {
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly supportsReasoningEffort: false;
        readonly supportsReasoningBudget: false;
        readonly requiredReasoningBudget: false;
        readonly maxTokens: 64000;
        readonly contextWindow: 200000;
        readonly inputPrice: 3;
        readonly outputPrice: 15;
        readonly cacheWritesPrice: 3.75;
        readonly cacheReadsPrice: 0.3;
        readonly tiers: [{
            readonly contextWindow: 1000000;
            readonly inputPrice: 6;
            readonly outputPrice: 22.5;
            readonly cacheWritesPrice: 7.5;
            readonly cacheReadsPrice: 0.6;
        }];
    };
    readonly "claude-opus-4-1-20250805": {
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly supportsReasoningEffort: false;
        readonly supportsReasoningBudget: false;
        readonly requiredReasoningBudget: false;
        readonly maxTokens: 32000;
        readonly contextWindow: 200000;
        readonly inputPrice: 15;
        readonly outputPrice: 75;
        readonly cacheWritesPrice: 18.75;
        readonly cacheReadsPrice: 1.5;
    };
    readonly "claude-opus-4-20250514": {
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly supportsReasoningEffort: false;
        readonly supportsReasoningBudget: false;
        readonly requiredReasoningBudget: false;
        readonly maxTokens: 32000;
        readonly contextWindow: 200000;
        readonly inputPrice: 15;
        readonly outputPrice: 75;
        readonly cacheWritesPrice: 18.75;
        readonly cacheReadsPrice: 1.5;
    };
    readonly "claude-3-7-sonnet-20250219": {
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly supportsReasoningEffort: false;
        readonly supportsReasoningBudget: false;
        readonly requiredReasoningBudget: false;
        readonly maxTokens: 8192;
        readonly contextWindow: 200000;
        readonly inputPrice: 3;
        readonly outputPrice: 15;
        readonly cacheWritesPrice: 3.75;
        readonly cacheReadsPrice: 0.3;
    };
    readonly "claude-3-5-sonnet-20241022": {
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly supportsReasoningEffort: false;
        readonly supportsReasoningBudget: false;
        readonly requiredReasoningBudget: false;
        readonly maxTokens: 8192;
        readonly contextWindow: 200000;
        readonly inputPrice: 3;
        readonly outputPrice: 15;
        readonly cacheWritesPrice: 3.75;
        readonly cacheReadsPrice: 0.3;
    };
    readonly "claude-3-5-haiku-20241022": {
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly supportsReasoningEffort: false;
        readonly supportsReasoningBudget: false;
        readonly requiredReasoningBudget: false;
        readonly maxTokens: 8192;
        readonly contextWindow: 200000;
        readonly inputPrice: 1;
        readonly outputPrice: 5;
        readonly cacheWritesPrice: 1.25;
        readonly cacheReadsPrice: 0.1;
    };
    readonly "claude-haiku-4-5-20251001": {
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly supportsReasoningEffort: false;
        readonly supportsReasoningBudget: false;
        readonly requiredReasoningBudget: false;
        readonly maxTokens: 64000;
        readonly contextWindow: 200000;
        readonly inputPrice: 1;
        readonly outputPrice: 5;
        readonly cacheWritesPrice: 1.25;
        readonly cacheReadsPrice: 0.1;
        readonly description: "Claude Haiku 4.5 delivers near-frontier intelligence at lightning speeds with extended thinking, vision, and multilingual support.";
    };
};

type DeepSeekModelId = keyof typeof deepSeekModels;
declare const deepSeekDefaultModelId: DeepSeekModelId;
declare const deepSeekModels: {
    readonly "deepseek-chat": {
        readonly maxTokens: 8192;
        readonly contextWindow: 128000;
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.56;
        readonly outputPrice: 1.68;
        readonly cacheWritesPrice: 0.56;
        readonly cacheReadsPrice: 0.07;
        readonly description: "DeepSeek-V3 achieves a significant breakthrough in inference speed over previous models. It tops the leaderboard among open-source models and rivals the most advanced closed-source models globally.";
    };
    readonly "deepseek-reasoner": {
        readonly maxTokens: 65536;
        readonly contextWindow: 128000;
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.56;
        readonly outputPrice: 1.68;
        readonly cacheWritesPrice: 0.56;
        readonly cacheReadsPrice: 0.07;
        readonly description: "DeepSeek-R1 achieves performance comparable to OpenAI-o1 across math, code, and reasoning tasks. Supports Chain of Thought reasoning with up to 64K output tokens.";
    };
};
declare const DEEP_SEEK_DEFAULT_TEMPERATURE = 0.6;

declare const doubaoDefaultModelId = "doubao-seed-1-6-250615";
declare const doubaoModels: {
    readonly "doubao-seed-1-6-250615": {
        readonly maxTokens: 32768;
        readonly contextWindow: 128000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.0001;
        readonly outputPrice: 0.0004;
        readonly cacheWritesPrice: 0.0001;
        readonly cacheReadsPrice: 0.00002;
        readonly description: "Doubao Seed 1.6 is a powerful model designed for high-performance tasks with extensive context handling.";
    };
    readonly "doubao-seed-1-6-thinking-250715": {
        readonly maxTokens: 32768;
        readonly contextWindow: 128000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.0002;
        readonly outputPrice: 0.0008;
        readonly cacheWritesPrice: 0.0002;
        readonly cacheReadsPrice: 0.00004;
        readonly description: "Doubao Seed 1.6 Thinking is optimized for reasoning tasks, providing enhanced performance in complex problem-solving scenarios.";
    };
    readonly "doubao-seed-1-6-flash-250715": {
        readonly maxTokens: 32768;
        readonly contextWindow: 128000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.00015;
        readonly outputPrice: 0.0006;
        readonly cacheWritesPrice: 0.00015;
        readonly cacheReadsPrice: 0.00003;
        readonly description: "Doubao Seed 1.6 Flash is tailored for speed and efficiency, making it ideal for applications requiring rapid responses.";
    };
};
declare const doubaoDefaultModelInfo: ModelInfo;
declare const DOUBAO_API_BASE_URL = "https://ark.cn-beijing.volces.com/api/v3";
declare const DOUBAO_API_CHAT_PATH = "/chat/completions";

type FeatherlessModelId = "deepseek-ai/DeepSeek-V3-0324" | "deepseek-ai/DeepSeek-R1-0528" | "moonshotai/Kimi-K2-Instruct" | "openai/gpt-oss-120b" | "Qwen/Qwen3-Coder-480B-A35B-Instruct";
declare const featherlessModels: {
    readonly "deepseek-ai/DeepSeek-V3-0324": {
        readonly maxTokens: 4096;
        readonly contextWindow: 32678;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "DeepSeek V3 0324 model.";
    };
    readonly "deepseek-ai/DeepSeek-R1-0528": {
        readonly maxTokens: 4096;
        readonly contextWindow: 32678;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "DeepSeek R1 0528 model.";
    };
    readonly "moonshotai/Kimi-K2-Instruct": {
        readonly maxTokens: 4096;
        readonly contextWindow: 32678;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "Kimi K2 Instruct model.";
    };
    readonly "openai/gpt-oss-120b": {
        readonly maxTokens: 4096;
        readonly contextWindow: 32678;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "GPT-OSS 120B model.";
    };
    readonly "Qwen/Qwen3-Coder-480B-A35B-Instruct": {
        readonly maxTokens: 4096;
        readonly contextWindow: 32678;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly description: "Qwen3 Coder 480B A35B Instruct model.";
    };
};
declare const featherlessDefaultModelId: FeatherlessModelId;

type FireworksModelId = "accounts/fireworks/models/kimi-k2-instruct" | "accounts/fireworks/models/kimi-k2-instruct-0905" | "accounts/fireworks/models/minimax-m2" | "accounts/fireworks/models/qwen3-235b-a22b-instruct-2507" | "accounts/fireworks/models/qwen3-coder-480b-a35b-instruct" | "accounts/fireworks/models/deepseek-r1-0528" | "accounts/fireworks/models/deepseek-v3" | "accounts/fireworks/models/deepseek-v3p1" | "accounts/fireworks/models/glm-4p5" | "accounts/fireworks/models/glm-4p5-air" | "accounts/fireworks/models/glm-4p6" | "accounts/fireworks/models/gpt-oss-20b" | "accounts/fireworks/models/gpt-oss-120b";
declare const fireworksDefaultModelId: FireworksModelId;
declare const fireworksModels: {
    readonly "accounts/fireworks/models/kimi-k2-instruct-0905": {
        readonly maxTokens: 16384;
        readonly contextWindow: 262144;
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.6;
        readonly outputPrice: 2.5;
        readonly cacheReadsPrice: 0.15;
        readonly description: "Kimi K2 model gets a new version update: Agentic coding: more accurate, better generalization across scaffolds. Frontend coding: improved aesthetics and functionalities on web, 3d, and other tasks. Context length: extended from 128k to 256k, providing better long-horizon support.";
    };
    readonly "accounts/fireworks/models/kimi-k2-instruct": {
        readonly maxTokens: 16384;
        readonly contextWindow: 128000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.6;
        readonly outputPrice: 2.5;
        readonly description: "Kimi K2 is a state-of-the-art mixture-of-experts (MoE) language model with 32 billion activated parameters and 1 trillion total parameters. Trained with the Muon optimizer, Kimi K2 achieves exceptional performance across frontier knowledge, reasoning, and coding tasks while being meticulously optimized for agentic capabilities.";
    };
    readonly "accounts/fireworks/models/minimax-m2": {
        readonly maxTokens: 4096;
        readonly contextWindow: 204800;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.3;
        readonly outputPrice: 1.2;
        readonly description: "MiniMax M2 is a high-performance language model with 204.8K context window, optimized for long-context understanding and generation tasks.";
    };
    readonly "accounts/fireworks/models/qwen3-235b-a22b-instruct-2507": {
        readonly maxTokens: 32768;
        readonly contextWindow: 256000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.22;
        readonly outputPrice: 0.88;
        readonly description: "Latest Qwen3 thinking model, competitive against the best closed source models in Jul 2025.";
    };
    readonly "accounts/fireworks/models/qwen3-coder-480b-a35b-instruct": {
        readonly maxTokens: 32768;
        readonly contextWindow: 256000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.45;
        readonly outputPrice: 1.8;
        readonly description: "Qwen3's most agentic code model to date.";
    };
    readonly "accounts/fireworks/models/deepseek-r1-0528": {
        readonly maxTokens: 20480;
        readonly contextWindow: 160000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 3;
        readonly outputPrice: 8;
        readonly description: "05/28 updated checkpoint of Deepseek R1. Its overall performance is now approaching that of leading models, such as O3 and Gemini 2.5 Pro. Compared to the previous version, the upgraded model shows significant improvements in handling complex reasoning tasks, and this version also offers a reduced hallucination rate, enhanced support for function calling, and better experience for vibe coding. Note that fine-tuning for this model is only available through contacting fireworks at https://fireworks.ai/company/contact-us.";
    };
    readonly "accounts/fireworks/models/deepseek-v3": {
        readonly maxTokens: 16384;
        readonly contextWindow: 128000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.9;
        readonly outputPrice: 0.9;
        readonly description: "A strong Mixture-of-Experts (MoE) language model with 671B total parameters with 37B activated for each token from Deepseek. Note that fine-tuning for this model is only available through contacting fireworks at https://fireworks.ai/company/contact-us.";
    };
    readonly "accounts/fireworks/models/deepseek-v3p1": {
        readonly maxTokens: 16384;
        readonly contextWindow: 163840;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.56;
        readonly outputPrice: 1.68;
        readonly description: "DeepSeek v3.1 is an improved version of the v3 model with enhanced performance, better reasoning capabilities, and improved code generation. This Mixture-of-Experts (MoE) model maintains the same 671B total parameters with 37B activated per token.";
    };
    readonly "accounts/fireworks/models/glm-4p5": {
        readonly maxTokens: 16384;
        readonly contextWindow: 128000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.55;
        readonly outputPrice: 2.19;
        readonly description: "Z.ai GLM-4.5 with 355B total parameters and 32B active parameters. Features unified reasoning, coding, and intelligent agent capabilities.";
    };
    readonly "accounts/fireworks/models/glm-4p5-air": {
        readonly maxTokens: 16384;
        readonly contextWindow: 128000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.55;
        readonly outputPrice: 2.19;
        readonly description: "Z.ai GLM-4.5-Air with 106B total parameters and 12B active parameters. Features unified reasoning, coding, and intelligent agent capabilities.";
    };
    readonly "accounts/fireworks/models/glm-4p6": {
        readonly maxTokens: 25344;
        readonly contextWindow: 198000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.55;
        readonly outputPrice: 2.19;
        readonly description: "Z.ai GLM-4.6 is an advanced coding model with exceptional performance on complex programming tasks. Features improved reasoning capabilities and enhanced code generation quality, making it ideal for software development workflows.";
    };
    readonly "accounts/fireworks/models/gpt-oss-20b": {
        readonly maxTokens: 16384;
        readonly contextWindow: 128000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.07;
        readonly outputPrice: 0.3;
        readonly description: "OpenAI gpt-oss-20b: Compact model for local/edge deployments. Optimized for low-latency and resource-constrained environments with chain-of-thought output, adjustable reasoning, and agentic workflows.";
    };
    readonly "accounts/fireworks/models/gpt-oss-120b": {
        readonly maxTokens: 16384;
        readonly contextWindow: 128000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.15;
        readonly outputPrice: 0.6;
        readonly description: "OpenAI gpt-oss-120b: Production-grade, general-purpose model that fits on a single H100 GPU. Features complex reasoning, configurable effort, full chain-of-thought transparency, and supports function calling, tool use, and structured outputs.";
    };
};

type GeminiModelId = keyof typeof geminiModels;
declare const geminiDefaultModelId: GeminiModelId;
declare const geminiModels: {
    readonly "gemini-flash-latest": {
        readonly maxTokens: 65536;
        readonly contextWindow: 1048576;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.3;
        readonly outputPrice: 2.5;
        readonly cacheReadsPrice: 0.075;
        readonly cacheWritesPrice: 1;
        readonly maxThinkingTokens: 24576;
        readonly supportsReasoningBudget: true;
    };
    readonly "gemini-flash-lite-latest": {
        readonly maxTokens: 65536;
        readonly contextWindow: 1048576;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.1;
        readonly outputPrice: 0.4;
        readonly cacheReadsPrice: 0.025;
        readonly cacheWritesPrice: 1;
        readonly supportsReasoningBudget: true;
        readonly maxThinkingTokens: 24576;
    };
    readonly "gemini-2.5-flash-preview-09-2025": {
        readonly maxTokens: 65536;
        readonly contextWindow: 1048576;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.3;
        readonly outputPrice: 2.5;
        readonly cacheReadsPrice: 0.075;
        readonly cacheWritesPrice: 1;
        readonly maxThinkingTokens: 24576;
        readonly supportsReasoningBudget: true;
    };
    readonly "gemini-2.5-flash-lite-preview-09-2025": {
        readonly maxTokens: 65536;
        readonly contextWindow: 1048576;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.1;
        readonly outputPrice: 0.4;
        readonly cacheReadsPrice: 0.025;
        readonly cacheWritesPrice: 1;
        readonly supportsReasoningBudget: true;
        readonly maxThinkingTokens: 24576;
    };
    readonly "gemini-2.5-flash-lite-preview-06-17": {
        readonly maxTokens: 64000;
        readonly contextWindow: 1048576;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.1;
        readonly outputPrice: 0.4;
        readonly cacheReadsPrice: 0.025;
        readonly cacheWritesPrice: 1;
        readonly supportsReasoningBudget: true;
        readonly maxThinkingTokens: 24576;
    };
    readonly "gemini-2.5-flash-preview-05-20:thinking": {
        readonly maxTokens: 65535;
        readonly contextWindow: 1048576;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.15;
        readonly outputPrice: 3.5;
        readonly cacheReadsPrice: 0.0375;
        readonly cacheWritesPrice: 1;
        readonly maxThinkingTokens: 24576;
        readonly supportsReasoningBudget: true;
        readonly requiredReasoningBudget: true;
    };
    readonly "gemini-2.5-flash-preview-05-20": {
        readonly maxTokens: 65535;
        readonly contextWindow: 1048576;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.15;
        readonly outputPrice: 0.6;
        readonly cacheReadsPrice: 0.0375;
        readonly cacheWritesPrice: 1;
    };
    readonly "gemini-2.5-flash-preview-04-17:thinking": {
        readonly maxTokens: 65535;
        readonly contextWindow: 1048576;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.15;
        readonly outputPrice: 3.5;
        readonly maxThinkingTokens: 24576;
        readonly supportsReasoningBudget: true;
        readonly requiredReasoningBudget: true;
    };
    readonly "gemini-2.5-flash-preview-04-17": {
        readonly maxTokens: 65535;
        readonly contextWindow: 1048576;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.15;
        readonly outputPrice: 0.6;
    };
    readonly "gemini-2.5-flash": {
        readonly maxTokens: 64000;
        readonly contextWindow: 1048576;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.3;
        readonly outputPrice: 2.5;
        readonly cacheReadsPrice: 0.075;
        readonly cacheWritesPrice: 1;
        readonly maxThinkingTokens: 24576;
        readonly supportsReasoningBudget: true;
    };
    readonly "gemini-2.5-pro-preview-06-05": {
        readonly maxTokens: 65535;
        readonly contextWindow: 1048576;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 2.5;
        readonly outputPrice: 15;
        readonly cacheReadsPrice: 0.625;
        readonly cacheWritesPrice: 4.5;
        readonly maxThinkingTokens: 32768;
        readonly supportsReasoningBudget: true;
        readonly tiers: [{
            readonly contextWindow: 200000;
            readonly inputPrice: 1.25;
            readonly outputPrice: 10;
            readonly cacheReadsPrice: 0.31;
        }, {
            readonly contextWindow: number;
            readonly inputPrice: 2.5;
            readonly outputPrice: 15;
            readonly cacheReadsPrice: 0.625;
        }];
    };
    readonly "gemini-2.5-pro-preview-05-06": {
        readonly maxTokens: 65535;
        readonly contextWindow: 1048576;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 2.5;
        readonly outputPrice: 15;
        readonly cacheReadsPrice: 0.625;
        readonly cacheWritesPrice: 4.5;
        readonly tiers: [{
            readonly contextWindow: 200000;
            readonly inputPrice: 1.25;
            readonly outputPrice: 10;
            readonly cacheReadsPrice: 0.31;
        }, {
            readonly contextWindow: number;
            readonly inputPrice: 2.5;
            readonly outputPrice: 15;
            readonly cacheReadsPrice: 0.625;
        }];
    };
    readonly "gemini-2.5-pro-preview-03-25": {
        readonly maxTokens: 65535;
        readonly contextWindow: 1048576;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 2.5;
        readonly outputPrice: 15;
        readonly cacheReadsPrice: 0.625;
        readonly cacheWritesPrice: 4.5;
        readonly maxThinkingTokens: 32768;
        readonly supportsReasoningBudget: true;
        readonly tiers: [{
            readonly contextWindow: 200000;
            readonly inputPrice: 1.25;
            readonly outputPrice: 10;
            readonly cacheReadsPrice: 0.31;
        }, {
            readonly contextWindow: number;
            readonly inputPrice: 2.5;
            readonly outputPrice: 15;
            readonly cacheReadsPrice: 0.625;
        }];
    };
    readonly "gemini-2.5-pro-exp-03-25": {
        readonly maxTokens: 65535;
        readonly contextWindow: 1048576;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
    };
    readonly "gemini-2.5-pro": {
        readonly maxTokens: 64000;
        readonly contextWindow: 1048576;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 2.5;
        readonly outputPrice: 15;
        readonly cacheReadsPrice: 0.625;
        readonly cacheWritesPrice: 4.5;
        readonly maxThinkingTokens: 32768;
        readonly supportsReasoningBudget: true;
        readonly requiredReasoningBudget: true;
        readonly tiers: [{
            readonly contextWindow: 200000;
            readonly inputPrice: 1.25;
            readonly outputPrice: 10;
            readonly cacheReadsPrice: 0.31;
        }, {
            readonly contextWindow: number;
            readonly inputPrice: 2.5;
            readonly outputPrice: 15;
            readonly cacheReadsPrice: 0.625;
        }];
    };
    readonly "gemini-2.0-flash-lite-preview-02-05": {
        readonly maxTokens: 8192;
        readonly contextWindow: 1048576;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
    };
    readonly "gemini-2.0-flash-thinking-exp-01-21": {
        readonly maxTokens: 65536;
        readonly contextWindow: 1048576;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
    };
    readonly "gemini-2.0-flash-thinking-exp-1219": {
        readonly maxTokens: 8192;
        readonly contextWindow: 32767;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
    };
    readonly "gemini-2.0-flash-exp": {
        readonly maxTokens: 8192;
        readonly contextWindow: 1048576;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
    };
    readonly "gemini-2.0-flash-001": {
        readonly maxTokens: 8192;
        readonly contextWindow: 1048576;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.1;
        readonly outputPrice: 0.4;
        readonly cacheReadsPrice: 0.025;
        readonly cacheWritesPrice: 1;
    };
    readonly "gemini-2.0-pro-exp-02-05": {
        readonly maxTokens: 8192;
        readonly contextWindow: 2097152;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
    };
    readonly "gemini-1.5-flash-002": {
        readonly maxTokens: 8192;
        readonly contextWindow: 1048576;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.15;
        readonly outputPrice: 0.6;
        readonly cacheReadsPrice: 0.0375;
        readonly cacheWritesPrice: 1;
        readonly tiers: [{
            readonly contextWindow: 128000;
            readonly inputPrice: 0.075;
            readonly outputPrice: 0.3;
            readonly cacheReadsPrice: 0.01875;
        }, {
            readonly contextWindow: number;
            readonly inputPrice: 0.15;
            readonly outputPrice: 0.6;
            readonly cacheReadsPrice: 0.0375;
        }];
    };
    readonly "gemini-1.5-flash-exp-0827": {
        readonly maxTokens: 8192;
        readonly contextWindow: 1048576;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
    };
    readonly "gemini-1.5-flash-8b-exp-0827": {
        readonly maxTokens: 8192;
        readonly contextWindow: 1048576;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
    };
    readonly "gemini-1.5-pro-002": {
        readonly maxTokens: 8192;
        readonly contextWindow: 2097152;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
    };
    readonly "gemini-1.5-pro-exp-0827": {
        readonly maxTokens: 8192;
        readonly contextWindow: 2097152;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
    };
    readonly "gemini-exp-1206": {
        readonly maxTokens: 8192;
        readonly contextWindow: 2097152;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
    };
};

declare const glamaDefaultModelId = "anthropic/claude-3-7-sonnet";
declare const glamaDefaultModelInfo: ModelInfo;
declare const GLAMA_DEFAULT_TEMPERATURE = 0;

type GroqModelId = "llama-3.1-8b-instant" | "llama-3.3-70b-versatile" | "meta-llama/llama-4-scout-17b-16e-instruct" | "meta-llama/llama-4-maverick-17b-128e-instruct" | "mistral-saba-24b" | "qwen-qwq-32b" | "qwen/qwen3-32b" | "deepseek-r1-distill-llama-70b" | "moonshotai/kimi-k2-instruct" | "moonshotai/kimi-k2-instruct-0905" | "openai/gpt-oss-120b" | "openai/gpt-oss-20b";
declare const groqDefaultModelId: GroqModelId;
declare const groqModels: {
    readonly "llama-3.1-8b-instant": {
        readonly maxTokens: 8192;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.05;
        readonly outputPrice: 0.08;
        readonly description: "Meta Llama 3.1 8B Instant model, 128K context.";
    };
    readonly "llama-3.3-70b-versatile": {
        readonly maxTokens: 8192;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.59;
        readonly outputPrice: 0.79;
        readonly description: "Meta Llama 3.3 70B Versatile model, 128K context.";
    };
    readonly "meta-llama/llama-4-scout-17b-16e-instruct": {
        readonly maxTokens: 8192;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.11;
        readonly outputPrice: 0.34;
        readonly description: "Meta Llama 4 Scout 17B Instruct model, 128K context.";
    };
    readonly "meta-llama/llama-4-maverick-17b-128e-instruct": {
        readonly maxTokens: 8192;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.2;
        readonly outputPrice: 0.6;
        readonly description: "Meta Llama 4 Maverick 17B Instruct model, 128K context.";
    };
    readonly "mistral-saba-24b": {
        readonly maxTokens: 8192;
        readonly contextWindow: 32768;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.79;
        readonly outputPrice: 0.79;
        readonly description: "Mistral Saba 24B model, 32K context.";
    };
    readonly "qwen-qwq-32b": {
        readonly maxTokens: 8192;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.29;
        readonly outputPrice: 0.39;
        readonly description: "Alibaba Qwen QwQ 32B model, 128K context.";
    };
    readonly "qwen/qwen3-32b": {
        readonly maxTokens: 8192;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.29;
        readonly outputPrice: 0.59;
        readonly description: "Alibaba Qwen 3 32B model, 128K context.";
    };
    readonly "deepseek-r1-distill-llama-70b": {
        readonly maxTokens: 8192;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.75;
        readonly outputPrice: 0.99;
        readonly description: "DeepSeek R1 Distill Llama 70B model, 128K context.";
    };
    readonly "moonshotai/kimi-k2-instruct": {
        readonly maxTokens: 16384;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly inputPrice: 1;
        readonly outputPrice: 3;
        readonly cacheReadsPrice: 0.5;
        readonly description: "Moonshot AI Kimi K2 Instruct 1T model, 128K context.";
    };
    readonly "moonshotai/kimi-k2-instruct-0905": {
        readonly maxTokens: 16384;
        readonly contextWindow: 262144;
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.6;
        readonly outputPrice: 2.5;
        readonly cacheReadsPrice: 0.15;
        readonly description: "Kimi K2 model gets a new version update: Agentic coding: more accurate, better generalization across scaffolds. Frontend coding: improved aesthetics and functionalities on web, 3d, and other tasks. Context length: extended from 128k to 256k, providing better long-horizon support.";
    };
    readonly "openai/gpt-oss-120b": {
        readonly maxTokens: 32766;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.15;
        readonly outputPrice: 0.75;
        readonly description: "GPT-OSS 120B is OpenAI's flagship open source model, built on a Mixture-of-Experts (MoE) architecture with 20 billion parameters and 128 experts.";
    };
    readonly "openai/gpt-oss-20b": {
        readonly maxTokens: 32768;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.1;
        readonly outputPrice: 0.5;
        readonly description: "GPT-OSS 20B is OpenAI's flagship open source model, built on a Mixture-of-Experts (MoE) architecture with 20 billion parameters and 32 experts.";
    };
};

/**
 * HuggingFace provider constants
 */
declare const HUGGINGFACE_DEFAULT_MAX_TOKENS = 2048;
declare const HUGGINGFACE_MAX_TOKENS_FALLBACK = 8192;
declare const HUGGINGFACE_DEFAULT_CONTEXT_WINDOW = 128000;
declare const HUGGINGFACE_SLIDER_STEP = 256;
declare const HUGGINGFACE_SLIDER_MIN = 1;
declare const HUGGINGFACE_TEMPERATURE_MAX_VALUE = 2;
declare const HUGGINGFACE_API_URL = "https://router.huggingface.co/v1/models?collection=roocode";
declare const HUGGINGFACE_CACHE_DURATION: number;

type IOIntelligenceModelId = "deepseek-ai/DeepSeek-R1-0528" | "meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8" | "Intel/Qwen3-Coder-480B-A35B-Instruct-int4-mixed-ar" | "openai/gpt-oss-120b";
declare const ioIntelligenceDefaultModelId: IOIntelligenceModelId;
declare const ioIntelligenceDefaultBaseUrl = "https://api.intelligence.io.solutions/api/v1";
declare const IO_INTELLIGENCE_CACHE_DURATION: number;
declare const ioIntelligenceModels: {
    readonly "deepseek-ai/DeepSeek-R1-0528": {
        readonly maxTokens: 8192;
        readonly contextWindow: 128000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly description: "DeepSeek R1 reasoning model";
    };
    readonly "meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8": {
        readonly maxTokens: 8192;
        readonly contextWindow: 430000;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly description: "Llama 4 Maverick 17B model";
    };
    readonly "Intel/Qwen3-Coder-480B-A35B-Instruct-int4-mixed-ar": {
        readonly maxTokens: 8192;
        readonly contextWindow: 106000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly description: "Qwen3 Coder 480B specialized for coding";
    };
    readonly "openai/gpt-oss-120b": {
        readonly maxTokens: 8192;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly description: "OpenAI GPT-OSS 120B model";
    };
};

declare const litellmDefaultModelId = "claude-3-7-sonnet-20250219";
declare const litellmDefaultModelInfo: ModelInfo;

declare const LMSTUDIO_DEFAULT_TEMPERATURE = 0;
declare const lMStudioDefaultModelId = "mistralai/devstral-small-2505";
declare const lMStudioDefaultModelInfo: ModelInfo;

type MistralModelId = keyof typeof mistralModels;
declare const mistralDefaultModelId: MistralModelId;
declare const mistralModels: {
    readonly "magistral-medium-latest": {
        readonly maxTokens: 8192;
        readonly contextWindow: 128000;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 2;
        readonly outputPrice: 5;
    };
    readonly "devstral-medium-latest": {
        readonly maxTokens: 131000;
        readonly contextWindow: 131000;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.4;
        readonly outputPrice: 2;
    };
    readonly "mistral-medium-latest": {
        readonly maxTokens: 131000;
        readonly contextWindow: 131000;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.4;
        readonly outputPrice: 2;
    };
    readonly "codestral-latest": {
        readonly maxTokens: 256000;
        readonly contextWindow: 256000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.3;
        readonly outputPrice: 0.9;
    };
    readonly "mistral-large-latest": {
        readonly maxTokens: 131000;
        readonly contextWindow: 131000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 2;
        readonly outputPrice: 6;
    };
    readonly "ministral-8b-latest": {
        readonly maxTokens: 131000;
        readonly contextWindow: 131000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.1;
        readonly outputPrice: 0.1;
    };
    readonly "ministral-3b-latest": {
        readonly maxTokens: 131000;
        readonly contextWindow: 131000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.04;
        readonly outputPrice: 0.04;
    };
    readonly "mistral-small-latest": {
        readonly maxTokens: 32000;
        readonly contextWindow: 32000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.2;
        readonly outputPrice: 0.6;
    };
    readonly "pixtral-large-latest": {
        readonly maxTokens: 131000;
        readonly contextWindow: 131000;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 2;
        readonly outputPrice: 6;
    };
};
declare const MISTRAL_DEFAULT_TEMPERATURE = 0;

type MoonshotModelId = keyof typeof moonshotModels;
declare const moonshotDefaultModelId: MoonshotModelId;
declare const moonshotModels: {
    readonly "kimi-k2-0711-preview": {
        readonly maxTokens: 32000;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.6;
        readonly outputPrice: 2.5;
        readonly cacheWritesPrice: 0;
        readonly cacheReadsPrice: 0.15;
        readonly description: "Kimi K2 is a state-of-the-art mixture-of-experts (MoE) language model with 32 billion activated parameters and 1 trillion total parameters.";
    };
    readonly "kimi-k2-0905-preview": {
        readonly maxTokens: 16384;
        readonly contextWindow: 262144;
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.6;
        readonly outputPrice: 2.5;
        readonly cacheReadsPrice: 0.15;
        readonly description: "Kimi K2 model gets a new version update: Agentic coding: more accurate, better generalization across scaffolds. Frontend coding: improved aesthetics and functionalities on web, 3d, and other tasks. Context length: extended from 128k to 256k, providing better long-horizon support.";
    };
    readonly "kimi-k2-turbo-preview": {
        readonly maxTokens: 32000;
        readonly contextWindow: 262144;
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly inputPrice: 2.4;
        readonly outputPrice: 10;
        readonly cacheWritesPrice: 0;
        readonly cacheReadsPrice: 0.6;
        readonly description: "Kimi K2 Turbo is a high-speed version of the state-of-the-art Kimi K2 mixture-of-experts (MoE) language model, with the same 32 billion activated parameters and 1 trillion total parameters, optimized for output speeds of up to 60 tokens per second, peaking at 100 tokens per second.";
    };
    readonly "kimi-k2-thinking": {
        readonly maxTokens: 16000;
        readonly contextWindow: 262144;
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.6;
        readonly outputPrice: 2.5;
        readonly cacheWritesPrice: 0;
        readonly cacheReadsPrice: 0.15;
        readonly supportsTemperature: true;
        readonly preserveReasoning: true;
        readonly defaultTemperature: 1;
        readonly description: "The kimi-k2-thinking model is a general-purpose agentic reasoning model developed by Moonshot AI. Thanks to its strength in deep reasoning and multi-turn tool use, it can solve even the hardest problems.";
    };
};
declare const MOONSHOT_DEFAULT_TEMPERATURE = 0.6;

declare const ollamaDefaultModelId = "devstral:24b";
declare const ollamaDefaultModelInfo: ModelInfo;

type OpenAiNativeModelId = keyof typeof openAiNativeModels;
declare const openAiNativeDefaultModelId: OpenAiNativeModelId;
declare const openAiNativeModels: {
    readonly "gpt-5.1": {
        readonly maxTokens: 128000;
        readonly contextWindow: 400000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly promptCacheRetention: "24h";
        readonly supportsReasoningEffort: ["none", "low", "medium", "high"];
        readonly reasoningEffort: "medium";
        readonly inputPrice: 1.25;
        readonly outputPrice: 10;
        readonly cacheReadsPrice: 0.125;
        readonly supportsVerbosity: true;
        readonly supportsTemperature: false;
        readonly tiers: [{
            readonly name: "flex";
            readonly contextWindow: 400000;
            readonly inputPrice: 0.625;
            readonly outputPrice: 5;
            readonly cacheReadsPrice: 0.0625;
        }, {
            readonly name: "priority";
            readonly contextWindow: 400000;
            readonly inputPrice: 2.5;
            readonly outputPrice: 20;
            readonly cacheReadsPrice: 0.25;
        }];
        readonly description: "GPT-5.1: The best model for coding and agentic tasks across domains";
    };
    readonly "gpt-5.1-codex": {
        readonly maxTokens: 128000;
        readonly contextWindow: 400000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly promptCacheRetention: "24h";
        readonly supportsReasoningEffort: ["low", "medium", "high"];
        readonly reasoningEffort: "medium";
        readonly inputPrice: 1.25;
        readonly outputPrice: 10;
        readonly cacheReadsPrice: 0.125;
        readonly supportsTemperature: false;
        readonly tiers: [{
            readonly name: "priority";
            readonly contextWindow: 400000;
            readonly inputPrice: 2.5;
            readonly outputPrice: 20;
            readonly cacheReadsPrice: 0.25;
        }];
        readonly description: "GPT-5.1 Codex: A version of GPT-5.1 optimized for agentic coding in Codex";
    };
    readonly "gpt-5.1-codex-mini": {
        readonly maxTokens: 128000;
        readonly contextWindow: 400000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly promptCacheRetention: "24h";
        readonly supportsReasoningEffort: ["low", "medium", "high"];
        readonly reasoningEffort: "medium";
        readonly inputPrice: 0.25;
        readonly outputPrice: 2;
        readonly cacheReadsPrice: 0.025;
        readonly supportsTemperature: false;
        readonly description: "GPT-5.1 Codex mini: A version of GPT-5.1 optimized for agentic coding in Codex";
    };
    readonly "gpt-5": {
        readonly maxTokens: 128000;
        readonly contextWindow: 400000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly supportsReasoningEffort: ["minimal", "low", "medium", "high"];
        readonly reasoningEffort: "medium";
        readonly inputPrice: 1.25;
        readonly outputPrice: 10;
        readonly cacheReadsPrice: 0.125;
        readonly supportsVerbosity: true;
        readonly supportsTemperature: false;
        readonly tiers: [{
            readonly name: "flex";
            readonly contextWindow: 400000;
            readonly inputPrice: 0.625;
            readonly outputPrice: 5;
            readonly cacheReadsPrice: 0.0625;
        }, {
            readonly name: "priority";
            readonly contextWindow: 400000;
            readonly inputPrice: 2.5;
            readonly outputPrice: 20;
            readonly cacheReadsPrice: 0.25;
        }];
        readonly description: "GPT-5: The best model for coding and agentic tasks across domains";
    };
    readonly "gpt-5-mini": {
        readonly maxTokens: 128000;
        readonly contextWindow: 400000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly supportsReasoningEffort: ["minimal", "low", "medium", "high"];
        readonly reasoningEffort: "medium";
        readonly inputPrice: 0.25;
        readonly outputPrice: 2;
        readonly cacheReadsPrice: 0.025;
        readonly supportsVerbosity: true;
        readonly supportsTemperature: false;
        readonly tiers: [{
            readonly name: "flex";
            readonly contextWindow: 400000;
            readonly inputPrice: 0.125;
            readonly outputPrice: 1;
            readonly cacheReadsPrice: 0.0125;
        }, {
            readonly name: "priority";
            readonly contextWindow: 400000;
            readonly inputPrice: 0.45;
            readonly outputPrice: 3.6;
            readonly cacheReadsPrice: 0.045;
        }];
        readonly description: "GPT-5 Mini: A faster, more cost-efficient version of GPT-5 for well-defined tasks";
    };
    readonly "gpt-5-codex": {
        readonly maxTokens: 128000;
        readonly contextWindow: 400000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly supportsReasoningEffort: ["low", "medium", "high"];
        readonly reasoningEffort: "medium";
        readonly inputPrice: 1.25;
        readonly outputPrice: 10;
        readonly cacheReadsPrice: 0.125;
        readonly supportsTemperature: false;
        readonly tiers: [{
            readonly name: "priority";
            readonly contextWindow: 400000;
            readonly inputPrice: 2.5;
            readonly outputPrice: 20;
            readonly cacheReadsPrice: 0.25;
        }];
        readonly description: "GPT-5-Codex: A version of GPT-5 optimized for agentic coding in Codex";
    };
    readonly "gpt-5-nano": {
        readonly maxTokens: 128000;
        readonly contextWindow: 400000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly supportsReasoningEffort: ["minimal", "low", "medium", "high"];
        readonly reasoningEffort: "medium";
        readonly inputPrice: 0.05;
        readonly outputPrice: 0.4;
        readonly cacheReadsPrice: 0.005;
        readonly supportsVerbosity: true;
        readonly supportsTemperature: false;
        readonly tiers: [{
            readonly name: "flex";
            readonly contextWindow: 400000;
            readonly inputPrice: 0.025;
            readonly outputPrice: 0.2;
            readonly cacheReadsPrice: 0.0025;
        }];
        readonly description: "GPT-5 Nano: Fastest, most cost-efficient version of GPT-5";
    };
    readonly "gpt-5-chat-latest": {
        readonly maxTokens: 128000;
        readonly contextWindow: 400000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 1.25;
        readonly outputPrice: 10;
        readonly cacheReadsPrice: 0.125;
        readonly description: "GPT-5 Chat: Optimized for conversational AI and non-reasoning tasks";
    };
    readonly "gpt-4.1": {
        readonly maxTokens: 32768;
        readonly contextWindow: 1047576;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 2;
        readonly outputPrice: 8;
        readonly cacheReadsPrice: 0.5;
        readonly supportsTemperature: true;
        readonly tiers: [{
            readonly name: "priority";
            readonly contextWindow: 1047576;
            readonly inputPrice: 3.5;
            readonly outputPrice: 14;
            readonly cacheReadsPrice: 0.875;
        }];
    };
    readonly "gpt-4.1-mini": {
        readonly maxTokens: 32768;
        readonly contextWindow: 1047576;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.4;
        readonly outputPrice: 1.6;
        readonly cacheReadsPrice: 0.1;
        readonly supportsTemperature: true;
        readonly tiers: [{
            readonly name: "priority";
            readonly contextWindow: 1047576;
            readonly inputPrice: 0.7;
            readonly outputPrice: 2.8;
            readonly cacheReadsPrice: 0.175;
        }];
    };
    readonly "gpt-4.1-nano": {
        readonly maxTokens: 32768;
        readonly contextWindow: 1047576;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.1;
        readonly outputPrice: 0.4;
        readonly cacheReadsPrice: 0.025;
        readonly supportsTemperature: true;
        readonly tiers: [{
            readonly name: "priority";
            readonly contextWindow: 1047576;
            readonly inputPrice: 0.2;
            readonly outputPrice: 0.8;
            readonly cacheReadsPrice: 0.05;
        }];
    };
    readonly o3: {
        readonly maxTokens: 100000;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 2;
        readonly outputPrice: 8;
        readonly cacheReadsPrice: 0.5;
        readonly supportsReasoningEffort: ["low", "medium", "high"];
        readonly reasoningEffort: "medium";
        readonly supportsTemperature: false;
        readonly tiers: [{
            readonly name: "flex";
            readonly contextWindow: 200000;
            readonly inputPrice: 1;
            readonly outputPrice: 4;
            readonly cacheReadsPrice: 0.25;
        }, {
            readonly name: "priority";
            readonly contextWindow: 200000;
            readonly inputPrice: 3.5;
            readonly outputPrice: 14;
            readonly cacheReadsPrice: 0.875;
        }];
    };
    readonly "o3-high": {
        readonly maxTokens: 100000;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 2;
        readonly outputPrice: 8;
        readonly cacheReadsPrice: 0.5;
        readonly reasoningEffort: "high";
        readonly supportsTemperature: false;
    };
    readonly "o3-low": {
        readonly maxTokens: 100000;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 2;
        readonly outputPrice: 8;
        readonly cacheReadsPrice: 0.5;
        readonly reasoningEffort: "low";
        readonly supportsTemperature: false;
    };
    readonly "o4-mini": {
        readonly maxTokens: 100000;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 1.1;
        readonly outputPrice: 4.4;
        readonly cacheReadsPrice: 0.275;
        readonly supportsReasoningEffort: ["low", "medium", "high"];
        readonly reasoningEffort: "medium";
        readonly supportsTemperature: false;
        readonly tiers: [{
            readonly name: "flex";
            readonly contextWindow: 200000;
            readonly inputPrice: 0.55;
            readonly outputPrice: 2.2;
            readonly cacheReadsPrice: 0.138;
        }, {
            readonly name: "priority";
            readonly contextWindow: 200000;
            readonly inputPrice: 2;
            readonly outputPrice: 8;
            readonly cacheReadsPrice: 0.5;
        }];
    };
    readonly "o4-mini-high": {
        readonly maxTokens: 100000;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 1.1;
        readonly outputPrice: 4.4;
        readonly cacheReadsPrice: 0.275;
        readonly reasoningEffort: "high";
        readonly supportsTemperature: false;
    };
    readonly "o4-mini-low": {
        readonly maxTokens: 100000;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 1.1;
        readonly outputPrice: 4.4;
        readonly cacheReadsPrice: 0.275;
        readonly reasoningEffort: "low";
        readonly supportsTemperature: false;
    };
    readonly "o3-mini": {
        readonly maxTokens: 100000;
        readonly contextWindow: 200000;
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly inputPrice: 1.1;
        readonly outputPrice: 4.4;
        readonly cacheReadsPrice: 0.55;
        readonly supportsReasoningEffort: ["low", "medium", "high"];
        readonly reasoningEffort: "medium";
        readonly supportsTemperature: false;
    };
    readonly "o3-mini-high": {
        readonly maxTokens: 100000;
        readonly contextWindow: 200000;
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly inputPrice: 1.1;
        readonly outputPrice: 4.4;
        readonly cacheReadsPrice: 0.55;
        readonly reasoningEffort: "high";
        readonly supportsTemperature: false;
    };
    readonly "o3-mini-low": {
        readonly maxTokens: 100000;
        readonly contextWindow: 200000;
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly inputPrice: 1.1;
        readonly outputPrice: 4.4;
        readonly cacheReadsPrice: 0.55;
        readonly reasoningEffort: "low";
        readonly supportsTemperature: false;
    };
    readonly o1: {
        readonly maxTokens: 100000;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 15;
        readonly outputPrice: 60;
        readonly cacheReadsPrice: 7.5;
        readonly supportsTemperature: false;
    };
    readonly "o1-preview": {
        readonly maxTokens: 32768;
        readonly contextWindow: 128000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 15;
        readonly outputPrice: 60;
        readonly cacheReadsPrice: 7.5;
        readonly supportsTemperature: false;
    };
    readonly "o1-mini": {
        readonly maxTokens: 65536;
        readonly contextWindow: 128000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 1.1;
        readonly outputPrice: 4.4;
        readonly cacheReadsPrice: 0.55;
        readonly supportsTemperature: false;
    };
    readonly "gpt-4o": {
        readonly maxTokens: 16384;
        readonly contextWindow: 128000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 2.5;
        readonly outputPrice: 10;
        readonly cacheReadsPrice: 1.25;
        readonly supportsTemperature: true;
        readonly tiers: [{
            readonly name: "priority";
            readonly contextWindow: 128000;
            readonly inputPrice: 4.25;
            readonly outputPrice: 17;
            readonly cacheReadsPrice: 2.125;
        }];
    };
    readonly "gpt-4o-mini": {
        readonly maxTokens: 16384;
        readonly contextWindow: 128000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.15;
        readonly outputPrice: 0.6;
        readonly cacheReadsPrice: 0.075;
        readonly supportsTemperature: true;
        readonly tiers: [{
            readonly name: "priority";
            readonly contextWindow: 128000;
            readonly inputPrice: 0.25;
            readonly outputPrice: 1;
            readonly cacheReadsPrice: 0.125;
        }];
    };
    readonly "codex-mini-latest": {
        readonly maxTokens: 16384;
        readonly contextWindow: 200000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 1.5;
        readonly outputPrice: 6;
        readonly cacheReadsPrice: 0.375;
        readonly supportsTemperature: false;
        readonly description: "Codex Mini: Cloud-based software engineering agent powered by codex-1, a version of o3 optimized for coding tasks. Trained with reinforcement learning to generate human-style code, adhere to instructions, and iteratively run tests.";
    };
    readonly "gpt-5-2025-08-07": {
        readonly maxTokens: 128000;
        readonly contextWindow: 400000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly supportsReasoningEffort: ["minimal", "low", "medium", "high"];
        readonly reasoningEffort: "medium";
        readonly inputPrice: 1.25;
        readonly outputPrice: 10;
        readonly cacheReadsPrice: 0.125;
        readonly supportsVerbosity: true;
        readonly supportsTemperature: false;
        readonly tiers: [{
            readonly name: "flex";
            readonly contextWindow: 400000;
            readonly inputPrice: 0.625;
            readonly outputPrice: 5;
            readonly cacheReadsPrice: 0.0625;
        }, {
            readonly name: "priority";
            readonly contextWindow: 400000;
            readonly inputPrice: 2.5;
            readonly outputPrice: 20;
            readonly cacheReadsPrice: 0.25;
        }];
        readonly description: "GPT-5: The best model for coding and agentic tasks across domains";
    };
    readonly "gpt-5-mini-2025-08-07": {
        readonly maxTokens: 128000;
        readonly contextWindow: 400000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly supportsReasoningEffort: ["minimal", "low", "medium", "high"];
        readonly reasoningEffort: "medium";
        readonly inputPrice: 0.25;
        readonly outputPrice: 2;
        readonly cacheReadsPrice: 0.025;
        readonly supportsVerbosity: true;
        readonly supportsTemperature: false;
        readonly tiers: [{
            readonly name: "flex";
            readonly contextWindow: 400000;
            readonly inputPrice: 0.125;
            readonly outputPrice: 1;
            readonly cacheReadsPrice: 0.0125;
        }, {
            readonly name: "priority";
            readonly contextWindow: 400000;
            readonly inputPrice: 0.45;
            readonly outputPrice: 3.6;
            readonly cacheReadsPrice: 0.045;
        }];
        readonly description: "GPT-5 Mini: A faster, more cost-efficient version of GPT-5 for well-defined tasks";
    };
    readonly "gpt-5-nano-2025-08-07": {
        readonly maxTokens: 128000;
        readonly contextWindow: 400000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly supportsReasoningEffort: ["minimal", "low", "medium", "high"];
        readonly reasoningEffort: "medium";
        readonly inputPrice: 0.05;
        readonly outputPrice: 0.4;
        readonly cacheReadsPrice: 0.005;
        readonly supportsVerbosity: true;
        readonly supportsTemperature: false;
        readonly tiers: [{
            readonly name: "flex";
            readonly contextWindow: 400000;
            readonly inputPrice: 0.025;
            readonly outputPrice: 0.2;
            readonly cacheReadsPrice: 0.0025;
        }];
        readonly description: "GPT-5 Nano: Fastest, most cost-efficient version of GPT-5";
    };
};
declare const openAiModelInfoSaneDefaults: ModelInfo;
declare const azureOpenAiDefaultApiVersion = "2024-08-01-preview";
declare const OPENAI_NATIVE_DEFAULT_TEMPERATURE = 0;
declare const OPENAI_AZURE_AI_INFERENCE_PATH = "/models/chat/completions";

declare const openRouterDefaultModelId = "anthropic/claude-sonnet-4.5";
declare const openRouterDefaultModelInfo: ModelInfo;
declare const OPENROUTER_DEFAULT_PROVIDER_NAME = "[default]";
declare const OPEN_ROUTER_PROMPT_CACHING_MODELS: Set<string>;
declare const OPEN_ROUTER_REQUIRED_REASONING_BUDGET_MODELS: Set<string>;
declare const OPEN_ROUTER_REASONING_BUDGET_MODELS: Set<string>;

type QwenCodeModelId = "qwen3-coder-plus" | "qwen3-coder-flash";
declare const qwenCodeDefaultModelId: QwenCodeModelId;
declare const qwenCodeModels: {
    readonly "qwen3-coder-plus": {
        readonly maxTokens: 65536;
        readonly contextWindow: 1000000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly cacheWritesPrice: 0;
        readonly cacheReadsPrice: 0;
        readonly description: "Qwen3 Coder Plus - High-performance coding model with 1M context window for large codebases";
    };
    readonly "qwen3-coder-flash": {
        readonly maxTokens: 65536;
        readonly contextWindow: 1000000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly cacheWritesPrice: 0;
        readonly cacheReadsPrice: 0;
        readonly description: "Qwen3 Coder Flash - Fast coding model with 1M context window optimized for speed";
    };
};

declare const requestyDefaultModelId = "coding/claude-4-sonnet";
declare const requestyDefaultModelInfo: ModelInfo;

/**
 * Roo Code Cloud is a dynamic provider - models are loaded from the /v1/models API endpoint.
 * Default model ID used as fallback when no model is specified.
 */
declare const rooDefaultModelId = "xai/grok-code-fast-1";
/**
 * Empty models object maintained for type compatibility.
 * All model data comes dynamically from the API.
 */
declare const rooModels: {};
/**
 * Model-specific defaults for Roo provider models.
 * These defaults are merged with dynamically fetched model data.
 *
 * Use this to configure model-specific settings like defaultToolProtocol.
 *
 * Example usage:
 * ```typescript
 * export const rooModelDefaults: Record<string, Partial<ModelInfo>> = {
 *   "anthropic/claude-3-5-sonnet-20241022": {
 *     defaultToolProtocol: "xml",
 *   },
 *   "openai/gpt-4o": {
 *     defaultToolProtocol: "native",
 *   },
 *   "xai/grok-code-fast-1": {
 *     defaultToolProtocol: "native",
 *   },
 * }
 * ```
 */
declare const rooModelDefaults: Record<string, Partial<ModelInfo>>;
/**
 * Roo Code Cloud API response schemas
 */
declare const RooPricingSchema: z.ZodObject<{
    input: z.ZodString;
    output: z.ZodString;
    input_cache_read: z.ZodOptional<z.ZodString>;
    input_cache_write: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    input: string;
    output: string;
    input_cache_read?: string | undefined;
    input_cache_write?: string | undefined;
}, {
    input: string;
    output: string;
    input_cache_read?: string | undefined;
    input_cache_write?: string | undefined;
}>;
declare const RooModelSchema: z.ZodObject<{
    id: z.ZodString;
    object: z.ZodLiteral<"model">;
    created: z.ZodNumber;
    owned_by: z.ZodString;
    name: z.ZodString;
    description: z.ZodString;
    context_window: z.ZodNumber;
    max_tokens: z.ZodNumber;
    type: z.ZodLiteral<"language">;
    tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    pricing: z.ZodObject<{
        input: z.ZodString;
        output: z.ZodString;
        input_cache_read: z.ZodOptional<z.ZodString>;
        input_cache_write: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        input: string;
        output: string;
        input_cache_read?: string | undefined;
        input_cache_write?: string | undefined;
    }, {
        input: string;
        output: string;
        input_cache_read?: string | undefined;
        input_cache_write?: string | undefined;
    }>;
    deprecated: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
    object: "model";
    type: "language";
    id: string;
    created: number;
    name: string;
    max_tokens: number;
    description: string;
    owned_by: string;
    context_window: number;
    pricing: {
        input: string;
        output: string;
        input_cache_read?: string | undefined;
        input_cache_write?: string | undefined;
    };
    deprecated?: boolean | undefined;
    tags?: string[] | undefined;
}, {
    object: "model";
    type: "language";
    id: string;
    created: number;
    name: string;
    max_tokens: number;
    description: string;
    owned_by: string;
    context_window: number;
    pricing: {
        input: string;
        output: string;
        input_cache_read?: string | undefined;
        input_cache_write?: string | undefined;
    };
    deprecated?: boolean | undefined;
    tags?: string[] | undefined;
}>;
declare const RooModelsResponseSchema: z.ZodObject<{
    object: z.ZodLiteral<"list">;
    data: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        object: z.ZodLiteral<"model">;
        created: z.ZodNumber;
        owned_by: z.ZodString;
        name: z.ZodString;
        description: z.ZodString;
        context_window: z.ZodNumber;
        max_tokens: z.ZodNumber;
        type: z.ZodLiteral<"language">;
        tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        pricing: z.ZodObject<{
            input: z.ZodString;
            output: z.ZodString;
            input_cache_read: z.ZodOptional<z.ZodString>;
            input_cache_write: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            input: string;
            output: string;
            input_cache_read?: string | undefined;
            input_cache_write?: string | undefined;
        }, {
            input: string;
            output: string;
            input_cache_read?: string | undefined;
            input_cache_write?: string | undefined;
        }>;
        deprecated: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        object: "model";
        type: "language";
        id: string;
        created: number;
        name: string;
        max_tokens: number;
        description: string;
        owned_by: string;
        context_window: number;
        pricing: {
            input: string;
            output: string;
            input_cache_read?: string | undefined;
            input_cache_write?: string | undefined;
        };
        deprecated?: boolean | undefined;
        tags?: string[] | undefined;
    }, {
        object: "model";
        type: "language";
        id: string;
        created: number;
        name: string;
        max_tokens: number;
        description: string;
        owned_by: string;
        context_window: number;
        pricing: {
            input: string;
            output: string;
            input_cache_read?: string | undefined;
            input_cache_write?: string | undefined;
        };
        deprecated?: boolean | undefined;
        tags?: string[] | undefined;
    }>, "many">;
}, "strip", z.ZodTypeAny, {
    object: "list";
    data: {
        object: "model";
        type: "language";
        id: string;
        created: number;
        name: string;
        max_tokens: number;
        description: string;
        owned_by: string;
        context_window: number;
        pricing: {
            input: string;
            output: string;
            input_cache_read?: string | undefined;
            input_cache_write?: string | undefined;
        };
        deprecated?: boolean | undefined;
        tags?: string[] | undefined;
    }[];
}, {
    object: "list";
    data: {
        object: "model";
        type: "language";
        id: string;
        created: number;
        name: string;
        max_tokens: number;
        description: string;
        owned_by: string;
        context_window: number;
        pricing: {
            input: string;
            output: string;
            input_cache_read?: string | undefined;
            input_cache_write?: string | undefined;
        };
        deprecated?: boolean | undefined;
        tags?: string[] | undefined;
    }[];
}>;
type RooModel = z.infer<typeof RooModelSchema>;
type RooModelsResponse = z.infer<typeof RooModelsResponseSchema>;

type SambaNovaModelId = "Meta-Llama-3.1-8B-Instruct" | "Meta-Llama-3.3-70B-Instruct" | "DeepSeek-R1" | "DeepSeek-V3-0324" | "DeepSeek-V3.1" | "DeepSeek-R1-Distill-Llama-70B" | "Llama-4-Maverick-17B-128E-Instruct" | "Llama-3.3-Swallow-70B-Instruct-v0.4" | "Qwen3-32B" | "gpt-oss-120b";
declare const sambaNovaDefaultModelId: SambaNovaModelId;
declare const sambaNovaModels: {
    readonly "Meta-Llama-3.1-8B-Instruct": {
        readonly maxTokens: 8192;
        readonly contextWindow: 16384;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.1;
        readonly outputPrice: 0.2;
        readonly description: "Meta Llama 3.1 8B Instruct model with 16K context window.";
    };
    readonly "Meta-Llama-3.3-70B-Instruct": {
        readonly maxTokens: 8192;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.6;
        readonly outputPrice: 1.2;
        readonly description: "Meta Llama 3.3 70B Instruct model with 128K context window.";
    };
    readonly "DeepSeek-R1": {
        readonly maxTokens: 8192;
        readonly contextWindow: 32768;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly supportsReasoningBudget: true;
        readonly inputPrice: 5;
        readonly outputPrice: 7;
        readonly description: "DeepSeek R1 reasoning model with 32K context window.";
    };
    readonly "DeepSeek-V3-0324": {
        readonly maxTokens: 8192;
        readonly contextWindow: 32768;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 3;
        readonly outputPrice: 4.5;
        readonly description: "DeepSeek V3 model with 32K context window.";
    };
    readonly "DeepSeek-V3.1": {
        readonly maxTokens: 8192;
        readonly contextWindow: 32768;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 3;
        readonly outputPrice: 4.5;
        readonly description: "DeepSeek V3.1 model with 32K context window.";
    };
    readonly "DeepSeek-R1-Distill-Llama-70B": {
        readonly maxTokens: 8192;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.7;
        readonly outputPrice: 1.4;
        readonly description: "DeepSeek R1 distilled Llama 70B model with 128K context window.";
    };
    readonly "Llama-4-Maverick-17B-128E-Instruct": {
        readonly maxTokens: 8192;
        readonly contextWindow: 131072;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.63;
        readonly outputPrice: 1.8;
        readonly description: "Meta Llama 4 Maverick 17B 128E Instruct model with 128K context window.";
    };
    readonly "Llama-3.3-Swallow-70B-Instruct-v0.4": {
        readonly maxTokens: 8192;
        readonly contextWindow: 16384;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.6;
        readonly outputPrice: 1.2;
        readonly description: "Tokyotech Llama 3.3 Swallow 70B Instruct v0.4 model with 16K context window.";
    };
    readonly "Qwen3-32B": {
        readonly maxTokens: 8192;
        readonly contextWindow: 8192;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.4;
        readonly outputPrice: 0.8;
        readonly description: "Alibaba Qwen 3 32B model with 8K context window.";
    };
    readonly "gpt-oss-120b": {
        readonly maxTokens: 8192;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.22;
        readonly outputPrice: 0.59;
        readonly description: "OpenAI gpt oss 120b model with 128k context window.";
    };
};

declare const unboundDefaultModelId = "anthropic/claude-sonnet-4-5";
declare const unboundDefaultModelInfo: ModelInfo;

type VertexModelId = keyof typeof vertexModels;
declare const vertexDefaultModelId: VertexModelId;
declare const vertexModels: {
    readonly "gemini-2.5-flash-preview-05-20:thinking": {
        readonly maxTokens: 65535;
        readonly contextWindow: 1048576;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.15;
        readonly outputPrice: 3.5;
        readonly maxThinkingTokens: 24576;
        readonly supportsReasoningBudget: true;
        readonly requiredReasoningBudget: true;
    };
    readonly "gemini-2.5-flash-preview-05-20": {
        readonly maxTokens: 65535;
        readonly contextWindow: 1048576;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.15;
        readonly outputPrice: 0.6;
    };
    readonly "gemini-2.5-flash": {
        readonly maxTokens: 64000;
        readonly contextWindow: 1048576;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.3;
        readonly outputPrice: 2.5;
        readonly cacheReadsPrice: 0.075;
        readonly cacheWritesPrice: 1;
        readonly maxThinkingTokens: 24576;
        readonly supportsReasoningBudget: true;
    };
    readonly "gemini-2.5-flash-preview-04-17:thinking": {
        readonly maxTokens: 65535;
        readonly contextWindow: 1048576;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.15;
        readonly outputPrice: 3.5;
        readonly maxThinkingTokens: 24576;
        readonly supportsReasoningBudget: true;
        readonly requiredReasoningBudget: true;
    };
    readonly "gemini-2.5-flash-preview-04-17": {
        readonly maxTokens: 65535;
        readonly contextWindow: 1048576;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.15;
        readonly outputPrice: 0.6;
    };
    readonly "gemini-2.5-pro-preview-03-25": {
        readonly maxTokens: 65535;
        readonly contextWindow: 1048576;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 2.5;
        readonly outputPrice: 15;
    };
    readonly "gemini-2.5-pro-preview-05-06": {
        readonly maxTokens: 65535;
        readonly contextWindow: 1048576;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 2.5;
        readonly outputPrice: 15;
    };
    readonly "gemini-2.5-pro-preview-06-05": {
        readonly maxTokens: 65535;
        readonly contextWindow: 1048576;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 2.5;
        readonly outputPrice: 15;
        readonly maxThinkingTokens: 32768;
        readonly supportsReasoningBudget: true;
    };
    readonly "gemini-2.5-pro": {
        readonly maxTokens: 64000;
        readonly contextWindow: 1048576;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 2.5;
        readonly outputPrice: 15;
        readonly maxThinkingTokens: 32768;
        readonly supportsReasoningBudget: true;
        readonly requiredReasoningBudget: true;
        readonly tiers: [{
            readonly contextWindow: 200000;
            readonly inputPrice: 1.25;
            readonly outputPrice: 10;
            readonly cacheReadsPrice: 0.31;
        }, {
            readonly contextWindow: number;
            readonly inputPrice: 2.5;
            readonly outputPrice: 15;
            readonly cacheReadsPrice: 0.625;
        }];
    };
    readonly "gemini-2.5-pro-exp-03-25": {
        readonly maxTokens: 65535;
        readonly contextWindow: 1048576;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
    };
    readonly "gemini-2.0-pro-exp-02-05": {
        readonly maxTokens: 8192;
        readonly contextWindow: 2097152;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
    };
    readonly "gemini-2.0-flash-001": {
        readonly maxTokens: 8192;
        readonly contextWindow: 1048576;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.15;
        readonly outputPrice: 0.6;
    };
    readonly "gemini-2.0-flash-lite-001": {
        readonly maxTokens: 8192;
        readonly contextWindow: 1048576;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.075;
        readonly outputPrice: 0.3;
    };
    readonly "gemini-2.0-flash-thinking-exp-01-21": {
        readonly maxTokens: 8192;
        readonly contextWindow: 32768;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
    };
    readonly "gemini-1.5-flash-002": {
        readonly maxTokens: 8192;
        readonly contextWindow: 1048576;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.075;
        readonly outputPrice: 0.3;
    };
    readonly "gemini-1.5-pro-002": {
        readonly maxTokens: 8192;
        readonly contextWindow: 2097152;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 1.25;
        readonly outputPrice: 5;
    };
    readonly "claude-sonnet-4@20250514": {
        readonly maxTokens: 8192;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 3;
        readonly outputPrice: 15;
        readonly cacheWritesPrice: 3.75;
        readonly cacheReadsPrice: 0.3;
        readonly supportsReasoningBudget: true;
    };
    readonly "claude-sonnet-4-5@20250929": {
        readonly maxTokens: 8192;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 3;
        readonly outputPrice: 15;
        readonly cacheWritesPrice: 3.75;
        readonly cacheReadsPrice: 0.3;
        readonly supportsReasoningBudget: true;
    };
    readonly "claude-haiku-4-5@20251001": {
        readonly maxTokens: 8192;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 1;
        readonly outputPrice: 5;
        readonly cacheWritesPrice: 1.25;
        readonly cacheReadsPrice: 0.1;
        readonly supportsReasoningBudget: true;
    };
    readonly "claude-opus-4-1@20250805": {
        readonly maxTokens: 8192;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 15;
        readonly outputPrice: 75;
        readonly cacheWritesPrice: 18.75;
        readonly cacheReadsPrice: 1.5;
        readonly supportsReasoningBudget: true;
    };
    readonly "claude-opus-4@20250514": {
        readonly maxTokens: 8192;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 15;
        readonly outputPrice: 75;
        readonly cacheWritesPrice: 18.75;
        readonly cacheReadsPrice: 1.5;
    };
    readonly "claude-3-7-sonnet@20250219:thinking": {
        readonly maxTokens: 64000;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 3;
        readonly outputPrice: 15;
        readonly cacheWritesPrice: 3.75;
        readonly cacheReadsPrice: 0.3;
        readonly supportsReasoningBudget: true;
        readonly requiredReasoningBudget: true;
    };
    readonly "claude-3-7-sonnet@20250219": {
        readonly maxTokens: 8192;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 3;
        readonly outputPrice: 15;
        readonly cacheWritesPrice: 3.75;
        readonly cacheReadsPrice: 0.3;
    };
    readonly "claude-3-5-sonnet-v2@20241022": {
        readonly maxTokens: 8192;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 3;
        readonly outputPrice: 15;
        readonly cacheWritesPrice: 3.75;
        readonly cacheReadsPrice: 0.3;
    };
    readonly "claude-3-5-sonnet@20240620": {
        readonly maxTokens: 8192;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 3;
        readonly outputPrice: 15;
        readonly cacheWritesPrice: 3.75;
        readonly cacheReadsPrice: 0.3;
    };
    readonly "claude-3-5-haiku@20241022": {
        readonly maxTokens: 8192;
        readonly contextWindow: 200000;
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly inputPrice: 1;
        readonly outputPrice: 5;
        readonly cacheWritesPrice: 1.25;
        readonly cacheReadsPrice: 0.1;
    };
    readonly "claude-3-opus@20240229": {
        readonly maxTokens: 4096;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 15;
        readonly outputPrice: 75;
        readonly cacheWritesPrice: 18.75;
        readonly cacheReadsPrice: 1.5;
    };
    readonly "claude-3-haiku@20240307": {
        readonly maxTokens: 4096;
        readonly contextWindow: 200000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.25;
        readonly outputPrice: 1.25;
        readonly cacheWritesPrice: 0.3;
        readonly cacheReadsPrice: 0.03;
    };
    readonly "gemini-2.5-flash-lite-preview-06-17": {
        readonly maxTokens: 64000;
        readonly contextWindow: 1048576;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.1;
        readonly outputPrice: 0.4;
        readonly cacheReadsPrice: 0.025;
        readonly cacheWritesPrice: 1;
        readonly maxThinkingTokens: 24576;
        readonly supportsReasoningBudget: true;
    };
    readonly "llama-4-maverick-17b-128e-instruct-maas": {
        readonly maxTokens: 8192;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.35;
        readonly outputPrice: 1.15;
        readonly description: "Meta Llama 4 Maverick 17B Instruct model, 128K context.";
    };
    readonly "deepseek-r1-0528-maas": {
        readonly maxTokens: 32768;
        readonly contextWindow: 163840;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 1.35;
        readonly outputPrice: 5.4;
        readonly description: "DeepSeek R1 (0528). Available in us-central1";
    };
    readonly "deepseek-v3.1-maas": {
        readonly maxTokens: 32768;
        readonly contextWindow: 163840;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.6;
        readonly outputPrice: 1.7;
        readonly description: "DeepSeek V3.1. Available in us-west2";
    };
    readonly "gpt-oss-120b-maas": {
        readonly maxTokens: 32768;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.15;
        readonly outputPrice: 0.6;
        readonly description: "OpenAI gpt-oss 120B. Available in us-central1";
    };
    readonly "gpt-oss-20b-maas": {
        readonly maxTokens: 32768;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.075;
        readonly outputPrice: 0.3;
        readonly description: "OpenAI gpt-oss 20B. Available in us-central1";
    };
    readonly "qwen3-coder-480b-a35b-instruct-maas": {
        readonly maxTokens: 32768;
        readonly contextWindow: 262144;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 1;
        readonly outputPrice: 4;
        readonly description: "Qwen3 Coder 480B A35B Instruct. Available in us-south1";
    };
    readonly "qwen3-235b-a22b-instruct-2507-maas": {
        readonly maxTokens: 16384;
        readonly contextWindow: 262144;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.25;
        readonly outputPrice: 1;
        readonly description: "Qwen3 235B A22B Instruct. Available in us-south1";
    };
};
declare const VERTEX_REGIONS: {
    value: string;
    label: string;
}[];

type VscodeLlmModelId = keyof typeof vscodeLlmModels;
declare const vscodeLlmDefaultModelId: VscodeLlmModelId;
declare const vscodeLlmModels: {
    readonly "gpt-3.5-turbo": {
        readonly contextWindow: 12114;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly family: "gpt-3.5-turbo";
        readonly version: "gpt-3.5-turbo-0613";
        readonly name: "GPT 3.5 Turbo";
        readonly supportsToolCalling: true;
        readonly maxInputTokens: 12114;
    };
    readonly "gpt-4o-mini": {
        readonly contextWindow: 12115;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly family: "gpt-4o-mini";
        readonly version: "gpt-4o-mini-2024-07-18";
        readonly name: "GPT-4o mini";
        readonly supportsToolCalling: true;
        readonly maxInputTokens: 12115;
    };
    readonly "gpt-4": {
        readonly contextWindow: 28501;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly family: "gpt-4";
        readonly version: "gpt-4-0613";
        readonly name: "GPT 4";
        readonly supportsToolCalling: true;
        readonly maxInputTokens: 28501;
    };
    readonly "gpt-4-0125-preview": {
        readonly contextWindow: 63826;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly family: "gpt-4-turbo";
        readonly version: "gpt-4-0125-preview";
        readonly name: "GPT 4 Turbo";
        readonly supportsToolCalling: true;
        readonly maxInputTokens: 63826;
    };
    readonly "gpt-4o": {
        readonly contextWindow: 63827;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly family: "gpt-4o";
        readonly version: "gpt-4o-2024-11-20";
        readonly name: "GPT-4o";
        readonly supportsToolCalling: true;
        readonly maxInputTokens: 63827;
    };
    readonly o1: {
        readonly contextWindow: 19827;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly family: "o1-ga";
        readonly version: "o1-2024-12-17";
        readonly name: "o1 (Preview)";
        readonly supportsToolCalling: true;
        readonly maxInputTokens: 19827;
    };
    readonly "o3-mini": {
        readonly contextWindow: 63827;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly family: "o3-mini";
        readonly version: "o3-mini-2025-01-31";
        readonly name: "o3-mini";
        readonly supportsToolCalling: true;
        readonly maxInputTokens: 63827;
    };
    readonly "claude-3.5-sonnet": {
        readonly contextWindow: 81638;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly family: "claude-3.5-sonnet";
        readonly version: "claude-3.5-sonnet";
        readonly name: "Claude 3.5 Sonnet";
        readonly supportsToolCalling: true;
        readonly maxInputTokens: 81638;
    };
    readonly "claude-4-sonnet": {
        readonly contextWindow: 128000;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly family: "claude-sonnet-4";
        readonly version: "claude-sonnet-4";
        readonly name: "Claude Sonnet 4";
        readonly supportsToolCalling: true;
        readonly maxInputTokens: 111836;
    };
    readonly "gemini-2.0-flash-001": {
        readonly contextWindow: 127827;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly family: "gemini-2.0-flash";
        readonly version: "gemini-2.0-flash-001";
        readonly name: "Gemini 2.0 Flash";
        readonly supportsToolCalling: false;
        readonly maxInputTokens: 127827;
    };
    readonly "gemini-2.5-pro": {
        readonly contextWindow: 128000;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly family: "gemini-2.5-pro";
        readonly version: "gemini-2.5-pro-preview-03-25";
        readonly name: "Gemini 2.5 Pro (Preview)";
        readonly supportsToolCalling: true;
        readonly maxInputTokens: 108637;
    };
    readonly "o4-mini": {
        readonly contextWindow: 128000;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly family: "o4-mini";
        readonly version: "o4-mini-2025-04-16";
        readonly name: "o4-mini (Preview)";
        readonly supportsToolCalling: true;
        readonly maxInputTokens: 111452;
    };
    readonly "gpt-4.1": {
        readonly contextWindow: 128000;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly family: "gpt-4.1";
        readonly version: "gpt-4.1-2025-04-14";
        readonly name: "GPT-4.1 (Preview)";
        readonly supportsToolCalling: true;
        readonly maxInputTokens: 111452;
    };
    readonly "gpt-5-mini": {
        readonly contextWindow: 128000;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly family: "gpt-5-mini";
        readonly version: "gpt-5-mini";
        readonly name: "GPT-5 mini (Preview)";
        readonly supportsToolCalling: true;
        readonly maxInputTokens: 108637;
    };
    readonly "gpt-5": {
        readonly contextWindow: 128000;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly family: "gpt-5";
        readonly version: "gpt-5";
        readonly name: "GPT-5 (Preview)";
        readonly supportsToolCalling: true;
        readonly maxInputTokens: 108637;
    };
};

type XAIModelId = keyof typeof xaiModels;
declare const xaiDefaultModelId: XAIModelId;
declare const xaiModels: {
    readonly "grok-code-fast-1": {
        readonly maxTokens: 16384;
        readonly contextWindow: 262144;
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.2;
        readonly outputPrice: 1.5;
        readonly cacheWritesPrice: 0.02;
        readonly cacheReadsPrice: 0.02;
        readonly description: "xAI's Grok Code Fast model with 256K context window";
    };
    readonly "grok-4": {
        readonly maxTokens: 8192;
        readonly contextWindow: 256000;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 3;
        readonly outputPrice: 15;
        readonly cacheWritesPrice: 0.75;
        readonly cacheReadsPrice: 0.75;
        readonly description: "xAI's Grok-4 model with 256K context window";
    };
    readonly "grok-3": {
        readonly maxTokens: 8192;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly inputPrice: 3;
        readonly outputPrice: 15;
        readonly cacheWritesPrice: 0.75;
        readonly cacheReadsPrice: 0.75;
        readonly description: "xAI's Grok-3 model with 128K context window";
    };
    readonly "grok-3-fast": {
        readonly maxTokens: 8192;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly inputPrice: 5;
        readonly outputPrice: 25;
        readonly cacheWritesPrice: 1.25;
        readonly cacheReadsPrice: 1.25;
        readonly description: "xAI's Grok-3 fast model with 128K context window";
    };
    readonly "grok-3-mini": {
        readonly maxTokens: 8192;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.3;
        readonly outputPrice: 0.5;
        readonly cacheWritesPrice: 0.07;
        readonly cacheReadsPrice: 0.07;
        readonly description: "xAI's Grok-3 mini model with 128K context window";
        readonly supportsReasoningEffort: true;
    };
    readonly "grok-3-mini-fast": {
        readonly maxTokens: 8192;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.6;
        readonly outputPrice: 4;
        readonly cacheWritesPrice: 0.15;
        readonly cacheReadsPrice: 0.15;
        readonly description: "xAI's Grok-3 mini fast model with 128K context window";
        readonly supportsReasoningEffort: true;
    };
    readonly "grok-2-1212": {
        readonly maxTokens: 8192;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 2;
        readonly outputPrice: 10;
        readonly description: "xAI's Grok-2 model (version 1212) with 128K context window";
    };
    readonly "grok-2-vision-1212": {
        readonly maxTokens: 8192;
        readonly contextWindow: 32768;
        readonly supportsImages: true;
        readonly supportsPromptCache: false;
        readonly inputPrice: 2;
        readonly outputPrice: 10;
        readonly description: "xAI's Grok-2 Vision model (version 1212) with image support and 32K context window";
    };
};

declare const vercelAiGatewayDefaultModelId = "anthropic/claude-sonnet-4";
declare const VERCEL_AI_GATEWAY_PROMPT_CACHING_MODELS: Set<string>;
declare const VERCEL_AI_GATEWAY_VISION_ONLY_MODELS: Set<string>;
declare const VERCEL_AI_GATEWAY_VISION_AND_TOOLS_MODELS: Set<string>;
declare const vercelAiGatewayDefaultModelInfo: ModelInfo;
declare const VERCEL_AI_GATEWAY_DEFAULT_TEMPERATURE = 0.7;

type InternationalZAiModelId = keyof typeof internationalZAiModels;
declare const internationalZAiDefaultModelId: InternationalZAiModelId;
declare const internationalZAiModels: {
    readonly "glm-4.5": {
        readonly maxTokens: 98304;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly supportsReasoningBinary: true;
        readonly inputPrice: 0.6;
        readonly outputPrice: 2.2;
        readonly cacheWritesPrice: 0;
        readonly cacheReadsPrice: 0.11;
        readonly description: "GLM-4.5 is Zhipu's latest featured model. Its comprehensive capabilities in reasoning, coding, and agent reach the state-of-the-art (SOTA) level among open-source models, with a context length of up to 128k.";
    };
    readonly "glm-4.5-air": {
        readonly maxTokens: 98304;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.2;
        readonly outputPrice: 1.1;
        readonly cacheWritesPrice: 0;
        readonly cacheReadsPrice: 0.03;
        readonly description: "GLM-4.5-Air is the lightweight version of GLM-4.5. It balances performance and cost-effectiveness, and can flexibly switch to hybrid thinking models.";
    };
    readonly "glm-4.5-x": {
        readonly maxTokens: 98304;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly inputPrice: 2.2;
        readonly outputPrice: 8.9;
        readonly cacheWritesPrice: 0;
        readonly cacheReadsPrice: 0.45;
        readonly description: "GLM-4.5-X is a high-performance variant optimized for strong reasoning with ultra-fast responses.";
    };
    readonly "glm-4.5-airx": {
        readonly maxTokens: 98304;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly inputPrice: 1.1;
        readonly outputPrice: 4.5;
        readonly cacheWritesPrice: 0;
        readonly cacheReadsPrice: 0.22;
        readonly description: "GLM-4.5-AirX is a lightweight, ultra-fast variant delivering strong performance with lower cost.";
    };
    readonly "glm-4.5-flash": {
        readonly maxTokens: 98304;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly cacheWritesPrice: 0;
        readonly cacheReadsPrice: 0;
        readonly description: "GLM-4.5-Flash is a free, high-speed model excellent for reasoning, coding, and agentic tasks.";
    };
    readonly "glm-4.5v": {
        readonly maxTokens: 16384;
        readonly contextWindow: 131072;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.6;
        readonly outputPrice: 1.8;
        readonly cacheWritesPrice: 0;
        readonly cacheReadsPrice: 0.11;
        readonly description: "GLM-4.5V is Z.AI's multimodal visual reasoning model (image/video/text/file input), optimized for GUI tasks, grounding, and document/video understanding.";
    };
    readonly "glm-4.6": {
        readonly maxTokens: 98304;
        readonly contextWindow: 200000;
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly supportsReasoningBinary: true;
        readonly inputPrice: 0.6;
        readonly outputPrice: 2.2;
        readonly cacheWritesPrice: 0;
        readonly cacheReadsPrice: 0.11;
        readonly description: "GLM-4.6 is Zhipu's newest model with an extended context window of up to 200k tokens, providing enhanced capabilities for processing longer documents and conversations.";
    };
    readonly "glm-4-32b-0414-128k": {
        readonly maxTokens: 98304;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: false;
        readonly inputPrice: 0.1;
        readonly outputPrice: 0.1;
        readonly cacheWritesPrice: 0;
        readonly cacheReadsPrice: 0;
        readonly description: "GLM-4-32B is a 32 billion parameter model with 128k context length, optimized for efficiency.";
    };
};
type MainlandZAiModelId = keyof typeof mainlandZAiModels;
declare const mainlandZAiDefaultModelId: MainlandZAiModelId;
declare const mainlandZAiModels: {
    readonly "glm-4.5": {
        readonly maxTokens: 98304;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly supportsReasoningBinary: true;
        readonly inputPrice: 0.29;
        readonly outputPrice: 1.14;
        readonly cacheWritesPrice: 0;
        readonly cacheReadsPrice: 0.057;
        readonly description: "GLM-4.5 is Zhipu's latest featured model. Its comprehensive capabilities in reasoning, coding, and agent reach the state-of-the-art (SOTA) level among open-source models, with a context length of up to 128k.";
    };
    readonly "glm-4.5-air": {
        readonly maxTokens: 98304;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.1;
        readonly outputPrice: 0.6;
        readonly cacheWritesPrice: 0;
        readonly cacheReadsPrice: 0.02;
        readonly description: "GLM-4.5-Air is the lightweight version of GLM-4.5. It balances performance and cost-effectiveness, and can flexibly switch to hybrid thinking models.";
    };
    readonly "glm-4.5-x": {
        readonly maxTokens: 98304;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.29;
        readonly outputPrice: 1.14;
        readonly cacheWritesPrice: 0;
        readonly cacheReadsPrice: 0.057;
        readonly description: "GLM-4.5-X is a high-performance variant optimized for strong reasoning with ultra-fast responses.";
    };
    readonly "glm-4.5-airx": {
        readonly maxTokens: 98304;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.1;
        readonly outputPrice: 0.6;
        readonly cacheWritesPrice: 0;
        readonly cacheReadsPrice: 0.02;
        readonly description: "GLM-4.5-AirX is a lightweight, ultra-fast variant delivering strong performance with lower cost.";
    };
    readonly "glm-4.5-flash": {
        readonly maxTokens: 98304;
        readonly contextWindow: 131072;
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0;
        readonly outputPrice: 0;
        readonly cacheWritesPrice: 0;
        readonly cacheReadsPrice: 0;
        readonly description: "GLM-4.5-Flash is a free, high-speed model excellent for reasoning, coding, and agentic tasks.";
    };
    readonly "glm-4.5v": {
        readonly maxTokens: 16384;
        readonly contextWindow: 131072;
        readonly supportsImages: true;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.29;
        readonly outputPrice: 0.93;
        readonly cacheWritesPrice: 0;
        readonly cacheReadsPrice: 0.057;
        readonly description: "GLM-4.5V is Z.AI's multimodal visual reasoning model (image/video/text/file input), optimized for GUI tasks, grounding, and document/video understanding.";
    };
    readonly "glm-4.6": {
        readonly maxTokens: 98304;
        readonly contextWindow: 204800;
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly supportsReasoningBinary: true;
        readonly inputPrice: 0.29;
        readonly outputPrice: 1.14;
        readonly cacheWritesPrice: 0;
        readonly cacheReadsPrice: 0.057;
        readonly description: "GLM-4.6 is Zhipu's newest model with an extended context window of up to 200k tokens, providing enhanced capabilities for processing longer documents and conversations.";
    };
};
declare const ZAI_DEFAULT_TEMPERATURE = 0.6;
declare const zaiApiLineConfigs: {
    international_coding: {
        name: string;
        baseUrl: string;
        isChina: false;
    };
    china_coding: {
        name: string;
        baseUrl: string;
        isChina: true;
    };
};

declare const deepInfraDefaultModelId = "Qwen/Qwen3-Coder-480B-A35B-Instruct-Turbo";
declare const deepInfraDefaultModelInfo: ModelInfo;

type MinimaxModelId = keyof typeof minimaxModels;
declare const minimaxDefaultModelId: MinimaxModelId;
declare const minimaxModels: {
    readonly "MiniMax-M2": {
        readonly maxTokens: 16384;
        readonly contextWindow: 192000;
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.3;
        readonly outputPrice: 1.2;
        readonly cacheWritesPrice: 0.375;
        readonly cacheReadsPrice: 0.03;
        readonly preserveReasoning: true;
        readonly description: "MiniMax M2, a model born for Agents and code, featuring Top-tier Coding Capabilities, Powerful Agentic Performance, and Ultimate Cost-Effectiveness & Speed.";
    };
    readonly "MiniMax-M2-Stable": {
        readonly maxTokens: 16384;
        readonly contextWindow: 192000;
        readonly supportsImages: false;
        readonly supportsPromptCache: true;
        readonly inputPrice: 0.3;
        readonly outputPrice: 1.2;
        readonly cacheWritesPrice: 0.375;
        readonly cacheReadsPrice: 0.03;
        readonly preserveReasoning: true;
        readonly description: "MiniMax M2 Stable (High Concurrency, Commercial Use), a model born for Agents and code, featuring Top-tier Coding Capabilities, Powerful Agentic Performance, and Ultimate Cost-Effectiveness & Speed.";
    };
};
declare const MINIMAX_DEFAULT_TEMPERATURE = 1;

/**
 * Get the default model ID for a given provider.
 * This function returns only the provider's default model ID, without considering user configuration.
 * Used as a fallback when provider models are still loading.
 */
declare function getProviderDefaultModelId(provider: ProviderName, options?: {
    isChina?: boolean;
}): string;

export { ANTHROPIC_DEFAULT_MAX_TOKENS, ANTHROPIC_STYLE_PROVIDERS, AWS_INFERENCE_PROFILE_MAPPING, type Ack, type AnthropicModelId, type AppProperties, type AssertEqual, type AuthService, type AuthServiceEvents, type AuthState, BEDROCK_1M_CONTEXT_MODEL_IDS, BEDROCK_DEFAULT_CONTEXT, BEDROCK_DEFAULT_TEMPERATURE, BEDROCK_GLOBAL_INFERENCE_MODEL_IDS, BEDROCK_MAX_TOKENS, BEDROCK_REGIONS, type BedrockModelId, type BrowserActionParams, CLAUDE_CODE_DEFAULT_MAX_OUTPUT_TOKENS, CODEBASE_INDEX_DEFAULTS, CONSENT_COOKIE_NAME, COOKIE_CONSENT_EVENTS, type CerebrasModelId, type ChutesModelId, type ClaudeCodeModelId, type ClineAsk, type ClineMessage, type ClineSay, type CloudAppProperties, type CloudOrganization, type CloudOrganizationMembership, type CloudServiceEvents, type CloudUserInfo, type CodeActionId, type CodeActionName, type CodebaseIndexConfig, type CodebaseIndexModels, type CodebaseIndexProvider, type CommandExecutionStatus, type CommandId, ConnectionState, type ConsentCookieValue, type ContextCondense, type Coordinate, type CreateTaskOptions, type CustomModePrompts, type CustomModesSettings, type CustomProvider, type CustomSupportPrompts, DEEP_SEEK_DEFAULT_TEMPERATURE, DEFAULT_CHECKPOINT_TIMEOUT_SECONDS, DEFAULT_CONSECUTIVE_MISTAKE_LIMIT, DEFAULT_MODES, DEFAULT_TERMINAL_OUTPUT_CHARACTER_LIMIT, DEFAULT_WRITE_DELAY_MS, DOUBAO_API_BASE_URL, DOUBAO_API_CHAT_PATH, type DeepSeekModelId, type DynamicAppProperties, type DynamicProvider, EVALS_SETTINGS, EVALS_TIMEOUT, type Equals, type ExperimentId, type Experiments, type ExtensionBridgeCommand, ExtensionBridgeCommandName, type ExtensionBridgeEvent, ExtensionBridgeEventName, type ExtensionInstance, ExtensionSocketEvents, type ExtensionTask, type FauxProvider, type FeatherlessModelId, type FileEntry, type FireworksModelId, type FollowUpData, type FollowUpDataType, GLAMA_DEFAULT_TEMPERATURE, GLOBAL_SECRET_KEYS, GLOBAL_SETTINGS_KEYS, GLOBAL_STATE_KEYS, type GeminiModelId, type GenerateImageParams, type GitProperties, type GlobalSettings, type GlobalState, type GroqModelId, type GroupEntry, type GroupOptions, HEARTBEAT_INTERVAL_MS, HUGGINGFACE_API_URL, HUGGINGFACE_CACHE_DURATION, HUGGINGFACE_DEFAULT_CONTEXT_WINDOW, HUGGINGFACE_DEFAULT_MAX_TOKENS, HUGGINGFACE_MAX_TOKENS_FALLBACK, HUGGINGFACE_SLIDER_MIN, HUGGINGFACE_SLIDER_STEP, HUGGINGFACE_TEMPERATURE_MAX_VALUE, type HistoryItem, INSTANCE_TTL_SECONDS, type IOIntelligenceModelId, IO_INTELLIGENCE_CACHE_DURATION, type IdleAsk, type InstallMarketplaceItemOptions, type InteractiveAsk, type InternalProvider, type InternationalZAiModelId, type IpcClientEvents, type IpcMessage, IpcMessageType, IpcOrigin, type IpcServerEvents, type JWTPayload, type JoinResponse, type Keys, LMSTUDIO_DEFAULT_TEMPERATURE, type Language, type LeaveResponse, type LineRange, type LocalProvider, MAX_CHECKPOINT_TIMEOUT_SECONDS, MINIMAX_DEFAULT_TEMPERATURE, MIN_CHECKPOINT_TIMEOUT_SECONDS, MISTRAL_DEFAULT_TEMPERATURE, MODELS_BY_PROVIDER, MOONSHOT_DEFAULT_TEMPERATURE, type MainlandZAiModelId, type MarketplaceItem, type MarketplaceItemType, type McpExecutionStatus, type McpInstallationMethod, type McpMarketplaceItem, type McpParameter, type McpServerUse, type MinimaxModelId, type MistralModelId, type ModeConfig, type ModeMarketplaceItem, type ModelIdKey, type ModelInfo, type ModelParameter, type MoonshotModelId, type NonBlockingAsk, OPENAI_AZURE_AI_INFERENCE_PATH, OPENAI_NATIVE_DEFAULT_TEMPERATURE, OPENROUTER_DEFAULT_PROVIDER_NAME, OPEN_ROUTER_PROMPT_CACHING_MODELS, OPEN_ROUTER_REASONING_BUDGET_MODELS, OPEN_ROUTER_REQUIRED_REASONING_BUDGET_MODELS, ORGANIZATION_ALLOW_ALL, ORGANIZATION_DEFAULT, type OpenAiNativeModelId, type OrganizationAllowList, type OrganizationCloudSettings, type OrganizationDefaultSettings, type OrganizationFeatures, type OrganizationSettings, PROVIDER_SETTINGS_KEYS, type PromptComponent, type ProviderName, type ProviderSettings, type ProviderSettingsEntry, type ProviderSettingsWithId, type QueuedMessage, type QwenCodeModelId, type ReasoningEffort, type ReasoningEffortExtended, type ReasoningEffortWithMinimal, type ResumableAsk, type RetryConfig, type RooCodeAPI, type RooCodeAPIEvents, RooCodeEventName, type RooCodeEvents, type RooCodeIpcServer, type RooCodeSettings, type RooCodeTelemetryEvent, type RooModel, RooModelSchema, type RooModelsResponse, RooModelsResponseSchema, RooPricingSchema, SECRET_STATE_KEYS, type SambaNovaModelId, type SecretState, type ServiceTier, type SettingsService, type SettingsServiceEvents, type ShareResponse, type ShareVisibility, type Size, type StaticAppProperties, type SuggestionItem, TOOL_PROTOCOL, type TaskBridgeCommand, TaskBridgeCommandName, type TaskBridgeEvent, TaskBridgeEventName, type TaskCommand, TaskCommandName, type TaskEvent, type TaskEvents, type TaskLike, type TaskMetadata, type TaskProperties, type TaskProviderEvents, type TaskProviderLike, TaskSocketEvents, TaskStatus, type TelemetryClient, type TelemetryEvent, TelemetryEventName, type TelemetryEventSubscription, type TelemetryProperties, type TelemetryPropertiesProvider, type TelemetrySetting, type TerminalActionId, type TerminalActionName, type TerminalActionPromptType, type TodoItem, type TodoStatus, type TokenUsage, type ToolGroup, type ToolName, type ToolProgressStatus, type ToolProtocol, type ToolUsage, type TypicalProvider, type UsageStats, type UserFeatures, type UserSettingsConfig, type UserSettingsData, VERCEL_AI_GATEWAY_DEFAULT_TEMPERATURE, VERCEL_AI_GATEWAY_PROMPT_CACHING_MODELS, VERCEL_AI_GATEWAY_VISION_AND_TOOLS_MODELS, VERCEL_AI_GATEWAY_VISION_ONLY_MODELS, VERTEX_REGIONS, type Values, type VerbosityLevel, type VertexModelId, type VscodeLlmModelId, type XAIModelId, ZAI_DEFAULT_TEMPERATURE, type ZaiApiLine, ackSchema, anthropicDefaultModelId, anthropicModels, appPropertiesSchema, azureOpenAiDefaultApiVersion, bedrockDefaultModelId, bedrockDefaultPromptRouterModelId, bedrockModels, cerebrasDefaultModelId, cerebrasModels, chutesDefaultModelId, chutesDefaultModelInfo, chutesModels, claudeCodeDefaultModelId, claudeCodeModels, clineAskSchema, clineAsks, clineMessageSchema, clineSaySchema, clineSays, cloudAppPropertiesSchema, codeActionIds, codebaseIndexConfigSchema, codebaseIndexModelsSchema, codebaseIndexProviderSchema, commandExecutionStatusSchema, commandIds, contextCondenseSchema, convertModelNameForVertex, customModePromptsSchema, customModesSettingsSchema, customProviders, customSupportPromptsSchema, deepInfraDefaultModelId, deepInfraDefaultModelInfo, deepSeekDefaultModelId, deepSeekModels, discriminatedProviderSettingsWithIdSchema, doubaoDefaultModelId, doubaoDefaultModelInfo, doubaoModels, dynamicAppPropertiesSchema, dynamicProviders, experimentIds, experimentIdsSchema, experimentsSchema, extensionBridgeCommandSchema, extensionBridgeEventSchema, extensionInstanceSchema, fauxProviders, featherlessDefaultModelId, featherlessModels, fireworksDefaultModelId, fireworksModels, followUpDataSchema, geminiDefaultModelId, geminiModels, getApiProtocol, getClaudeCodeModelId, getEffectiveProtocol, getModelId, getProviderDefaultModelId, gitPropertiesSchema, glamaDefaultModelId, glamaDefaultModelInfo, globalSettingsSchema, groqDefaultModelId, groqModels, groupEntrySchema, groupOptionsSchema, historyItemSchema, idleAsks, installMarketplaceItemOptionsSchema, interactiveAsks, internalProviders, internationalZAiDefaultModelId, internationalZAiModels, ioIntelligenceDefaultBaseUrl, ioIntelligenceDefaultModelId, ioIntelligenceModels, ipcMessageSchema, isCustomProvider, isDynamicProvider, isFauxProvider, isGlobalStateKey, isIdleAsk, isInteractiveAsk, isInternalProvider, isLanguage, isLocalProvider, isModelParameter, isNativeProtocol, isNonBlockingAsk, isProviderName, isResumableAsk, isSecretStateKey, isTypicalProvider, lMStudioDefaultModelId, lMStudioDefaultModelInfo, languages, languagesSchema, litellmDefaultModelId, litellmDefaultModelInfo, localProviders, mainlandZAiDefaultModelId, mainlandZAiModels, marketplaceItemSchema, marketplaceItemTypeSchema, mcpExecutionStatusSchema, mcpInstallationMethodSchema, mcpMarketplaceItemSchema, mcpParameterSchema, minimaxDefaultModelId, minimaxModels, mistralDefaultModelId, mistralModels, modeConfigSchema, modeMarketplaceItemSchema, modelIdKeys, modelIdKeysByProvider, modelInfoSchema, modelParameters, modelParametersSchema, moonshotDefaultModelId, moonshotModels, nonBlockingAsks, ollamaDefaultModelId, ollamaDefaultModelInfo, openAiModelInfoSaneDefaults, openAiNativeDefaultModelId, openAiNativeModels, openRouterDefaultModelId, openRouterDefaultModelInfo, organizationAllowListSchema, organizationCloudSettingsSchema, organizationDefaultSettingsSchema, organizationFeaturesSchema, organizationSettingsSchema, promptComponentSchema, providerNames, providerNamesSchema, providerSettingsEntrySchema, providerSettingsSchema, providerSettingsSchemaDiscriminated, providerSettingsWithIdSchema, queuedMessageSchema, qwenCodeDefaultModelId, qwenCodeModels, reasoningEffortExtendedSchema, reasoningEffortSettingSchema, reasoningEffortSettingValues, reasoningEffortWithMinimalSchema, reasoningEfforts, reasoningEffortsExtended, reasoningEffortsSchema, requestyDefaultModelId, requestyDefaultModelInfo, resumableAsks, rooCodeEventsSchema, rooCodeSettingsSchema, rooCodeTelemetryEventSchema, rooDefaultModelId, rooModelDefaults, rooModels, sambaNovaDefaultModelId, sambaNovaModels, serviceTierSchema, serviceTiers, shareResponseSchema, shouldUseSingleFileRead, staticAppPropertiesSchema, suggestionItemSchema, taskBridgeCommandSchema, taskBridgeEventSchema, taskCommandSchema, taskEventSchema, taskMetadataSchema, taskPropertiesSchema, telemetryPropertiesSchema, telemetrySettings, telemetrySettingsSchema, terminalActionIds, todoItemSchema, todoStatusSchema, tokenUsageSchema, toolGroups, toolGroupsSchema, toolNames, toolNamesSchema, toolProgressStatusSchema, toolUsageSchema, unboundDefaultModelId, unboundDefaultModelInfo, usageStatsSchema, userFeaturesSchema, userSettingsConfigSchema, userSettingsDataSchema, verbosityLevels, verbosityLevelsSchema, vercelAiGatewayDefaultModelId, vercelAiGatewayDefaultModelInfo, vertexDefaultModelId, vertexModels, vscodeLlmDefaultModelId, vscodeLlmModels, xaiDefaultModelId, xaiModels, zaiApiLineConfigs, zaiApiLineSchema };
