export interface ParsedDataUri {
    mimeType: string;
    base64Data: string;
}
/**
 * Parse data URI strings of the form data:mime/type;base64,....
 * Returns null if the value is not a base64 data URI.
 */
export declare function parseDataUri(dataUri: string): ParsedDataUri | null;
/**
 * Estimate the decoded byte-size of base64 data without allocating buffers
 */
export declare function estimateBase64Size(base64Data: string): number;
//# sourceMappingURL=data-uri.d.ts.map