/** * MediaLibrary Component * * Main modal for browsing, uploading, and selecting media. * Manages state for search, filtering, sorting, selection, and view mode. * * Performance: Stable callbacks with useCallback + functional setState. */ import type { Media } from '../../lib/media/types'; interface MediaLibraryProps { isOpen: boolean; onClose: () => void; onSelect?: (media: Media | Media[]) => void; mode?: 'single' | 'multiple'; allowedTypes?: ('image' | 'video')[]; maxSelections?: number; } export declare function MediaLibrary({ isOpen, onClose, onSelect, mode, allowedTypes, maxSelections, }: MediaLibraryProps): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=MediaLibrary.d.ts.map