export interface ThemeConf { /** * Pixel ratio of `1.5` means that image variants will be created at 1.5x the requested size. */ pixelRatio: number; fTextImageResizeRules: ResizeRule[]; } /** * A resize rule can be either: * - A size name (e.g., "300x200") * - A width with auto height (e.g., "300x") * - A height with auto width (e.g., "x200") * - The bigger dimension (width or height) specified, with the other dimension auto (e.g., "x250x" ) */ export type ResizeRule = SizeName | `x${number}` | `${number}x` | `x${number}x`; export type SizeName = `${number}x${number}`;