import type { RuntimeAdapter } from "../../../platform/adapters/base.js"; import type { LayoutItem } from "../../../types/index.js"; export interface LayoutDiscoveryIdentity { projectId?: string; contentSourceId?: string; /** Explicitly disable the legacy adapter-scoped cache for mutable callers. */ cache?: boolean; } export declare function clearLayoutDiscoveryCache(projectDir?: string): void; export declare function getLayoutDiscoveryCacheStats(): { size: number; maxSize: number; }; export declare function discoverNestedLayouts(pageFilePath: string, rootDir: string, projectDir: string, adapter: RuntimeAdapter, identity?: LayoutDiscoveryIdentity): Promise; //# sourceMappingURL=discovery.d.ts.map