import React from 'react';
import type { UIAnalyticsEvent } from '@atlaskit/analytics-next';
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
import type { CardAppearance, ProviderFactory } from '../../../provider-factory';
import type { Command, EditorAppearance, LinkInputType, LinkPickerOptions } from '../../../types';
import type { EditorLinkPickerProps } from '../EditorLinkPicker';
export interface HyperlinkAddToolbarProps extends Pick<EditorLinkPickerProps, 'onCancel' | 'invokeMethod' | 'onClose'> {
    displayText?: string;
    displayUrl?: string;
    editorAppearance?: EditorAppearance;
    inputMethod?: string;
    isOffline?: boolean;
    linkPickerOptions?: LinkPickerOptions;
    lpLinkPicker: boolean;
    onClickAwayCallback?: Command;
    onEscapeCallback?: Command;
    onSubmit: (href: string, title: string | undefined, displayText: string | undefined, inputMethod: LinkInputType, analytic?: UIAnalyticsEvent | null | undefined, appearance?: CardAppearance) => void;
    providerFactory: ProviderFactory;
    recentSearchListSize?: number;
    searchSessionId?: string;
    shouldRenderNoResultsImage?: boolean;
    timesViewed?: number;
    view: EditorView;
}
export declare function HyperlinkAddToolbar({ linkPickerOptions: { popupWidth: _popupWidth, popupHeight: _popupHeight, ...linkPickerOptions }, onSubmit, displayText, displayUrl, providerFactory, view, onCancel, invokeMethod, lpLinkPicker, onClose, onEscapeCallback, onClickAwayCallback, editorAppearance, inputMethod, searchSessionId, timesViewed, isOffline, }: HyperlinkAddToolbarProps): React.JSX.Element;
