import type { Diagnostic, ExportArtifactOptions, ExportArtifactsResult, LiteralColorOccurrence, Palette, PaletteMode, SvgInspectionResult, SvgSanitizeResult, SvgValidationResult, ThemedSvgManifest, TransformOptions, TransformResult } from './types.js'; export declare class ThemedSvgError extends Error { readonly diagnostics: Diagnostic[]; constructor(message: string, diagnostics: Diagnostic[]); } export declare function cssVariableName(namespace: string, token: string): string; export declare function validateManifest(manifest: ThemedSvgManifest): Diagnostic[]; export declare function resolvePalette(manifest: ThemedSvgManifest, preset: string, mode: PaletteMode, options?: Pick): Palette; export declare function transformSvg(svg: string, manifest: ThemedSvgManifest, options?: TransformOptions): TransformResult; /** Migration and diagnostics helper only. It never changes SVG content. */ export declare function discoverLiteralColors(svg: string): LiteralColorOccurrence[]; export declare function validateSvg(svg: string): SvgValidationResult; /** * Fail-closed sanitizer for build and editor inputs. Safe documents are * canonically parsed and serialized; unsafe documents produce no SVG. */ export declare function sanitizeSvg(svg: string): SvgSanitizeResult; export declare function inspectSvg(svg: string): SvgInspectionResult; export declare function exportSvgArtifacts(svg: string, manifest: ThemedSvgManifest, options?: ExportArtifactOptions): ExportArtifactsResult; //# sourceMappingURL=transform.d.ts.map