import { type ComponentType, type RefAttributes } from 'react'; import "./styles.css"; export type WithCodeBlockActionsOptions = { /** @default true */ copyButton?: boolean; /** @default false */ lineWrappingButton?: boolean; /** @default '.yfm-clipboard, .yfm-code-floating-container' */ codeBlockSelector?: string; /** Override how text is copied */ getCodeBlockText?: (element: HTMLElement) => string; }; export declare function withCodeBlockActions({ copyButton, lineWrappingButton, codeBlockSelector, getCodeBlockText, }: WithCodeBlockActionsOptions): (Component: ComponentType>) => import("react").ForwardRefExoticComponent & RefAttributes>;