import type { APIGroupConfig, ExecutionConfig, ExecutionResult } from '@mondaydotcomorg/atp-protocol';
import type { ICompiler } from '@mondaydotcomorg/atp-compiler';
import type { CallbackRecord } from '../execution-state/index.js';
import type { ClientSessionManager } from '../client-sessions.js';
import type { ExecutorConfig } from './types.js';
export declare class SandboxExecutor {
    private config;
    private sandboxBuilder;
    private approvalHandler?;
    private sessionManager?;
    private compiler?;
    constructor(config: ExecutorConfig, apiGroups?: APIGroupConfig[], approvalHandler?: (request: any) => Promise<any>, sessionManager?: ClientSessionManager, compiler?: ICompiler);
    execute(code: string, config: ExecutionConfig, clientId?: string, resumeData?: {
        callbackHistory: CallbackRecord[];
        newCallbackResult: unknown;
        executionId?: string;
    }): Promise<ExecutionResult>;
    private executeInContext;
    private cleanProvenanceIds;
    private cleanup;
}
//# sourceMappingURL=executor.d.ts.map