import type { BaseToolHandler } from "../../../../../agentCore/agent_executionEngine/basic_toolLayer/baseTools/baseToolDefinition.js";
import { planLspApplyCodeAction as planLspApplyCodeActionCore, type LspApplyCodeActionRequest } from "./core.js";
import { type LspLocateDefinitionRuntimeOptions, type LspRuntimeCodeAction } from "../_shared/runtime.js";
import { type LspApplyCodeActionPracticeProviderName } from "./dependencies.js";
export * from "./core.js";
export type LspApplyCodeActionRuntimeOutput = {
    kind: "agentCore.basicTool.lsp.applyCodeAction";
    target: {
        filePath: string;
        range?: unknown;
        languageId?: string;
    };
    matchingActions: readonly LspRuntimeCodeAction[];
    dryRun: boolean;
    providerCalled: boolean;
    appliesChanges: false;
    permissionsRequired: readonly ["workspace:read", "workspace:edit", "lsp:read"];
    unsafeSideEffects: false;
};
export type LspApplyCodeActionPreviewOutput = {
    kind: "agentCore.basicTool.lsp.applyCodeAction.preview";
    preview: ReturnType<typeof planLspApplyCodeActionCore> extends infer Result ? Result extends {
        ok: true;
        plan: infer Plan;
    } ? Plan : never : never;
    dryRun: true;
    providerCalled: false;
    unsafeSideEffects: false;
};
export type LspApplyCodeActionBestPracticeOutput = LspApplyCodeActionRuntimeOutput | LspApplyCodeActionPreviewOutput;
export type LspApplyCodeActionBestPracticeRequest = LspApplyCodeActionRequest & {
    runtime?: LspLocateDefinitionRuntimeOptions;
    preferredProvider?: LspApplyCodeActionPracticeProviderName;
};
export declare const lspApplyCodeActionProviderPractices: readonly [{
    readonly providerName: "anthropic";
    readonly source: "Claude Code LSPTool practice informs code.lsp_applyCodeAction; Praxis executes through the shared LSP runtime.";
    readonly directCliSupport: false;
    readonly sideEffectPolicy: "preview-only";
}, {
    readonly providerName: "openai";
    readonly source: "Codex CLI tool runtime boundary practice informs code.lsp_applyCodeAction; Praxis executes through the shared LSP runtime.";
    readonly directCliSupport: false;
    readonly sideEffectPolicy: "preview-only";
}, {
    readonly providerName: "deepmind";
    readonly source: "Gemini CLI tool registry practice informs code.lsp_applyCodeAction; Praxis executes through the shared LSP runtime.";
    readonly directCliSupport: false;
    readonly sideEffectPolicy: "preview-only";
}];
export declare const lspApplyCodeActionBestPracticeDescriptor: {
    readonly toolId: "code.lsp_applyCodeAction";
    readonly bestPractice: "anthropic-host-executor-or-shared-stdio-lsp-runtime-preview-only";
    readonly sourcePriority: readonly ["cli", "agent-sdk", "api-sdk", "praxis-native"];
    readonly providerPractices: readonly [{
        readonly providerName: "anthropic";
        readonly source: "Claude Code LSPTool practice informs code.lsp_applyCodeAction; Praxis executes through the shared LSP runtime.";
        readonly directCliSupport: false;
        readonly sideEffectPolicy: "preview-only";
    }, {
        readonly providerName: "openai";
        readonly source: "Codex CLI tool runtime boundary practice informs code.lsp_applyCodeAction; Praxis executes through the shared LSP runtime.";
        readonly directCliSupport: false;
        readonly sideEffectPolicy: "preview-only";
    }, {
        readonly providerName: "deepmind";
        readonly source: "Gemini CLI tool registry practice informs code.lsp_applyCodeAction; Praxis executes through the shared LSP runtime.";
        readonly directCliSupport: false;
        readonly sideEffectPolicy: "preview-only";
    }];
    readonly dependencies: readonly ["workspace.read", "lsp.server.forTargetLanguage", "node.child_process.stdioJsonRpc"];
};
export declare const lspApplyCodeActionBaseToolDefinition: import("../../../../../agentCore/agent_executionEngine/basic_toolLayer/baseTools/baseToolDefinition.js").BaseToolDefinition<LspApplyCodeActionBestPracticeRequest, LspApplyCodeActionBestPracticeOutput>;
export declare const lspApplyCodeActionHandler: BaseToolHandler<LspApplyCodeActionBestPracticeRequest, LspApplyCodeActionBestPracticeOutput>;
