export declare const HOST_ADAPTER_CAPABILITY_CONTRACT = "agent-knock-knock/host-adapter-capabilities"; export declare const HOST_ADAPTER_CAPABILITY_VERSION = 1; export declare const HOST_ADAPTER_SKILL_NAME = "agent-knock-knock"; export interface HostAdapterCapabilityCommand { readonly name: string; readonly description: string; readonly acceptsArgs: boolean; } export interface HostAdapterCapabilityTool { readonly name: string; readonly description: string; readonly inputSchema: Readonly>; } /** Stable, secretless compatibility proof exchanged with native Host connectors. */ export interface HostAdapterCapabilityHandshakeV1 { readonly contract: typeof HOST_ADAPTER_CAPABILITY_CONTRACT; readonly version: typeof HOST_ADAPTER_CAPABILITY_VERSION; readonly catalogDigest: string; readonly toolCount: number; readonly toolNames: readonly string[]; readonly skillName: typeof HOST_ADAPTER_SKILL_NAME; readonly skillDigest: string; } export interface HostAdapterCapabilitySource { readonly command: HostAdapterCapabilityCommand; readonly tools: readonly HostAdapterCapabilityTool[]; readonly capabilityHandshake?: unknown; } /** Derive the v1 handshake from the authoritative ordered catalog and Skill. */ export declare function createHostAdapterCapabilityHandshake(source: Pick, skillDocument: string): HostAdapterCapabilityHandshakeV1; /** * Fail closed unless one adapter, bundled Skill, and completed registration * agree with the exact supported handshake version. */ export declare function verifyHostAdapterCapabilityHandshake(source: HostAdapterCapabilitySource, skillDocument: string, registeredToolNames?: readonly string[]): HostAdapterCapabilityHandshakeV1;