import { AddImageData, Item, MediaGalleryParam, OnInsertFiles } from "@types";
export declare const getAcceptableTypes: (acceptedExtensions: string[]) => string[];
export declare const fromItemToImage: ({ name, fileName, extension, altTitle }: Item) => AddImageData;
export declare const onInsertFiles: OnInsertFiles;
export declare const fromValToMediaGalleryParam: <T extends string, U>(key: T, value: U) => MediaGalleryParam<T, U>;
export declare const getBase64: (file: File) => Promise<string>;
export declare const getTypeOrDocument: (type: string) => string | undefined;
export declare const makeUrl: (baseUrl: string, params?: Record<string, string>) => string;
