datasquirel/client/media/imageInputToBase64.d.ts

15 lines
361 B
TypeScript
Raw Permalink Normal View History

2024-11-08 15:44:31 +00:00
declare namespace _exports {
export { FunctionReturn };
}
declare function _exports({ imageInput, maxWidth, mimeType, }: {
imageInput: HTMLInputElement;
maxWidth?: number;
mimeType?: [string];
}): Promise<FunctionReturn>;
export = _exports;
type FunctionReturn = {
imageBase64: string;
imageBase64Full: string;
imageName: string;
};