import React from 'react'; import { AnyObject } from '../../types'; import { GalleryCardParams, GalleryCardProps } from '../GalleryCard/types'; export interface WithNavigationProps { axis?: 'x' | 'y'; activeIndex?: number; } declare type GalleryClassNameProps = T & { className?: string; }; export interface GalleryPropsWithChildren { children: React.ReactNode; items?: never; onItemFocus?: never; onItemClick?: never; Component?: never; } export interface GalleryPropsWithComponent { items: GalleryCardParams[]; onItemFocus?: () => void; onItemClick: (val: GalleryCardParams, index: number) => void; Component?: React.ComponentType>; children?: never; } export declare type GalleryProps = GalleryClassNameProps>; export declare type GalleryWithNavigationProps = WithNavigationProps & GalleryProps & React.RefAttributes; export {}; //# sourceMappingURL=types.d.ts.map