export interface SvgSize { width: number; height: number; } /** * Read an SVG's intrinsic dimensions from disk. * * @throws if the file is missing or carries no usable size. */ export declare function readSvgSize(path: string): Promise; /** * Parse an SVG's pixel dimensions from its markup. Explicit `width`/`height` * win; otherwise the `viewBox`'s width/height (its 3rd and 4th numbers) supply * the intrinsic extent. Dimensions round to whole pixels to match the PNG path. * * @throws if there's no `` root or no usable size. */ export declare function parseSvgSize(text: string, label?: string): SvgSize; //# sourceMappingURL=svg.d.ts.map