/** * Runtime context detection and entry availability matching (Browser version). * * Returns safe defaults for browser environments. The matcher and * `EntryAvailability` shape track the Node version (issue #417 added * `os`/`provider`/`target`/`surface`). */ export interface RuntimeContext { /** Issue #417: renamed from `platform`. */ os: string; /** @deprecated Use `os`. */ platform: string; runtime: string; deployment: string; /** Issue #417 — deploy provider. Always `'bare'` in browser. */ provider: string; /** Issue #417 — build target. Always `'browser'` in browser. */ target: string; env: string; } export type Surface = 'mcp' | 'cli' | 'http-trigger' | 'job' | 'agent'; export interface CallContext { surface?: Surface; } export interface EntryAvailability { /** Issue #417: renamed from `platform`. */ os?: string[]; /** @deprecated Use `os`. */ platform?: string[]; runtime?: string[]; deployment?: string[]; provider?: string[]; target?: string[]; surface?: Surface[]; env?: string[]; } export declare const entryAvailabilitySchema: import("@frontmcp/lazy-zod").ZodObject<{ os: import("@frontmcp/lazy-zod").ZodOptional>; platform: import("@frontmcp/lazy-zod").ZodOptional>; runtime: import("@frontmcp/lazy-zod").ZodOptional>; deployment: import("@frontmcp/lazy-zod").ZodOptional>; provider: import("@frontmcp/lazy-zod").ZodOptional>; target: import("@frontmcp/lazy-zod").ZodOptional>; surface: import("@frontmcp/lazy-zod").ZodOptional>>; env: import("@frontmcp/lazy-zod").ZodOptional>; }, import("zod/v4/core").$strict>; export declare function isEntryAvailable(availability: EntryAvailability | undefined, ctx: RuntimeContext, callCtx?: CallContext): boolean; export declare function checkEntryAvailability(availability: EntryAvailability | undefined, ctx: RuntimeContext, callCtx?: CallContext): { available: boolean; missingAxes: (keyof EntryAvailability)[]; }; export declare function detectRuntimeContext(): RuntimeContext; export declare function getRuntimeContext(): RuntimeContext; export declare function resetRuntimeContext(): void;