import { ElementType, ReactNode } from 'react'; import { ClipboardOptions } from '@42/core/clipboard'; export interface ClipboardProps extends Partial { /** Element/tag rendered as the controller root. Defaults to `"div"`. */ as?: ElementType; className?: string; children?: ReactNode; /** Fired on `clipboard:copy` — detail: `{ text }` */ onCopy?: (detail: unknown, event: CustomEvent) => void; /** Fired on `clipboard:error` — detail: `{ error }` */ onError?: (detail: unknown, event: CustomEvent) => void; /** Extra props are forwarded to the rendered `
` element. */ [key: string]: unknown; } export declare function Clipboard(props: ClipboardProps): import("react").JSX.Element;