export type ImageSize = { w: number; h: number; }; export declare class ImageBase64 { private _value; static safeParse(value: ImageBase64 | string | undefined | null): ImageBase64 | undefined; static parse(value: ImageBase64 | string): ImageBase64; static fromDataUrl(value: string): ImageBase64; private constructor(); asBase64String(): string; asDataUrl(type?: 'svg' | 'jpg'): string; }