export declare function getImageSizeFromUrl(url: string): Promise<{
    width: number;
    height: number;
}>;
export declare function getImageSizeFromFile(file: File): Promise<{
    width: number;
    height: number;
}>;
export declare function isValidSize(size: number | undefined | 'auto'): size is number;
