export interface Preset { readonly name: string; readonly label: string; readonly description: string; readonly sciencePlotsBase: readonly string[]; readonly typography: { readonly family: string; readonly familyMono: string; readonly familySerif: string; readonly size: { readonly base: number; readonly title: number; readonly label: number; readonly tick: number; readonly legend: number; }; }; readonly palette: { readonly categorical: readonly string[]; readonly defaultColor: string; readonly sequential: string; readonly diverging: string; }; readonly geometry: { readonly lineWidth: number; readonly markerSize: number; readonly barGap: number; readonly figSize: readonly [number, number]; readonly dpi: number; readonly margin: { readonly l: number; readonly r: number; readonly t: number; readonly b: number; }; }; readonly modes: { readonly light: PresetMode; readonly dark: PresetMode; }; } export interface PresetMode { readonly background: string; readonly figureFace: string; readonly foreground: string; readonly gridColor: string; readonly gridColorSolid: string; readonly tickColor: string; readonly highlightRing: string; } export declare const PRESETS: { molplot: { readonly name: "molplot"; readonly label: "MolPlot"; readonly description: "MolCrafts unified scientific charting preset, faithful to scienceplots' 'science' base — its standard seven-colour cycle, thin 1.0 pt lines, serif type, and black-on-white axes — so a browser chart and a matplotlib figure share the same scienceplots look."; readonly sciencePlotsBase: readonly ["science", "no-latex"]; readonly typography: { readonly family: "Times New Roman, Times, Nimbus Roman, serif"; readonly familyMono: "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace"; readonly familySerif: "Times New Roman, Times, Nimbus Roman, serif"; readonly size: { readonly base: 10; readonly title: 12; readonly label: 10; readonly tick: 9; readonly legend: 9; }; }; readonly palette: { readonly categorical: readonly ["#0c5da5", "#00b945", "#ff9500", "#ff2c00", "#845b97", "#474747", "#9e9e9e"]; readonly defaultColor: "#0c5da5"; readonly sequential: "viridis"; readonly diverging: "RdBu"; }; readonly geometry: { readonly lineWidth: 1; readonly markerSize: 6; readonly barGap: 0.2; readonly figSize: readonly [3.5, 2.625]; readonly dpi: 400; readonly margin: { readonly l: 40; readonly r: 10; readonly t: 10; readonly b: 40; }; }; readonly modes: { readonly light: { readonly background: "transparent"; readonly figureFace: "#ffffff"; readonly foreground: "#000000"; readonly gridColor: "rgba(0,0,0,0.10)"; readonly gridColorSolid: "#cccccc"; readonly tickColor: "#000000"; readonly highlightRing: "#111827"; }; readonly dark: { readonly background: "transparent"; readonly figureFace: "#111113"; readonly foreground: "#e5e5e5"; readonly gridColor: "rgba(255,255,255,0.10)"; readonly gridColorSolid: "#444444"; readonly tickColor: "#e5e5e5"; readonly highlightRing: "#f9fafb"; }; }; }; "molplot-paper": { readonly name: "molplot-paper"; readonly label: "MolPlot Paper"; readonly description: "Publication variant layered on scienceplots' 'science' + 'nature' bases — the same standard seven-colour cycle as the default, thin 1.0 pt lines and serif type, but a tighter single-column figure and higher DPI. Web and paper figures stay colour-consistent."; readonly sciencePlotsBase: readonly ["science", "nature", "no-latex"]; readonly typography: { readonly family: "Times New Roman, Times, Nimbus Roman, serif"; readonly familyMono: "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace"; readonly familySerif: "Times New Roman, Times, Nimbus Roman, serif"; readonly size: { readonly base: 9; readonly title: 10; readonly label: 9; readonly tick: 8; readonly legend: 8; }; }; readonly palette: { readonly categorical: readonly ["#0c5da5", "#00b945", "#ff9500", "#ff2c00", "#845b97", "#474747", "#9e9e9e"]; readonly defaultColor: "#0c5da5"; readonly sequential: "viridis"; readonly diverging: "RdBu"; }; readonly geometry: { readonly lineWidth: 1; readonly markerSize: 3; readonly barGap: 0.2; readonly figSize: readonly [3.3, 2.5]; readonly dpi: 600; readonly margin: { readonly l: 44; readonly r: 8; readonly t: 8; readonly b: 40; }; }; readonly modes: { readonly light: { readonly background: "transparent"; readonly figureFace: "#ffffff"; readonly foreground: "#000000"; readonly gridColor: "rgba(0,0,0,0.10)"; readonly gridColorSolid: "#cccccc"; readonly tickColor: "#000000"; readonly highlightRing: "#000000"; }; readonly dark: { readonly background: "transparent"; readonly figureFace: "#111113"; readonly foreground: "#e5e5e5"; readonly gridColor: "rgba(255,255,255,0.10)"; readonly gridColorSolid: "#444444"; readonly tickColor: "#e5e5e5"; readonly highlightRing: "#ffffff"; }; }; }; }; export type PresetName = "molplot" | "molplot-paper"; export declare const DEFAULT_PRESET: PresetName;