/** * Input validation utilities for lumen. * Lifted from @the-forge-flow/visual-explainer-pi: src/utils/validators.ts. * Adapted to avoid type casts: uses Set membership + Reflect.get + type guards. */ import type { Aesthetic, AnyAesthetic, FgraphAesthetic, GenerateVisualParams, Theme, VisualType } from "../types.js"; export declare function isAesthetic(value: unknown): value is Aesthetic; export declare function isFgraphAesthetic(value: unknown): value is FgraphAesthetic; export declare function validateVisualType(type: unknown): VisualType; /** * Tool-level aesthetic validation. Accepts any value from either the mermaid * palette set OR the fgraph aesthetic set; renderers narrow at render time * (mermaid → narrow to Aesthetic with isAesthetic; diagram → narrow to * FgraphAesthetic with isFgraphAesthetic). */ export declare function validateAesthetic(aesthetic: unknown): AnyAesthetic; export declare function validateTheme(theme: unknown): Theme; export declare function validateParams(params: unknown): GenerateVisualParams; export declare function sanitizeFilename(filename: string): string; export declare function generateDefaultFilename(title: string): string; //# sourceMappingURL=validators.d.ts.map