/** * Secure dispatcher and project/GitHub context resolution for Code Mode tool execution. */ import type { ToolDefinition, ToolContext } from '../../../types/index.js'; import type { ExecuteCodeInput } from './payload-synthesizer.js'; export declare function checkSchemaAcceptsKey(schema: unknown, key: string): boolean; export declare function deepCamelToSnake(obj: unknown, depth?: number): unknown; export interface SecureDispatcherOptions { tools: ToolDefinition[]; sessionContext: ToolContext; projectId: number | string | undefined; workspaceId: string | undefined; autoVersion: boolean; dryRun: boolean; } export declare function createSecureDispatcher(options: SecureDispatcherOptions): (toolName: string, toolParams: unknown, isSimulation?: boolean) => Promise; export declare function resolveCodeModeSessionContext(context: ToolContext, input: ExecuteCodeInput): Promise<{ sessionContext: ToolContext; projectId: number | string | undefined; numericProjectId: number | undefined; workspaceId: string | undefined; } | { errorResponse: Record; }>; //# sourceMappingURL=secure-dispatcher.d.ts.map