export type UseClipboardOptions = { onSuccess?: (text: string) => void; onError?: (error: Error, text: string) => void; };