import { TAttachment, TImage } from '../../../..'; export declare const useMediaLibraryModal: (params?: { onConfirm?: ((selectedItems: (TAttachment | TImage)[]) => void) | undefined; initItems?: (TImage | TAttachment)[] | undefined; } | undefined) => { show: () => void; close: () => void; modalProps: { width?: number | undefined; title: string | number | boolean | import('react').ReactElement> | Iterable | null; children?: import('react').ReactNode; footer: string | number | boolean | Iterable | import("react").JSX.Element | null; className?: string | undefined; onCancel: () => void; zIndex?: number | undefined; opacity?: number | undefined; pointerEvents?: "none" | "auto" | undefined; destroyOnHidden: boolean; }; setModalProps: import('react').Dispatch>>; selectedItems: (TImage | TAttachment)[]; setSelectedItems: import('react').Dispatch>; };