import { type GroveConfig } from "./schema.js"; /** * The full payload written to data/generated/records.full.json. * Carries every normalized record, regardless of visibility. */ export interface RecordsFullPayload { schemaVersion: number; blueprint: string; generatedAt: string; totalRecords: number; visibleRecords: number; records: Array>; } /** * The slim payload written to data/generated/records.index.json. * Carries only what list and search pages need. */ export interface RecordsIndexPayload { schemaVersion: number; blueprint: string; generatedAt: string; totalRecords: number; records: Array>; } /** * `generate` reads every records/*.yml in the project, normalizes them * via the blueprint schema, and writes: * - data/generated/records.full.json (full records, all visibility) * - data/generated/records.index.json (slim, visible-only) * - data/generated/records.json (alias of records.full.json) * * Returns file paths and counters; throws on schema errors. */ export interface GenerateResult { totalRecords: number; visibleRecords: number; fullPath: string; indexPath: string; aliasPath: string; errors: string[]; } export declare function generate(cwd?: string, config?: GroveConfig): Promise; //# sourceMappingURL=build-data.d.ts.map