export declare function useCopyToClipboard(resetDelay?: number): { copied: boolean; error: Error | null; copy: (text: string) => Promise; };