import Clipboard from "clipboard"; /** * @uiName Copy Link Button * @canvasRenderer always-replace * @exampleGroup Common Components * @example Copy Link Button - */ export declare class CopyLinkButton { /** * @undocumented * @uiName Hide Button */ ishidden: boolean; /** * @uiName Button Text * @default Copy */ text: string; /** * Shown when the code is successfully copied to the users clipboard. * * @uiName Copy Success Text * @default copied! */ copysuccess: string; /** * Shown when the button has failed to copy the code to the users clipboard. * * @uiName Copy Failure Text * @default Press Ctrl+C to copy */ copyfailure: string; /** * @uiName Button Color * @uiWidget color * @default #5C6164 */ buttoncolor: string; /** * @uiName Button Text Color * @uiWidget color * @default #FFFFFF */ textcolor: string; sharelink: string; componentWillLoad(): any; onError(e: Error): void; notify(clipboardNotification: any, notificationText: any): void; notifySuccess(e: Clipboard.Event): void; notifyFailure(e: Clipboard.Event): void; componentDidLoad(): void; render(): any; }