import type { ToolDefinition } from "@opencode-ai/plugin"; import type { AftConfig } from "./config.js"; import type { PluginContext } from "./types.js"; /** Returns true when bare `edit` remains available after surface, hoisting, and disable filters. */ export declare function openCodeEditSlotSurvives(config: AftConfig): boolean; /** Select the hashline schema only when the host's final edit slot can survive. */ export declare function openCodeHashlineEffective(config: AftConfig): boolean; /** Return the process-state flag Rust uses to select the same edit schema arm. */ export declare function openCodeHashlineEditRegistered(config: AftConfig, registeredTools: ReadonlySet): boolean; /** * Build the exact OpenCode registration map without starting a bridge. * * Production calls this after startup has prepared the transport context. Keeping * the selection in one function makes the checked profile tests exercise the same * registration path rather than a second test-only inventory implementation. */ export declare function buildOpenCodeToolMap(ctx: PluginContext, config: AftConfig, onUnknownDisabled?: (name: string, available: readonly string[]) => void): Record; //# sourceMappingURL=tool-registration.d.ts.map