import Clipboard from "clipboard";
/**
* @uiName Copy Button
* @canvasRenderer always-replace
* @exampleGroup Common Components
* @example Fuel Tank Copy Button -
*/
export declare class CopyButton {
/**
* @uiName Hide Button
* @undocumented
*/
ishidden: boolean;
/**
* @uiName Button Text
* @default COPY CODE
*/
text: string;
/**
* @uiName Button Max Width
* @default 170
*/
width: number;
/**
* @uiName Button Color
* @uiWidget color
* @default #35b21e
*/
backgroundcolor: string;
/**
* Define the radius of the corners with a pixel amount.
*
* @uiName Border Radius
* @default 4
*/
borderradius: number;
/**
* @uiName Button Text Color
* @uiWidget color
* @default #ffffff
*/
textcolor: string;
/**
* @uiName Font Size
* @default 14
*/
fontsize: number;
/**
* 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;
/**
* The rewardKey of a fuel tank reward. This is used to get the fuel tank code for a user.
*
* @uiName Reward Key
* @default referredReward
*/
rewardkey: string;
/**
* Font size of the fuel tank code.
*
* @uiName Code Font Size
* @default 14
*/
codefontsize: number;
/**
* @uiName Fuel Tank Code Color
* @uiWidget color
* @default #000000
*/
codefontcolor: string;
fueltankcode: string;
componentWillLoad(): Promise;
onError(e: Error): void;
notify(clipboardNotification: any, notificationText: any): void;
notifySuccess(e: Clipboard.Event): void;
notifyFailure(e: Clipboard.Event): void;
componentDidLoad(): void;
render(): any;
}