import * as React from "react"; import { ISheetProps } from "../Sheet"; /** * The shareable object that is used to build urls. */ export interface IShareable { text?: string; url?: string; } export declare enum SocialPlatform { Twitter = "Twitter", Facebook = "Facebook", Instagram = "Instagram", LinkedIn = "LinkedIn" } export declare enum ClientPlatform { Email = "Email", Permalink = "Permalink", Sms = "SMS", Phone = "Phone", Raw = "Raw" } interface IShareProps { sheet: ISheetProps; onShare?: (platform: ClientPlatform | SocialPlatform) => void; title?: string; subtitle?: string; onAction?: () => void; socials?: SocialPlatform[]; clients?: ClientPlatform[]; shareable?: IShareable; imagePrefix?: string; } interface IShareState { copied?: boolean; } export declare class Share extends React.Component { state: IShareState; componentDidMount(): void; render(): JSX.Element; private renderShareableClient; private buildLink; private initTapAndHoldListener; } export {};