declare function useCopyToClipboard(): readonly [boolean, (text: string) => void]; export default useCopyToClipboard;