/** * Props for the `CodeSnippet.Copy` slot. * @public */ export interface CodeSnippetCopyProps { /** * Callback fired when the copy action is triggered. */ onCopy?: () => void; } /** * Slot that enables a Copy action inside `CodeSnippet.ActionsMenu`. * @public */ export declare const Copy: (props: CodeSnippetCopyProps) => null; /** * Props for the `CopyInternal` component. */ interface CopyInternalProps { /** * Layout size of the snippet, matched by the button. */ size: 'default' | 'condensed'; /** * The snippet's plain-text content, written to the clipboard. */ copyText: string; /** * Callback fired once the content was successfully copied. */ onCopy?: () => void; } /** * Renders `CodeSnippet.Copy` as a standalone button, with a tooltip that confirms * a successful copy. * @internal */ export declare const CopyInternal: ({ size, copyText, onCopy }: CopyInternalProps) => import("react").JSX.Element; export {}; //# sourceMappingURL=Copy.d.ts.map