export type Link = {
    url?: string;
    itemId?: string;
    queryString?: string;
    target?: string;
    customTarget?: string;
    type: string;
    targetItemLongId?: string;
    targetItemName?: string;
    originalHref?: string;
    text?: string;
    title?: string;
    nofollow?: boolean;
};
export type LinkDialogPosition = {
    x: number;
    y: number;
};
export declare function LinkEditorDialog({ linkValue, onCancel, onOk, showText, position, }: {
    linkValue: Link;
    onOk: (link: Link) => void;
    onCancel: () => void;
    showText?: boolean;
    position?: LinkDialogPosition;
}): import("react").ReactPortal | null;
