import type { BaseToolHandler } from "../../../../../agentCore/agent_executionEngine/basic_toolLayer/baseTools/baseToolDefinition.js";
import { planLspCodeCompletion as planLspCodeCompletionCore, type LspCompleteCodeRequest } from "./core.js";
import { type LspLocateDefinitionRuntimeOptions, type LspRuntimeCompletionItem } from "../_shared/runtime.js";
import { type LspCompleteCodePracticeProviderName } from "./dependencies.js";
export * from "./core.js";
export type LspCompleteCodeRuntimeOutput = {
    kind: "agentCore.basicTool.lsp.completeCode";
    target: {
        filePath: string;
        line: number;
        character: number;
        languageId?: string;
    };
    items: readonly LspRuntimeCompletionItem[];
    dryRun: boolean;
    providerCalled: boolean;
    permissionsRequired: readonly ["workspace:read", "lsp:read"];
    unsafeSideEffects: false;
};
export type LspCompleteCodePreviewOutput = {
    kind: "agentCore.basicTool.lsp.completeCode.preview";
    preview: ReturnType<typeof planLspCodeCompletionCore> extends infer Result ? Result extends {
        ok: true;
        plan: infer Plan;
    } ? Plan : never : never;
    dryRun: true;
    providerCalled: false;
    unsafeSideEffects: false;
};
export type LspCompleteCodeBestPracticeOutput = LspCompleteCodeRuntimeOutput | LspCompleteCodePreviewOutput;
export type LspCompleteCodeBestPracticeRequest = LspCompleteCodeRequest & {
    runtime?: LspLocateDefinitionRuntimeOptions;
    preferredProvider?: LspCompleteCodePracticeProviderName;
};
export declare const lspCompleteCodeProviderPractices: readonly [{
    readonly providerName: "anthropic";
    readonly source: "Claude Code LSPTool practice informs code.lsp_completeCode; Praxis executes through the shared LSP runtime.";
    readonly directCliSupport: true;
    readonly sideEffectPolicy: "read-only";
}, {
    readonly providerName: "openai";
    readonly source: "Codex CLI tool runtime boundary practice informs code.lsp_completeCode; Praxis executes through the shared LSP runtime.";
    readonly directCliSupport: true;
    readonly sideEffectPolicy: "read-only";
}, {
    readonly providerName: "deepmind";
    readonly source: "Gemini CLI tool registry practice informs code.lsp_completeCode; Praxis executes through the shared LSP runtime.";
    readonly directCliSupport: true;
    readonly sideEffectPolicy: "read-only";
}];
export declare const lspCompleteCodeBestPracticeDescriptor: {
    readonly toolId: "code.lsp_completeCode";
    readonly bestPractice: "anthropic-host-executor-or-shared-stdio-lsp-runtime";
    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_completeCode; Praxis executes through the shared LSP runtime.";
        readonly directCliSupport: true;
        readonly sideEffectPolicy: "read-only";
    }, {
        readonly providerName: "openai";
        readonly source: "Codex CLI tool runtime boundary practice informs code.lsp_completeCode; Praxis executes through the shared LSP runtime.";
        readonly directCliSupport: true;
        readonly sideEffectPolicy: "read-only";
    }, {
        readonly providerName: "deepmind";
        readonly source: "Gemini CLI tool registry practice informs code.lsp_completeCode; Praxis executes through the shared LSP runtime.";
        readonly directCliSupport: true;
        readonly sideEffectPolicy: "read-only";
    }];
    readonly dependencies: readonly ["workspace.read", "lsp.server.forTargetLanguage", "node.child_process.stdioJsonRpc"];
};
export declare function planLspCodeCompletion(...args: Parameters<typeof planLspCodeCompletionCore>): ReturnType<typeof planLspCodeCompletionCore>;
export declare function completeLspCode(request: LspCompleteCodeBestPracticeRequest): Promise<readonly LspRuntimeCompletionItem[]>;
export declare const lspCompleteCodeBaseToolDefinition: import("../../../../../agentCore/agent_executionEngine/basic_toolLayer/baseTools/baseToolDefinition.js").BaseToolDefinition<LspCompleteCodeBestPracticeRequest, LspCompleteCodeBestPracticeOutput>;
export declare const lspCompleteCodeHandler: BaseToolHandler<LspCompleteCodeBestPracticeRequest, LspCompleteCodeBestPracticeOutput>;
