import { SUPPORTED_LANGUAGES } from "./constants.js";
//#region src/components/dataSourceComponents/fields/Upload/types.d.ts
type Language = typeof SUPPORTED_LANGUAGES[number];
type SingleUploadValue = string;
type MultipleUploadValue = string[];
type SingleMultilingualValue = Record<Language, string>;
type MultipleMultilingualValue = SingleMultilingualValue[];
type UploadValue = SingleUploadValue | MultipleUploadValue | SingleMultilingualValue | MultipleMultilingualValue;
type UploadChangeHandler = (value: UploadValue) => void;
//#endregion
export { UploadChangeHandler, UploadValue };