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): <T extends {
    html: string;
}>(Component: ComponentType<T & RefAttributes<HTMLDivElement>>) => import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<T> & RefAttributes<HTMLDivElement>>;
