import { ImageExtensionFnProps, RichTextEditorFeatures } from "../../molecules/RichTextEditor/RichTextEditor.types.js"; //#region src/atoms/utils/richtext.d.ts interface FeaturesProps extends Pick { features?: RichTextEditorFeatures[]; extendFeatures?: RichTextEditorFeatures[]; removeFeatures?: RichTextEditorFeatures[]; } declare function getFeatures({ features, extendFeatures, removeFeatures, onImageUpload }: FeaturesProps): RichTextEditorFeatures[]; /** * @deprecated - Use the onImageRead prop instead of tokens */ declare const IMG_WITH_SRC_AND_ALT: RegExp; /** * @deprecated - Use the onImageRead prop instead of tokens */ declare const IMG_WITH_ALT: RegExp; /** * @deprecated - Use the onImageRead prop instead of tokens */ declare function extractImageUrls(value: string | undefined): string[]; /** * @deprecated - Use the onImageRead prop instead of tokens */ declare function imageToB64(file: File): Promise; /** * @deprecated - Use the onImageRead prop instead of tokens */ declare function cleanRichTextValue(value: string): string; declare function getImagesFromRichText(value: string): string[]; //#endregion export { FeaturesProps, IMG_WITH_ALT, IMG_WITH_SRC_AND_ALT, cleanRichTextValue, extractImageUrls, getFeatures, getImagesFromRichText, imageToB64 };