import React from "react"; import { CoreOptions } from "medium-editor"; interface TextElementProps { elementId: string; mediumEditorOptions?: CoreOptions; tag?: string | [string, Record]; } export declare const PeText: (({ elementId, mediumEditorOptions, tag: customTag }: TextElementProps) => React.JSX.Element | null) & { original: ({ elementId, mediumEditorOptions, tag: customTag }: TextElementProps) => React.JSX.Element | null; originalName: string; displayName: string; } & { original: (({ elementId, mediumEditorOptions, tag: customTag }: TextElementProps) => React.JSX.Element | null) & { original: ({ elementId, mediumEditorOptions, tag: customTag }: TextElementProps) => React.JSX.Element | null; originalName: string; displayName: string; }; originalName: string; displayName: string; } & { createDecorator: (decorator: import("@webiny/react-composition").ComponentDecorator<(({ elementId, mediumEditorOptions, tag: customTag }: TextElementProps) => React.JSX.Element | null) & { original: ({ elementId, mediumEditorOptions, tag: customTag }: TextElementProps) => React.JSX.Element | null; originalName: string; displayName: string; }>) => (props: unknown) => React.JSX.Element; }; export {};