import React from 'react';
type PopupProps = {
    element: Element;
    initialTextContent: string;
    onValueChange?: (text: string) => string | null;
    onValueSave: (text: string) => Promise<string | undefined>;
    enableDelete: boolean;
    onDelete?: () => void;
    onCancel: () => void;
};
export declare function Popup(props: PopupProps): React.JSX.Element;
export declare function showAndPositionElement(mark: Element, popupRef: React.RefObject<HTMLElement>): void;
export {};
//# sourceMappingURL=Popup.d.ts.map