import { DynamicContentStore, Profile } from "../../../../flex-ui-core/src"; import * as React from "react"; import { ITask } from "../../../../models"; import { TaskContextProps } from "../../../context"; export interface ProfileLinkButtonProps { profileToLink: Profile; taskToLink: ITask; onLinkProfile: (profileConnector: any) => void; } /** * Properties of ProfileLinkButton. * @typedef {ProfileLinkButton.ProfileLinkButtonProps} ProfileLinkButton.ProfileLinkButtonChildrenProps */ export interface ProfileLinkButtonChildrenProps extends TaskContextProps, ProfileLinkButtonProps { } /** * @private * @classdesc This is a container for a [Button](Button) in the SearchViewImpl ProfileCloseContainer to link a profile * to the current task. * @component * @hideconstructor * @param {ProfileLinkButton.ProfileLinkButtonProps} props - Properties to be passed to configure this component. * @category Components / Programmable * @subcategory Components * @example * import {ProfileLinkButton } from "@twilio/flex-ui"; * */ export declare class ProfileLinkButton extends React.PureComponent { static readonly displayName = "ProfileLinkButton"; /** * Dynamic content store * @static * @type {DynamicContentStore} * @readonly * @example * import { ProfileLinkButton } from "@twilio/flex-ui"; * const content = ProfileLinkButton.Content; */ static readonly Content: DynamicContentStore; /** * Default properties * @static * @type {ProfileLinkButton.ProfileLinkButtonProps} * @readonly * @example * import { ProfileLinkButton } from "@twilio/flex-ui"; * const props = ProfileLinkButton.defaultProps; * */ static readonly defaultProps: Partial; static updateAll(): void; render(): JSX.Element; }