/** * Shared collector for template authoring warnings * * Loaders process many files per run, so warnings are gathered with the file * that produced them and reported once at the end rather than one clack line * per file. */ export type TemplateWarningCollector = { for: (args: { relativePath: string; }) => (args: { message: string; }) => void; report: () => void; }; /** * Create a warning collector for a single loader run. * * @returns A collector exposing a per-file warning sink and a report function */ export declare const createTemplateWarningCollector: () => TemplateWarningCollector; //# sourceMappingURL=templateWarnings.d.ts.map