import type { IImgSize, IPathTransformedImgInfo, IPicGo } from '../../types';
export declare const getImageSize: (file: Buffer) => IImgSize;
export declare const getFSFile: (filePath: string) => Promise<IPathTransformedImgInfo>;
export declare function getImageTypeByMagicNumber(buffer: Buffer | Uint8Array): string;
export declare const getURLFile: (url: string, ctx: IPicGo) => Promise<IPathTransformedImgInfo>;
