export type PopupOpener = {
    popupUrl: string;
    popupTitle?: string;
    responseCallback?: (message: MessageEvent) => void;
    onClose?: () => void;
    size?: {
        width: number;
        height: number;
    };
};
export declare const useAuthPopup: () => ((popupConfig: PopupOpener) => Window | null);
