1export const SVG_SCHEMA: '1'2export const EDITABLE_SVG_SCHEMA: '1'3export const NORMALIZER_BUILD: 'svg-normalizer-4'4export const MATERIALIZER_BUILD: 'svg-materializer-4'5export const PALETTE_BUILD: 'diagramzip-palette-2'6export const RAW_PROFILE: 'safe-raw-1'7export const APPEARANCES: readonly [8 'raw',9 'auto-transparent',10 'light-transparent',11 'dark-transparent',12 'auto-framed',13 'light-framed',14 'dark-framed',15]16export interface NormalizationCapability {17 readonly schema: string18 readonly normalizer: string19 readonly profile: string20 readonly palette: string21 readonly conformance: 'raw' | 'semantic' | 'adaptive' | 'presentation-only' | 'unsupported'22 readonly appearances: readonly string[]23 readonly limitations?: readonly string[]24}25export const RAW_NORMALIZATION: NormalizationCapability26export function normalizationFor(engine: string, rendererVersion?: string): NormalizationCapability2728export class SvgNormalizationError extends Error {29 readonly status: number30 readonly code: string31 constructor(status: number, code: string, message: string)32}3334export interface SvgMetadata {35 title: string36 description: string37}3839export interface SvgPresentation {40 background: string41 padding: number42 frame: boolean43}4445export function sanitizeAndDecorateSvg(46 source: string,47 metadata: SvgMetadata,48 presentation: SvgPresentation,49 engine: string,50 rendererVersion?: string,51): string5253export function canonicalizeSvg(54 source: string,55 metadata: SvgMetadata,56 engine: string,57 rendererVersion?: string,58): string5960export function attachEditableDocument(source: string, document: unknown): string61export function extractEditableDocument(source: string): unknown6263export function materializePresentation(64 canonical: string,65 presentation: SvgPresentation,66): string6768export type SvgAppearance = typeof APPEARANCES[number]69export function materializeSvg(canonical: string, appearance: SvgAppearance): string70export function supportedAppearances(canonical: string): readonly SvgAppearance[]