import { A11yDialogEvent } from "a11y-dialog";
type PopupShowInput = {
    url: string;
    expectedOrigin: string;
};
type PopupHandlerOptions = {
    width?: string;
    height?: string;
    isClosable?: boolean;
};
export declare class PopupHandler {
    private popup;
    private height;
    private resizeListener;
    constructor({ width, height, isClosable }: PopupHandlerOptions);
    create({ width, height, isClosable }: PopupHandlerOptions): void;
    destroy(): void;
    show({ url, expectedOrigin }: PopupShowInput): void;
    close(): void;
    on(event: A11yDialogEvent, listener: EventListener): void;
}
export {};
