export interface State { copied: boolean; error: string | null | unknown; } export declare const useCopy: (str: string) => [State, () => void];