import type { HookHostKind } from "../core/host-profile.js"; export interface HostCapabilities { /** * Pi >= 0.84 rewrites tool arguments by mutating `event.input` in place * (documented on `ToolCallEventResult`); OMP >= 18 returns the revision as * the `tool_call` result's `input` field. */ readonly toolArgsRewrite: boolean; /** OMP >= 18 accepts `deliverAs: "aside"` on its message APIs. */ readonly asideDelivery: boolean; } /** Resolve the active host SDK version, or undefined when it cannot be read. */ export declare function resolveHostSdkVersion(kind: HookHostKind): string | undefined; /** Numeric-semver comparison; prerelease tags compare equal to their release. */ export declare function compareVersionStrings(left: string, right: string): number; /** * Derive the capability set for a host. `sdkVersion` defaults to the version * resolved from the installed package; an unknown version yields no * capabilities so the extension never claims an API the host may lack. */ export declare function detectHostCapabilities(kind: HookHostKind, sdkVersion?: string | undefined): HostCapabilities; /** Test seam: drop the memoized SDK version lookups. */ export declare function __resetHostCapabilitiesCacheForTests(): void;