export interface IUseCopyProps { errorTips?: string | false; successTips?: false | string; onSuccess?: () => void; onFail?: (e?: any) => void; replaceDefaultHandler?: boolean | { success: boolean; fail: boolean; }; } declare function useCopyText(props?: IUseCopyProps): { copyText: (text: any) => void; }; export default useCopyText;