export interface SemanticToolRelayOptions { readonly cwd?: string; readonly allowNonzeroJson?: boolean; readonly timeoutMs?: number; } export declare const defaultSemanticToolRelayPath: string; export declare function bindSemanticToolRelayPath(owner: object, relayPath: string): void; /** Bind a private child-process environment for one exact Host owner. */ export declare function bindSemanticToolRelayEnvironment(owner: object, environment: NodeJS.ProcessEnv): void; /** Keep an embedding Host's event loop responsive while AKK CLI work runs. */ export declare function bindSemanticToolAsyncRelay(owner: object): void; /** Scope one Host invocation's cancellation without sharing mutable state. */ export declare function withHostBridgeInvocationSignal(signal: AbortSignal | undefined, operation: () => Promise): Promise; export declare function runCli(owner: object, cliArgs: readonly string[], { cwd, allowNonzeroJson }?: SemanticToolRelayOptions): Record; export declare function runCliAsync(owner: object, cliArgs: readonly string[], { cwd, allowNonzeroJson, timeoutMs }?: SemanticToolRelayOptions): Promise>; export declare function runHostAwareCli(owner: object, cliArgs: readonly string[], options?: SemanticToolRelayOptions): Promise>;