// Generated by dts-bundle-generator v9.5.1 import { Optional } from '@sirpepe/shed/types'; import { z } from 'zod'; export declare const defaultTheme: Theme; export declare const ragdoll: Theme; export declare const monokaiLight: Theme; export declare const monokaiDark: Theme; declare const tokenThemeTypes: { readonly token: "token"; readonly keyword: "keyword"; readonly alternativeKeyword: "alternativeKeyword"; readonly tag: "tag"; readonly alternativeTag: "alternativeTag"; readonly attribute: "attribute"; readonly alternativeAttribute: "alternativeAttribute"; readonly declaration: "declaration"; readonly string: "string"; readonly number: "number"; readonly literal: "literal"; readonly value: "value"; readonly operator: "operator"; readonly invocation: "invocation"; readonly type: "type"; readonly comment: "comment"; readonly alternativeComment: "alternativeComment"; readonly punctuation: "punctuation"; }; type LanguageThemeColorNames = keyof typeof tokenThemeTypes; type LanguageThemeMap = Record; export declare const themeSchema: z.ZodObject<{ version: z.ZodLiteral<6>; padding: z.ZodTuple<[ z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber ], null>; animation: z.ZodObject<{ function: z.ZodString; duration: z.ZodNumber; }, z.core.$strip>; contentScale: z.ZodNumber; verticalAlign: z.ZodUnion, z.ZodLiteral<"middle"> ]>; layers: z.ZodObject<{ lineNumbers: z.ZodObject<{ enabled: z.ZodBoolean; typography: z.ZodObject<{ color: z.ZodString; weight: z.ZodString; style: z.ZodUnion, z.ZodLiteral<"italic"> ]>; }, z.core.$strip>; transform: z.ZodObject<{ origin: z.ZodDefault; visible: z.ZodDefault; invisible: z.ZodDefault; }, z.core.$strip>; horizontalMargin: z.ZodTuple<[ z.ZodNumber, z.ZodNumber ], null>; }, z.core.$strip>; annotations: z.ZodObject<{ inlay: z.ZodIntersection; filter: z.ZodString; animation: z.ZodString; text: z.ZodObject<{ typography: z.ZodIntersection, z.ZodLiteral<"italic"> ]>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"TYPOGRAPHY">; fontFamily: z.ZodString; lineHeight: z.ZodNumber; textShadow: z.ZodDefault; }, z.core.$strip>>; filter: z.ZodString; }, z.core.$strip>; background: z.ZodObject<{ backdrop: z.ZodString; outline: z.ZodObject<{ color: z.ZodString; width: z.ZodNumber; offset: z.ZodNumber; style: z.ZodUnion, z.ZodLiteral<"dotted">, z.ZodLiteral<"dashed">, z.ZodLiteral<"solid">, z.ZodLiteral<"double">, z.ZodLiteral<"grooved">, z.ZodLiteral<"ridge">, z.ZodLiteral<"inset">, z.ZodLiteral<"outset"> ]>; }, z.core.$strip>; borderRadius: z.ZodNumber; filter: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodRecord; filter: z.ZodString; animation: z.ZodString; text: z.ZodObject<{ typography: z.ZodIntersection, z.ZodLiteral<"italic"> ]>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"TYPOGRAPHY">; fontFamily: z.ZodString; lineHeight: z.ZodNumber; textShadow: z.ZodDefault; }, z.core.$strip>>; filter: z.ZodString; }, z.core.$strip>; background: z.ZodObject<{ backdrop: z.ZodString; outline: z.ZodObject<{ color: z.ZodString; width: z.ZodNumber; offset: z.ZodNumber; style: z.ZodUnion, z.ZodLiteral<"dotted">, z.ZodLiteral<"dashed">, z.ZodLiteral<"solid">, z.ZodLiteral<"double">, z.ZodLiteral<"grooved">, z.ZodLiteral<"ridge">, z.ZodLiteral<"inset">, z.ZodLiteral<"outset"> ]>; }, z.core.$strip>; borderRadius: z.ZodNumber; filter: z.ZodString; }, z.core.$strip>; }, z.core.$strip>>>; }, z.core.$strip>; tokens: z.ZodObject<{ typography: z.ZodIntersection, z.ZodLiteral<"italic"> ]>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"TYPOGRAPHY">; fontFamily: z.ZodString; lineHeight: z.ZodNumber; textShadow: z.ZodDefault; }, z.core.$strip>>; transform: z.ZodObject<{ origin: z.ZodDefault; visible: z.ZodDefault; invisible: z.ZodDefault; }, z.core.$strip>; colors: z.ZodObject<{ string: z.ZodObject<{ color: z.ZodString; weight: z.ZodString; style: z.ZodUnion, z.ZodLiteral<"italic"> ]>; }, z.core.$strip>; number: z.ZodObject<{ color: z.ZodString; weight: z.ZodString; style: z.ZodUnion, z.ZodLiteral<"italic"> ]>; }, z.core.$strip>; keyword: z.ZodObject<{ color: z.ZodString; weight: z.ZodString; style: z.ZodUnion, z.ZodLiteral<"italic"> ]>; }, z.core.$strip>; alternativeKeyword: z.ZodObject<{ color: z.ZodString; weight: z.ZodString; style: z.ZodUnion, z.ZodLiteral<"italic"> ]>; }, z.core.$strip>; tag: z.ZodObject<{ color: z.ZodString; weight: z.ZodString; style: z.ZodUnion, z.ZodLiteral<"italic"> ]>; }, z.core.$strip>; alternativeTag: z.ZodObject<{ color: z.ZodString; weight: z.ZodString; style: z.ZodUnion, z.ZodLiteral<"italic"> ]>; }, z.core.$strip>; attribute: z.ZodObject<{ color: z.ZodString; weight: z.ZodString; style: z.ZodUnion, z.ZodLiteral<"italic"> ]>; }, z.core.$strip>; alternativeAttribute: z.ZodObject<{ color: z.ZodString; weight: z.ZodString; style: z.ZodUnion, z.ZodLiteral<"italic"> ]>; }, z.core.$strip>; declaration: z.ZodObject<{ color: z.ZodString; weight: z.ZodString; style: z.ZodUnion, z.ZodLiteral<"italic"> ]>; }, z.core.$strip>; literal: z.ZodObject<{ color: z.ZodString; weight: z.ZodString; style: z.ZodUnion, z.ZodLiteral<"italic"> ]>; }, z.core.$strip>; value: z.ZodObject<{ color: z.ZodString; weight: z.ZodString; style: z.ZodUnion, z.ZodLiteral<"italic"> ]>; }, z.core.$strip>; operator: z.ZodObject<{ color: z.ZodString; weight: z.ZodString; style: z.ZodUnion, z.ZodLiteral<"italic"> ]>; }, z.core.$strip>; invocation: z.ZodObject<{ color: z.ZodString; weight: z.ZodString; style: z.ZodUnion, z.ZodLiteral<"italic"> ]>; }, z.core.$strip>; type: z.ZodObject<{ color: z.ZodString; weight: z.ZodString; style: z.ZodUnion, z.ZodLiteral<"italic"> ]>; }, z.core.$strip>; comment: z.ZodObject<{ color: z.ZodString; weight: z.ZodString; style: z.ZodUnion, z.ZodLiteral<"italic"> ]>; }, z.core.$strip>; alternativeComment: z.ZodObject<{ color: z.ZodString; weight: z.ZodString; style: z.ZodUnion, z.ZodLiteral<"italic"> ]>; }, z.core.$strip>; punctuation: z.ZodObject<{ color: z.ZodString; weight: z.ZodString; style: z.ZodUnion, z.ZodLiteral<"italic"> ]>; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>; decorations: z.ZodObject<{ gutter: z.ZodIntersection; offset: z.ZodTuple<[ z.ZodNumber, z.ZodNumber ], null>; zIndex: z.ZodNumber; filter: z.ZodString; blendMode: z.ZodEnum<{ normal: "normal"; color: "color"; "color-burn": "color-burn"; "color-dodge": "color-dodge"; darken: "darken"; difference: "difference"; exclusion: "exclusion"; "hard-light": "hard-light"; hue: "hue"; lighten: "lighten"; luminosity: "luminosity"; multiply: "multiply"; overlay: "overlay"; saturation: "saturation"; screen: "screen"; "soft-light": "soft-light"; }>; fontFamily: z.ZodString; transform: z.ZodObject<{ origin: z.ZodDefault; visible: z.ZodDefault; invisible: z.ZodDefault; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodRecord; offset: z.ZodTuple<[ z.ZodNumber, z.ZodNumber ], null>; zIndex: z.ZodNumber; filter: z.ZodString; blendMode: z.ZodEnum<{ normal: "normal"; color: "color"; "color-burn": "color-burn"; "color-dodge": "color-dodge"; darken: "darken"; difference: "difference"; exclusion: "exclusion"; "hard-light": "hard-light"; hue: "hue"; lighten: "lighten"; luminosity: "luminosity"; multiply: "multiply"; overlay: "overlay"; saturation: "saturation"; screen: "screen"; "soft-light": "soft-light"; }>; fontFamily: z.ZodString; transform: z.ZodObject<{ origin: z.ZodDefault; visible: z.ZodDefault; invisible: z.ZodDefault; }, z.core.$strip>; }, z.core.$strip>>>; line: z.ZodIntersection; foreground: z.ZodObject<{ endLeft: z.ZodUnion, z.ZodLiteral<"gutter">, z.ZodLiteral<"scene"> ]>; endRight: z.ZodUnion, z.ZodLiteral<"scene"> ]>; backdrop: z.ZodString; zIndex: z.ZodNumber; filter: z.ZodString; backdropFilter: z.ZodString; blendMode: z.ZodEnum<{ normal: "normal"; color: "color"; "color-burn": "color-burn"; "color-dodge": "color-dodge"; darken: "darken"; difference: "difference"; exclusion: "exclusion"; "hard-light": "hard-light"; hue: "hue"; lighten: "lighten"; luminosity: "luminosity"; multiply: "multiply"; overlay: "overlay"; saturation: "saturation"; screen: "screen"; "soft-light": "soft-light"; }>; transform: z.ZodObject<{ origin: z.ZodDefault; visible: z.ZodDefault; invisible: z.ZodDefault; }, z.core.$strip>; }, z.core.$strip>; background: z.ZodObject<{ endLeft: z.ZodUnion, z.ZodLiteral<"gutter">, z.ZodLiteral<"scene"> ]>; endRight: z.ZodUnion, z.ZodLiteral<"scene"> ]>; backdrop: z.ZodString; zIndex: z.ZodNumber; filter: z.ZodString; backdropFilter: z.ZodString; blendMode: z.ZodEnum<{ normal: "normal"; color: "color"; "color-burn": "color-burn"; "color-dodge": "color-dodge"; darken: "darken"; difference: "difference"; exclusion: "exclusion"; "hard-light": "hard-light"; hue: "hue"; lighten: "lighten"; luminosity: "luminosity"; multiply: "multiply"; overlay: "overlay"; saturation: "saturation"; screen: "screen"; "soft-light": "soft-light"; }>; transform: z.ZodObject<{ origin: z.ZodDefault; visible: z.ZodDefault; invisible: z.ZodDefault; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodRecord; foreground: z.ZodObject<{ endLeft: z.ZodUnion, z.ZodLiteral<"gutter">, z.ZodLiteral<"scene"> ]>; endRight: z.ZodUnion, z.ZodLiteral<"scene"> ]>; backdrop: z.ZodString; zIndex: z.ZodNumber; filter: z.ZodString; backdropFilter: z.ZodString; blendMode: z.ZodEnum<{ normal: "normal"; color: "color"; "color-burn": "color-burn"; "color-dodge": "color-dodge"; darken: "darken"; difference: "difference"; exclusion: "exclusion"; "hard-light": "hard-light"; hue: "hue"; lighten: "lighten"; luminosity: "luminosity"; multiply: "multiply"; overlay: "overlay"; saturation: "saturation"; screen: "screen"; "soft-light": "soft-light"; }>; transform: z.ZodObject<{ origin: z.ZodDefault; visible: z.ZodDefault; invisible: z.ZodDefault; }, z.core.$strip>; }, z.core.$strip>; background: z.ZodObject<{ endLeft: z.ZodUnion, z.ZodLiteral<"gutter">, z.ZodLiteral<"scene"> ]>; endRight: z.ZodUnion, z.ZodLiteral<"scene"> ]>; backdrop: z.ZodString; zIndex: z.ZodNumber; filter: z.ZodString; backdropFilter: z.ZodString; blendMode: z.ZodEnum<{ normal: "normal"; color: "color"; "color-burn": "color-burn"; "color-dodge": "color-dodge"; darken: "darken"; difference: "difference"; exclusion: "exclusion"; "hard-light": "hard-light"; hue: "hue"; lighten: "lighten"; luminosity: "luminosity"; multiply: "multiply"; overlay: "overlay"; saturation: "saturation"; screen: "screen"; "soft-light": "soft-light"; }>; transform: z.ZodObject<{ origin: z.ZodDefault; visible: z.ZodDefault; invisible: z.ZodDefault; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>>>; text: z.ZodIntersection; foreground: z.ZodObject<{ background: z.ZodObject<{ backdrop: z.ZodString; zIndex: z.ZodNumber; filter: z.ZodString; blendMode: z.ZodEnum<{ normal: "normal"; color: "color"; "color-burn": "color-burn"; "color-dodge": "color-dodge"; darken: "darken"; difference: "difference"; exclusion: "exclusion"; "hard-light": "hard-light"; hue: "hue"; lighten: "lighten"; luminosity: "luminosity"; multiply: "multiply"; overlay: "overlay"; saturation: "saturation"; screen: "screen"; "soft-light": "soft-light"; }>; backdropFilter: z.ZodString; transform: z.ZodObject<{ origin: z.ZodDefault; visible: z.ZodDefault; invisible: z.ZodDefault; }, z.core.$strip>; }, z.core.$strip>; underline: z.ZodObject<{ kind: z.ZodLiteral<"UNDERLINE">; offsetY: z.ZodNumber; style: z.ZodEnum<{ none: "none"; line: "line"; wave: "wave"; squiggly: "squiggly"; squiggly2: "squiggly2"; squiggly3: "squiggly3"; }>; color: z.ZodString; scale: z.ZodNumber; width: z.ZodNumber; zIndex: z.ZodNumber; filter: z.ZodString; blendMode: z.ZodEnum<{ normal: "normal"; color: "color"; "color-burn": "color-burn"; "color-dodge": "color-dodge"; darken: "darken"; difference: "difference"; exclusion: "exclusion"; "hard-light": "hard-light"; hue: "hue"; lighten: "lighten"; luminosity: "luminosity"; multiply: "multiply"; overlay: "overlay"; saturation: "saturation"; screen: "screen"; "soft-light": "soft-light"; }>; backdropFilter: z.ZodString; transform: z.ZodObject<{ origin: z.ZodDefault; visible: z.ZodDefault; invisible: z.ZodDefault; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>; background: z.ZodObject<{ background: z.ZodObject<{ backdrop: z.ZodString; zIndex: z.ZodNumber; filter: z.ZodString; blendMode: z.ZodEnum<{ normal: "normal"; color: "color"; "color-burn": "color-burn"; "color-dodge": "color-dodge"; darken: "darken"; difference: "difference"; exclusion: "exclusion"; "hard-light": "hard-light"; hue: "hue"; lighten: "lighten"; luminosity: "luminosity"; multiply: "multiply"; overlay: "overlay"; saturation: "saturation"; screen: "screen"; "soft-light": "soft-light"; }>; backdropFilter: z.ZodString; transform: z.ZodObject<{ origin: z.ZodDefault; visible: z.ZodDefault; invisible: z.ZodDefault; }, z.core.$strip>; }, z.core.$strip>; underline: z.ZodObject<{ kind: z.ZodLiteral<"UNDERLINE">; offsetY: z.ZodNumber; style: z.ZodEnum<{ none: "none"; line: "line"; wave: "wave"; squiggly: "squiggly"; squiggly2: "squiggly2"; squiggly3: "squiggly3"; }>; color: z.ZodString; scale: z.ZodNumber; width: z.ZodNumber; zIndex: z.ZodNumber; filter: z.ZodString; blendMode: z.ZodEnum<{ normal: "normal"; color: "color"; "color-burn": "color-burn"; "color-dodge": "color-dodge"; darken: "darken"; difference: "difference"; exclusion: "exclusion"; "hard-light": "hard-light"; hue: "hue"; lighten: "lighten"; luminosity: "luminosity"; multiply: "multiply"; overlay: "overlay"; saturation: "saturation"; screen: "screen"; "soft-light": "soft-light"; }>; backdropFilter: z.ZodString; transform: z.ZodObject<{ origin: z.ZodDefault; visible: z.ZodDefault; invisible: z.ZodDefault; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodRecord; foreground: z.ZodObject<{ background: z.ZodObject<{ backdrop: z.ZodString; zIndex: z.ZodNumber; filter: z.ZodString; blendMode: z.ZodEnum<{ normal: "normal"; color: "color"; "color-burn": "color-burn"; "color-dodge": "color-dodge"; darken: "darken"; difference: "difference"; exclusion: "exclusion"; "hard-light": "hard-light"; hue: "hue"; lighten: "lighten"; luminosity: "luminosity"; multiply: "multiply"; overlay: "overlay"; saturation: "saturation"; screen: "screen"; "soft-light": "soft-light"; }>; backdropFilter: z.ZodString; transform: z.ZodObject<{ origin: z.ZodDefault; visible: z.ZodDefault; invisible: z.ZodDefault; }, z.core.$strip>; }, z.core.$strip>; underline: z.ZodObject<{ kind: z.ZodLiteral<"UNDERLINE">; offsetY: z.ZodNumber; style: z.ZodEnum<{ none: "none"; line: "line"; wave: "wave"; squiggly: "squiggly"; squiggly2: "squiggly2"; squiggly3: "squiggly3"; }>; color: z.ZodString; scale: z.ZodNumber; width: z.ZodNumber; zIndex: z.ZodNumber; filter: z.ZodString; blendMode: z.ZodEnum<{ normal: "normal"; color: "color"; "color-burn": "color-burn"; "color-dodge": "color-dodge"; darken: "darken"; difference: "difference"; exclusion: "exclusion"; "hard-light": "hard-light"; hue: "hue"; lighten: "lighten"; luminosity: "luminosity"; multiply: "multiply"; overlay: "overlay"; saturation: "saturation"; screen: "screen"; "soft-light": "soft-light"; }>; backdropFilter: z.ZodString; transform: z.ZodObject<{ origin: z.ZodDefault; visible: z.ZodDefault; invisible: z.ZodDefault; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>; background: z.ZodObject<{ background: z.ZodObject<{ backdrop: z.ZodString; zIndex: z.ZodNumber; filter: z.ZodString; blendMode: z.ZodEnum<{ normal: "normal"; color: "color"; "color-burn": "color-burn"; "color-dodge": "color-dodge"; darken: "darken"; difference: "difference"; exclusion: "exclusion"; "hard-light": "hard-light"; hue: "hue"; lighten: "lighten"; luminosity: "luminosity"; multiply: "multiply"; overlay: "overlay"; saturation: "saturation"; screen: "screen"; "soft-light": "soft-light"; }>; backdropFilter: z.ZodString; transform: z.ZodObject<{ origin: z.ZodDefault; visible: z.ZodDefault; invisible: z.ZodDefault; }, z.core.$strip>; }, z.core.$strip>; underline: z.ZodObject<{ kind: z.ZodLiteral<"UNDERLINE">; offsetY: z.ZodNumber; style: z.ZodEnum<{ none: "none"; line: "line"; wave: "wave"; squiggly: "squiggly"; squiggly2: "squiggly2"; squiggly3: "squiggly3"; }>; color: z.ZodString; scale: z.ZodNumber; width: z.ZodNumber; zIndex: z.ZodNumber; filter: z.ZodString; blendMode: z.ZodEnum<{ normal: "normal"; color: "color"; "color-burn": "color-burn"; "color-dodge": "color-dodge"; darken: "darken"; difference: "difference"; exclusion: "exclusion"; "hard-light": "hard-light"; hue: "hue"; lighten: "lighten"; luminosity: "luminosity"; multiply: "multiply"; overlay: "overlay"; saturation: "saturation"; screen: "screen"; "soft-light": "soft-light"; }>; backdropFilter: z.ZodString; transform: z.ZodObject<{ origin: z.ZodDefault; visible: z.ZodDefault; invisible: z.ZodDefault; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>>>; }, z.core.$strip>; background: z.ZodObject<{ backdrop: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; variables: z.ZodOptional; }, z.core.$strip>>>; css: z.ZodOptional; }, z.core.$strip>; export type Theme = z.infer; type ThemeWithCondition = { theme: Theme; condition: string; }; type LinkedNode = Omit & { prevNode: LinkedNode | null; prevToken: LinkedToken | null; nextNode: LinkedNode | null; nextToken: LinkedToken | null; parent: LinkedNode | null; content: (LinkedNode | LinkedToken)[]; }; type LinkedToken = Token & { prevNode: LinkedNode | null; prevToken: LinkedToken | null; nextNode: LinkedNode | null; nextToken: LinkedToken | null; parent: LinkedNode; }; type Coords = { sx: number; sy: number; ex: number; ey: number; }; type Diffable = Coords & { hash: number; context: string[]; depth: number; squad: number; }; type Token = Diffable & { text: string; type: string; range: number; isWeak: boolean; language: string; }; export type InputRange = { from: number; to: number; data: Record; }; type ComposedRange = InputRange & { hash: number; }; type Node$1 = Diffable & { type: string; content: (Node$1 | Token)[]; size: number; }; type LanguageHeuristics = { contextScoreMultiplier?: number; nodeAssignmentSkipPredicate?: (currentTo: LinkedNode) => boolean; }; type LanguageDefinition = { facets: { name: string; title: string; [other: string]: string; }; processor: (code: string, sliceFrom: number, sliceTo: number, inputContext: string[], ranges: ComposedRange[], flags: any) => Node$1[]; themeMap: LanguageThemeMap; dependencies: Record; heuristics: LanguageHeuristics; }; declare const baseExternalSchema: z.ZodObject<{ data: z.ZodRecord; }, z.core.$strip>; type BaseExternal = z.infer; declare const inputGutterDecorationSchema: z.ZodObject<{ data: z.ZodRecord; kind: z.ZodLiteral<"GUTTER">; text: z.ZodString; line: z.ZodNumber; }, z.core.$strip>; type InputGutterDecoration = z.infer; declare const inputLineDecorationSchema: z.ZodObject<{ data: z.ZodRecord; kind: z.ZodLiteral<"LINE">; fromLine: z.ZodNumber; toLine: z.ZodNumber; }, z.core.$strip>; type InputLineDecoration = z.infer; declare const inputTextDecorationSchema: z.ZodObject<{ data: z.ZodRecord; kind: z.ZodLiteral<"TEXT">; from: z.ZodNumber; to: z.ZodNumber; }, z.core.$strip>; type InputTextDecoration = z.infer; declare const inputDecorationSchema: z.ZodDiscriminatedUnion<[ z.ZodObject<{ data: z.ZodRecord; kind: z.ZodLiteral<"GUTTER">; text: z.ZodString; line: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ data: z.ZodRecord; kind: z.ZodLiteral<"LINE">; fromLine: z.ZodNumber; toLine: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ data: z.ZodRecord; kind: z.ZodLiteral<"TEXT">; from: z.ZodNumber; to: z.ZodNumber; }, z.core.$strip> ], "kind">; export type InputDecoration = z.infer; type GutterDecoration = InputGutterDecoration & Coords & Diffable; type LineDecoration = InputLineDecoration & Coords & Diffable; type TextDecoration = InputTextDecoration & Coords & Diffable; type Decoration = GutterDecoration | LineDecoration | TextDecoration; type AnnotationToken = Diffable & { text: string; parent: Annotation; }; declare const inputInlayAnnotationSchema: z.ZodObject<{ data: z.ZodRecord; kind: z.ZodLiteral<"INLAY">; text: z.ZodString; line: z.ZodNumber; char: z.ZodNumber; }, z.core.$strip>; type InputInlayAnnotation = z.infer; declare const inputAnnotationSchema: z.ZodDiscriminatedUnion<[ z.ZodObject<{ data: z.ZodRecord; kind: z.ZodLiteral<"INLAY">; text: z.ZodString; line: z.ZodNumber; char: z.ZodNumber; }, z.core.$strip> ], "kind">; type InputAnnotation = z.infer; type InlayAnnotation = InputInlayAnnotation & Coords & Diffable & { content: AnnotationToken[]; }; type Annotation = InlayAnnotation; type FrameMetadata = { renderedText: string; cols: number; rows: number; }; type Transform = [ a: number, b: number, c: number, d: number, tx: number, ty: number ]; type TokenOutput = { id: number; text: string; type: string; range: number; language: string; }; type LineNumberOutput = { id: number; text: string; }; type GutterDecorationOutput = BaseExternal & { id: number; text: string; readonly kind: InputGutterDecoration["kind"]; }; type LineDecorationOutput = BaseExternal & { id: number; readonly kind: InputLineDecoration["kind"]; }; type TextDecorationOutput = BaseExternal & { id: number; readonly kind: InputTextDecoration["kind"]; }; type DecorationOutput = GutterDecorationOutput | LineDecorationOutput | TextDecorationOutput; type AnnotationOutput = BaseExternal & { id: number; kind: string; }; type AnnotationTokenOutput = BaseExternal & { id: number; text: string; kind: string; }; type TextPosition = { x: number; y: number; a: number; t: Transform; }; type AnnotationTextPosition = TextPosition & { rx: number; ry: number; }; type DecorationPosition = { x: number; y: number; w: number; h: number; a: number; t: Transform; }; type AnnotationPosition = { x: number; y: number; w: number; h: number; a: number; t: Transform; }; type Frame = { isKeyframe: boolean; cols: number; rows: number; text: Map; lineNumbers: Map; decoration: Map; annotation: Map; annotationText: Map; }; type Scene = { cols: number; rows: number; objects: { text: Map; ranges: Map; lineNumbers: Map; decoration: Map; annotation: Map; annotationText: Map; }; frames: Map; metadata: Map; }; type SceneData = { scene: Scene; language: LanguageDefinition; }; type InputFrame = { code: string; ranges: InputRange[]; decorations: InputDecoration[]; annotations: InputAnnotation[]; }; type InputOptions = { language: LanguageDefinition; tabSize: number; minCols?: number; }; type HighlightData = { tokens: Token[]; decorations: Decoration[]; annotations: Annotation[]; ranges: Map; metadata: FrameMetadata; language: LanguageDefinition; }; export declare function fromStringsToScene(inputFrames: Optional[], { language, tabSize, minCols }: InputOptions): SceneData; export declare function fromStringToTokens(inputFrame: Optional, { language, tabSize, minCols }: InputOptions): HighlightData; type AnimationOptions = { rootClassSeed?: number; debugOverride?: boolean; theme?: Theme | ThemeWithCondition[]; wrapCSS?: (id: string, content: string) => string; }; export declare function toAnimationHTML({ scene, language }: SceneData, { rootClassSeed, theme, debugOverride, wrapCSS, }?: AnimationOptions): string; type HighlightOptions = { rootClassSeed?: number; debugOverride?: boolean; theme?: Theme; wrapCSS?: (id: string, content: string) => string; }; export declare function toHighlightHTML(content: HighlightData, { rootClassSeed, theme, debugOverride, wrapCSS, }?: HighlightOptions): string; export declare function ch(amount: number): string; export declare function font(family: string, lineHeight: number): string; type AnimationInput = Parameters[0]; type AnimationOptions$1 = Parameters[1]; type AnimationHTMLOptions = Parameters[1]; interface AnimateOptions extends NonNullable, NonNullable { } export declare function animateHTML(input: AnimationInput, options: AnimateOptions): string; type HighlightingInput = Parameters[0]; type HighlightingOptions = Parameters[1]; type HighlightingHTMLOptions = Parameters[1]; interface HighlightOptions$1 extends NonNullable, NonNullable { } export declare function highlightHTML(input: HighlightingInput, options: HighlightOptions$1): string; export declare function toHTML(input: AnimationInput | HighlightingInput, options: HighlightOptions$1 & AnimateOptions): string; export {};