/** * Convert a base64 string to a Blob. * Handles various formats: data URL, raw base64, and URL-safe base64. * * @param base64 - The base64 string to convert * @param mimeType - MIME type for the resulting Blob, defaults to 'image/jpeg' * @returns Blob created from the base64 data * @throws {Error} When the input is a URL or invalid base64 */ export declare function base64ToBlob(base64: string, mimeType?: string): Blob; /** * Ensure input is a Blob. If the input is a base64 string, convert it. * If already a Blob or File, return as-is. * * @param input - Blob, File, or base64 string * @param mimeType - MIME type for conversion, defaults to 'image/jpeg' * @returns Blob ready for FormData */ export declare function ensureBlob(input: Blob | File | string, mimeType?: string): Blob; //# sourceMappingURL=base64.d.ts.map