import React from 'react'; import { SocialShareData } from '../models'; import { LayoutDirection, ShareSocialNetwork } from '../constants'; import { ShareListItem } from '../ShareListItem/ShareListItem'; export interface ShareListDefaultProps { /** social networks list */ socialNets: ShareSocialNetwork[]; /** should show copy button */ withCopyLink: boolean; } export interface ShareListProps extends SocialShareData, Partial { /** control css class */ className?: string; /** elements location direction */ direction?: LayoutDirection; /** you can extend available social nets with custom ones using ShareListProps.Item */ children?: React.ReactElement | React.ReactElement[]; } declare type ShareListInnerProps = Omit & Required>; interface ShareListState { copied: boolean; } export declare class ShareList extends React.PureComponent { static defaultProps: ShareListDefaultProps; static Item: typeof ShareListItem; state: ShareListState; private copyLink; componentDidMount(): void; render(): JSX.Element; private renderSocialShareLinks; private renderCopyLink; private copyLinkRef; } export {};