import type { ReactElement } from 'react'; import React, { PureComponent } from 'react'; import type { CardEvent } from '@atlaskit/media-card'; import type { EventHandlers, CardEventClickHandler } from '@atlaskit/editor-common/ui'; import type { Identifier } from '@atlaskit/media-client'; import type { MediaProps } from './media'; import type { MediaFeatureFlags } from '@atlaskit/media-common'; export interface MediaGroupProps { children?: React.ReactNode; enableDownloadButton?: boolean; eventHandlers?: EventHandlers; featureFlags?: MediaFeatureFlags; } interface MediaGroupState { animate: boolean; offset: number; } export default class MediaGroup extends PureComponent { state: MediaGroupState; private handleSize; private handleScroll; render(): React.JSX.Element; renderSingleFile(child: ReactElement): ReactElement>; renderSingleLink(child: ReactElement): ReactElement>; onMediaClick: (cardClickHandler: CardEventClickHandler, child: ReactElement, surroundingItems: Identifier[]) => (event: CardEvent, analyticsEvent?: any) => void; cloneFileCard(child: ReactElement, surroundingItems: Identifier[]): ReactElement>; renderStrip(): React.JSX.Element; private mapMediaPropsToIdentifier; } export {};