import type { BaseToolExecutorPort } from "../../../../../agentCore/agent_executionEngine/basic_toolLayer/baseTools/baseToolExecutorPort.js";
import type { BaseToolHandler } from "../../../../../agentCore/agent_executionEngine/basic_toolLayer/baseTools/baseToolDefinition.js";
import { executeShellCommand as executeShellCommandCore, type ShellCommandExecutionOutput, type ShellCommandExecutionProvider, type ShellCommandExecutionRequest } from "./core.js";
import { type ShellCommandExecutionDependencies, type ShellCommandExecutionPracticeProviderName, type ShellCommandExecutionProviderPractice } from "./dependencies.js";
export * from "./core.js";
export type ShellCommandExecutionBestPracticeRequest = ShellCommandExecutionRequest & {
    executor?: BaseToolExecutorPort;
    preferredProvider?: ShellCommandExecutionPracticeProviderName;
};
export type ShellCommandExecutionHandlerInput = Omit<ShellCommandExecutionBestPracticeRequest, "executor">;
export type ShellCommandExecutionPracticeSelection = {
    providerName: ShellCommandExecutionPracticeProviderName;
    practice: ShellCommandExecutionProviderPractice;
    provider?: ShellCommandExecutionProvider;
};
export declare const shellCommandExecutionProviderPractices: readonly [{
    readonly providerName: "anthropic";
    readonly source: {
        readonly kind: "cli";
        readonly label: "Claude Code 2.1.88 BashTool runtime-mediated shell execution";
        readonly path: "/home/proview/Desktop/three/claude_code_2_1_88/tools/BashTool";
    };
    readonly directCliSupport: true;
    readonly sideEffectPolicy: "runtime-governed";
    readonly notes: readonly ["Claude Code keeps shell execution behind a tool execution and permission boundary.", "Praxis adopts the host executor boundary but keeps approval, sandbox, session, and process lifecycle in runtime."];
    readonly createProvider: ({ provider, executor }: ShellCommandExecutionDependencies) => ShellCommandExecutionProvider | undefined;
}, {
    readonly providerName: "openai";
    readonly source: {
        readonly kind: "cli";
        readonly label: "Codex Rust 0.123.0 shell handler and runtime boundary";
        readonly path: "/home/proview/Desktop/three/codex_rust_0_123_0/codex-rs/core/src/tools";
    };
    readonly directCliSupport: true;
    readonly sideEffectPolicy: "runtime-governed";
    readonly notes: readonly ["Codex separates tool routing from shell runtime backends.", "Praxis keeps that separation by requiring BaseToolExecutorPort.shell.run for real command dispatch."];
    readonly createProvider: ({ provider, executor }: ShellCommandExecutionDependencies) => ShellCommandExecutionProvider | undefined;
}, {
    readonly providerName: "deepmind";
    readonly source: {
        readonly kind: "cli";
        readonly label: "Gemini CLI 0.39.0 shell tool and confirmation policy";
        readonly path: "/home/proview/Desktop/three/gemini_cli_0_39_0/packages/core/src/tools/shell.ts";
    };
    readonly directCliSupport: true;
    readonly sideEffectPolicy: "runtime-governed";
    readonly notes: readonly ["Gemini CLI contributes shell declaration and confirmation-flow lessons.", "Praxis keeps concrete execution behind runtime dependencies instead of embedding shell policy in baseTools."];
    readonly createProvider: ({ provider, executor }: ShellCommandExecutionDependencies) => ShellCommandExecutionProvider | undefined;
}];
export declare const shellCommandExecutionBestPracticeDescriptor: {
    readonly toolId: "shell.commandExecution";
    readonly bestPractice: "runtime-execEngine-shellExecutor";
    readonly sourcePriority: readonly ["cli", "agent-sdk", "api-sdk", "praxis-native"];
    readonly providerOrder: readonly ["anthropic", "openai", "deepmind"];
    readonly dependencies: ({
        dependencyId: string;
        kind: "runtime";
        required: true;
        description: string;
    } | {
        dependencyId: string;
        kind: "permission";
        required: true;
        description: string;
    })[];
};
export declare function selectShellCommandExecutionPractice(dependencies?: ShellCommandExecutionDependencies & {
    preferredProvider?: ShellCommandExecutionPracticeProviderName;
}): ShellCommandExecutionPracticeSelection;
export declare function executeShellCommand(request?: ShellCommandExecutionBestPracticeRequest): ReturnType<typeof executeShellCommandCore>;
export declare const shellCommandExecutionBaseToolDefinition: import("../../../../../agentCore/agent_executionEngine/basic_toolLayer/baseTools/baseToolDefinition.js").BaseToolDefinition<ShellCommandExecutionHandlerInput, ShellCommandExecutionOutput>;
export declare const shellCommandExecutionHandler: BaseToolHandler<ShellCommandExecutionHandlerInput, ShellCommandExecutionOutput>;
