import { HookAPI } from 'antd/es/modal/useModal';
import { Subject } from 'rxjs';
type ModalEvent<K extends keyof HookAPI> = {
    type: K;
    params: Parameters<HookAPI[K]>[0];
};
export declare const modal$: Subject<ModalEvent<"warning" | "info" | "error" | "success" | "confirm">>;
export declare const download: (rawData: Blob | Uint8Array, fileName: string) => void;
export {};
