import * as React from 'react';
import { WithAppProviderProps } from '../../components/AppProvider';
import { DisableableAction } from '../../types';
export declare type Width = 'large' | 'fullwidth';
export interface Props {
    /** The URL that will be loaded as the content of the modal */
    src: string;
    /** Whether the modal is open or not */
    open: boolean;
    /** The content for the title of the modal */
    title?: string;
    /** Controls the width of the modal (in pixels) */
    width?: Width;
    /** Controls the height of the modal (in pixels) */
    height?: number;
    /** Primary action for the modal */
    primaryAction?: DisableableAction;
    /** Collection of secondary action for the modal */
    secondaryActions?: DisableableAction[];
    /** Callback when the modal is closed */
    onClose(): void;
}
export declare class Modal extends React.PureComponent<Props & WithAppProviderProps, never> {
    private focusReturnPoint;
    componentDidMount(): void;
    componentDidUpdate({ open: wasOpen }: Props): void;
    render(): null;
    private handleEASDKMessaging;
}
declare const _default: React.ComponentClass<Props> & typeof Modal;
export default _default;
