/// <reference types="node" />
export type ImageSegment = {
    buffer: Buffer;
    width: number;
    height: number;
};
export declare const ImageUtil: {
    downloadAndSaveToStorage: (uri: string) => Promise<void>;
    getFromStorage: (uri: string) => ImageSegment;
    clearStorage: () => void;
    dimension: (image: Buffer) => Promise<{
        width: number;
        height: number;
    }>;
};
