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 { executeCodeSearchRipgrep as executeCodeSearchRipgrepCore, type CodeSearchRipgrepExecutor, type CodeSearchRipgrepOutput, type CodeSearchRipgrepRequest } from "./core.js";
import { type CodeSearchRipgrepDependencies, type CodeSearchRipgrepPracticeProviderName, type CodeSearchRipgrepProviderPractice } from "./dependencies.js";
export * from "./core.js";
export type CodeSearchRipgrepBestPracticeRequest = CodeSearchRipgrepRequest & {
    executorPort?: BaseToolExecutorPort;
    preferredProvider?: CodeSearchRipgrepPracticeProviderName;
};
export type CodeSearchRipgrepHandlerInput = Omit<CodeSearchRipgrepBestPracticeRequest, "executorPort">;
export type CodeSearchRipgrepPracticeSelection = {
    providerName: CodeSearchRipgrepPracticeProviderName;
    practice: CodeSearchRipgrepProviderPractice;
    provider?: CodeSearchRipgrepExecutor;
};
export declare const codeSearchRipgrepProviderPractices: readonly [{
    readonly providerName: "anthropic";
    readonly source: {
        readonly kind: "cli";
        readonly label: "Claude Code 2.1.88 Grep tool practice";
        readonly path: "/home/proview/Desktop/three/claude_code_2_1_88/tools/GrepTool";
    };
    readonly directCliSupport: true;
    readonly sideEffectPolicy: "read-only";
    readonly notes: readonly ["Claude Code explicitly routes search tasks through Grep instead of shell rg/grep commands.", "Praxis adopts that model by exposing code.search_Ripgrep as the model-facing precise search tool."];
    readonly createProvider: ({ provider, executor }: CodeSearchRipgrepDependencies) => CodeSearchRipgrepExecutor | undefined;
}, {
    readonly providerName: "openai";
    readonly source: {
        readonly kind: "cli";
        readonly label: "Codex Rust grep_files handler and rg search tests";
        readonly path: "/home/proview/Desktop/three/codex_rust_0_125_0/codex-rs/core/src/tools/handlers/grep_files.rs";
    };
    readonly directCliSupport: true;
    readonly sideEffectPolicy: "read-only";
    readonly notes: readonly ["Codex contributes rg-backed search, glob support, limit behavior, and no-match handling.", "Praxis keeps query/result semantics in storage and calls runtime search.ripgrep as support."];
    readonly createProvider: ({ provider, executor }: CodeSearchRipgrepDependencies) => CodeSearchRipgrepExecutor | undefined;
}, {
    readonly providerName: "deepmind";
    readonly source: {
        readonly kind: "cli";
        readonly label: "Gemini CLI 0.39.0 grep tool";
        readonly path: "/home/proview/Desktop/three/gemini_cli_0_39_0/packages/core/src/tools/grep.ts";
    };
    readonly directCliSupport: true;
    readonly sideEffectPolicy: "read-only";
    readonly notes: readonly ["Gemini contributes include/exclude patterns, names-only modes, max match controls, and workspace validation.", "Praxis starts with structured matches and keeps output shaping in code.search_Ripgrep core."];
    readonly createProvider: ({ provider, executor }: CodeSearchRipgrepDependencies) => CodeSearchRipgrepExecutor | undefined;
}];
export declare const codeSearchRipgrepBestPracticeDescriptor: {
    readonly toolId: "code.search_Ripgrep";
    readonly bestPractice: "storage-owned-code-search-with-runtime-ripgrep-support";
    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: "binary";
        required: true;
        description: string;
    } | {
        dependencyId: string;
        kind: "permission";
        required: true;
        description: string;
    })[];
};
export declare function selectCodeSearchRipgrepPractice(dependencies?: CodeSearchRipgrepDependencies & {
    preferredProvider?: CodeSearchRipgrepPracticeProviderName;
}): CodeSearchRipgrepPracticeSelection;
export declare function executeCodeSearchRipgrep(request?: CodeSearchRipgrepBestPracticeRequest): ReturnType<typeof executeCodeSearchRipgrepCore>;
export declare const codeSearchRipgrepBaseToolDefinition: import("../../../../../agentCore/agent_executionEngine/basic_toolLayer/baseTools/baseToolDefinition.js").BaseToolDefinition<CodeSearchRipgrepHandlerInput, CodeSearchRipgrepOutput>;
export declare const codeSearchRipgrepHandler: BaseToolHandler<CodeSearchRipgrepHandlerInput, CodeSearchRipgrepOutput>;
