export interface UseClipboardOptions { /** * Timeout delay (in ms) to switch back to the initial state once copied. */ timeout?: number; /** * Set the desired MIME type. */ format?: string; } /** * React hook to copy content to clipboard with additional features * * @param text - The text or value to copy. * @param optionsOrTimeout - Either a timeout in ms or an object containing options (timeout and format). * @returns Object containing `value`, `onCopy`, `hasCopied`, `error`, and `clipboardPermission`. */ export declare function useClipboard(text: string, optionsOrTimeout?: number | UseClipboardOptions): { value: string; onCopy: () => void; hasCopied: boolean; error: string | null; clipboardPermission: "granted" | "denied" | "prompt" | null; };