import { ModalProps } from './interface'; export type ModalStoreInstance = { getState: () => ModalProps[]; subscribe: (listener: any) => () => void; add: (modalProps: ModalProps) => any; remove: (id: string) => void; clearAll: () => void; }; export declare function createModalStore(): { getState: () => ModalProps[]; subscribe: (listener: any) => () => void; add: (modalProps: ModalProps) => string; remove: (id: ModalProps["id"]) => void; update: (id: ModalProps["id"], modalProps: ModalProps) => void; clearAll: () => void; };