/**
 * 验证图片文件
 */
export declare function validateImageFile(file: File, options?: {
    maxSize?: number;
    allowedTypes?: string[];
}): {
    valid: boolean;
    error?: string;
};
/**
 * 将文件转换为base64
 */
export declare function fileToBase64(file: File): Promise<string>;
/**
 * 压缩图片
 */
export declare function compressImage(base64: string, options?: {
    maxWidth?: number;
    maxHeight?: number;
    quality?: number;
}): Promise<string>;
/**
 * 获取图片信息
 */
export declare function getImageInfo(base64: string): Promise<{
    width: number;
    height: number;
    size: number;
    type: string;
}>;
/**
 * 创建图片预览模态框
 */
export declare function createImagePreviewModal(imageSrc: string): void;
//# sourceMappingURL=imageUtils.d.ts.map