import type { IncomingMessage, ServerResponse } from 'node:http';
import type { log } from '@mondaydotcomorg/atp-runtime';
import type { APIAggregator } from '../aggregator/index.js';
import type { SearchEngine } from '../search/index.js';
import type { CodeValidator } from '../validator/index.js';
import type { SandboxExecutor } from '../executor/index.js';
import type { ExecutionStateManager } from '../execution-state/index.js';
import type { AuditConfig } from '../middleware/audit.js';
export interface RouteContext {
    aggregator: APIAggregator;
    searchEngine: SearchEngine;
    validator: CodeValidator;
    executor: SandboxExecutor;
    stateManager: ExecutionStateManager;
    auditConfig?: AuditConfig;
    defaultTimeout: number;
    defaultMemoryLimit: number;
    defaultLLMCallLimit: number;
}
export declare function handleRoute(req: IncomingMessage, res: ServerResponse, context: RouteContext, logger: ReturnType<typeof log.child>): Promise<boolean>;
//# sourceMappingURL=index.d.ts.map