import { SvelteSet } from 'svelte/reactivity'; /** * Configuration constants for highlighting */ export declare const HIGHLIGHT_CONSTANTS: { readonly DIGIT_WIDTH: 12; readonly MIN_DIGITS: 2; readonly HIGHLIGHTED_BACKGROUND: "rgba(254, 241, 96, 0.2)"; }; /** * Creates a set of all highlighted line numbers from individual lines and ranges */ export declare function createHighlightedLinesSet(highlightedLines?: number[], highlightedRanges?: [number, number][]): SvelteSet; /** * Calculates the width needed for line numbers based on the number of lines */ export declare function calculateLineNumberWidth(lineCount: number, digitWidth?: number, minDigits?: number): number; /** * Escapes HTML special characters */ export declare function escapeHtml(str: string): string; /** * Replaces $lib imports with the specified library name */ export declare function replaceLibImport(componentString: string | undefined, libraryName?: string): string;