import type { Transaction } from '@atlaskit/editor-prosemirror/state';
export type MediaInsertPluginAction = typeof ACTION_OPEN_POPUP | typeof ACTION_CLOSE_POPUP;
export declare const ACTION_OPEN_POPUP = "OPEN_POPUP";
export declare const ACTION_CLOSE_POPUP = "CLOSE_POPUP";
export declare const showMediaInsertPopup: (tr: Transaction, mountInfo?: {
    mountPoint: HTMLElement;
    ref: HTMLElement;
}) => Transaction;
export declare const closeMediaInsertPicker: (tr: Transaction) => Transaction;
