export interface OfflineGateOptions { /** The configured API origin; present means "this client is hosted". */ apiUrl?: string; /** True when the skill is present in the verified local cache. */ isCached: (skill: string) => boolean | Promise; /** True when the skill's contract requires network. */ isNetworkRequired?: (skill: string) => boolean | Promise; } export interface OfflineGate { /** * Decide whether a run may execute locally. Throws GovernanceError with the * exact code (REMOTE_REQUIRED | SKILL_UNAVAILABLE_OFFLINE) when it may not. */ assertCanRunLocal(skill: string): Promise; } export declare function createOfflineGate(options: OfflineGateOptions): OfflineGate;