import { type TerminalControlRef } from "./terminal-control-ref.js"; /** Register the creating Host atomically with the Watch's durable authority. */ export declare function withNativeAuthorityWatchOwner(storeDir: string, create: () => T): T; /** Read only: a transfer must retain outstanding Watch observation/callback ownership. */ export declare function hasOutstandingNativeAuthorityWatch(input: { storeDir: string; terminalControl: TerminalControlRef; nativeThreadId?: string; }): boolean;