/** Minimal selected-asset shape exposed to callers that need the asset id. */
export interface SelectedMediaItem {
    id: string;
    storageKey: string;
    filename: string;
    mimeType: string;
    width?: number;
    height?: number;
}
export interface MediaPickerModalProps {
    open: boolean;
    onClose: () => void;
    onSelect: (url: string, alt?: string) => void;
    /**
     * Optional richer callback fired alongside `onSelect` with the full media
     * item, so callers that need to store the asset id (not just the URL) can.
     */
    onSelectItem?: (item: SelectedMediaItem) => void;
    accept?: string;
}
export declare function MediaPickerModal({ open, onClose, onSelect, onSelectItem, accept, }: MediaPickerModalProps): import("react/jsx-runtime").JSX.Element | null;
//# sourceMappingURL=MediaPickerModal.d.ts.map