import { File, ResolvedFile } from "./types";
export declare const DEFAULT_IMAGE_SIZE = 1920;
export declare function getSize(given?: number): number;
export declare function getQuality(given?: number, size?: number): number;
export declare function getExpiresInSeconds(given?: number): number;
export interface ResolveFileOptions {
    public?: boolean;
    size?: number;
    sizes?: boolean;
    quality?: number;
    expiresInSeconds?: number;
}
export declare function getMaybeResolvedFile(file?: File, options?: ResolveFileOptions): Promise<ResolvedFile | undefined>;
export declare function getResolvedFile(file?: File, options?: ResolveFileOptions): Promise<ResolvedFile>;
export declare function getImageResizingUrl(input: string, options: ResolveFileOptions): URL;
export declare function getResolvedUrl(file: File, options?: ResolveFileOptions): Promise<string>;
