/** Return type for the useClipboard hook */ export interface UseClipboardReturn { /** Copy text to the clipboard */ copy: (text: string) => Promise; /** Whether text was recently copied (resets after timeout) */ copied: boolean; /** Error message if the copy operation failed */ error: string | null; } /** * Provides a `copy` function that writes text to the clipboard * and a `copied` state that auto-resets after the given timeout. * * @param {number} [resetMs=2000] - Duration in ms before `copied` resets to false * @returns {UseClipboardReturn} Copy function, copied state, and error * * @example * const { copy, copied } = useClipboard(3000); * // copied stays true for 3 seconds after copy() */ export declare function useClipboard(resetMs?: number): UseClipboardReturn;