import type { PageDefinition } from '@rangka/shared'; export interface PageValidationWarning { pageKey: string; location: string; message: string; } /** * Collect all distinct model names referenced as data sources within a page body. */ export declare function extractSourceModels(page: PageDefinition): string[]; /** * Validate that every source model referenced by pages actually exists * in the known model set. Returns warnings for unresolved references. */ export declare function validatePageSources(pages: Array<{ module: string; page: PageDefinition; }>, knownModels: Set): PageValidationWarning[]; /** Detect pages that share the same key across different modules. */ export declare function detectDuplicatePageKeys(pages: Array<{ module: string; page: PageDefinition; }>): PageValidationWarning[]; //# sourceMappingURL=page-utils.d.ts.map