/** Read-only availability probes for adapters whose layouts must be discovered. */ import type { DiscoveryResult, PlatformAdapter } from './types.js'; export interface DiscoveryEnvironment { /** Explicit configuration paths supplied by the caller's environment. */ environment?: Readonly>; /** Injectable for deterministic callers and tests. This function must be read-only. */ exists?: (path: string) => boolean; } /** * Reports whether an explicitly configured platform surface exists. It never * creates files, derives fallback paths, or treats a configuration file as an * artifact location; renderers must still validate any locations they use. */ export declare function discover(adapter: PlatformAdapter, options?: DiscoveryEnvironment): DiscoveryResult; //# sourceMappingURL=discovery.d.ts.map