export declare const useClipboard: () => { copyTextToClipboard: (text: string, onSuccess: () => void, onError: () => void) => Promise; };