import type { SandboxProfile, Turn } from "@best-agent/protocol";
import type { AgentProfile } from "../../agent/profile-registry.js";
import type { PreparedToolInvocation, RuntimeToolDefinition } from "../../tool/registry.js";
import type { ToolResumeContext } from "../checkpoint-codec.js";
import type { ExecuteToolInvocationOptions } from "../agent-runtime-tool-execution-types.js";
import type { ToolExecutionRuntime } from "./tool-execution-types.js";
import type { PersistTerminalToolFailure, ToolShellDebugBase } from "./tool-execution-types.js";
export declare function authorizePreparedToolExecution(input: {
    authorizationTurn: Turn;
    options: ExecuteToolInvocationOptions;
    persistTerminalToolFailure: PersistTerminalToolFailure;
    prepared: PreparedToolInvocation;
    preparedToolResumeContext: ToolResumeContext;
    profile: AgentProfile;
    runtime: ToolExecutionRuntime;
    shellDebugBase?: ToolShellDebugBase;
    toolCallId: ToolResumeContext["toolCallId"];
    toolDefinition: RuntimeToolDefinition;
    toolName: string;
    turn: Turn;
}): Promise<{
    executionSandboxProfile?: SandboxProfile;
    failureOutput?: string;
}>;
//# sourceMappingURL=tool-capability-evaluation.d.ts.map