import type { BaseToolHandler } from "../../../../../agentCore/agent_executionEngine/basic_toolLayer/baseTools/baseToolDefinition.js";
import type { BaseToolExecutorPort } from "../../../../../agentCore/agent_executionEngine/basic_toolLayer/baseTools/baseToolExecutorPort.js";
import { type ShellExitCodeCheckingOutput, type ShellExitCodeCheckingProvider, type ShellExitCodeCheckingRequest, type ShellExitCodeCheckingResult } from "./core.js";
import { type ShellExitCodeCheckingDependencies, type ShellExitCodeCheckingPracticeProviderName, type ShellExitCodeCheckingProviderPractice } from "./dependencies.js";
export * from "./core.js";
export type ShellExitCodeCheckingBestPracticeRequest = ShellExitCodeCheckingRequest & {
    executor?: BaseToolExecutorPort;
    preferredProvider?: ShellExitCodeCheckingPracticeProviderName;
    provider?: ShellExitCodeCheckingProvider;
};
export type ShellExitCodeCheckingHandlerInput = Omit<ShellExitCodeCheckingBestPracticeRequest, "executor">;
export type ShellExitCodeCheckingPracticeSelection = {
    providerName: ShellExitCodeCheckingPracticeProviderName;
    practice: ShellExitCodeCheckingProviderPractice;
    provider?: ShellExitCodeCheckingProvider;
};
export declare const shellExitCodeCheckingProviderPractices: readonly [{
    readonly providerName: "anthropic";
    readonly source: {
        readonly kind: "cli";
        readonly label: "Claude Code 2.1.88 BashTool post-execution status handling";
        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 treats exit status as runtime-owned execution material.", "Praxis keeps exit observation behind the runtime monitorExecution port and classifies only supplied material."];
    readonly createProvider: ({ provider, executor }: ShellExitCodeCheckingDependencies) => ShellExitCodeCheckingProvider | undefined;
}, {
    readonly providerName: "openai";
    readonly source: {
        readonly kind: "cli";
        readonly label: "Codex Rust 0.123.0 shell execution result envelope";
        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 reports shell exit material through a governed execution result envelope.", "Praxis mirrors that boundary by asking runtime for observations instead of probing the host process table."];
    readonly createProvider: ({ provider, executor }: ShellExitCodeCheckingDependencies) => ShellExitCodeCheckingProvider | undefined;
}, {
    readonly providerName: "deepmind";
    readonly source: {
        readonly kind: "cli";
        readonly label: "Gemini CLI 0.39.0 shell tool result handling";
        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 result and confirmation-flow lessons.", "Praxis keeps lifecycle and status ownership in runtime while this baseTool normalizes the exit classification."];
    readonly createProvider: ({ provider, executor }: ShellExitCodeCheckingDependencies) => ShellExitCodeCheckingProvider | undefined;
}];
export declare const shellExitCodeCheckingBestPracticeDescriptor: {
    readonly toolId: "shell.exitCodeChecking";
    readonly bestPractice: "runtime-execEngine-shellExecution-monitorExitCode";
    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 selectShellExitCodeCheckingPractice(dependencies?: ShellExitCodeCheckingDependencies & {
    preferredProvider?: ShellExitCodeCheckingPracticeProviderName;
}): ShellExitCodeCheckingPracticeSelection;
export declare function executeShellExitCodeChecking(request?: ShellExitCodeCheckingBestPracticeRequest): Promise<ShellExitCodeCheckingResult>;
export declare const shellExitCodeCheckingBaseToolDefinition: import("../../../../../agentCore/agent_executionEngine/basic_toolLayer/baseTools/baseToolDefinition.js").BaseToolDefinition<ShellExitCodeCheckingHandlerInput, ShellExitCodeCheckingOutput>;
export declare const shellExitCodeCheckingHandler: BaseToolHandler<ShellExitCodeCheckingHandlerInput, ShellExitCodeCheckingOutput>;
