export default function useCopy(text: string): Promise;