import React from 'react';
type Decoration = {
    start: number;
    end: number;
    tagName: string;
    properties?: {
        class?: string;
    };
};
export declare const extractPlainAndDecorations: (nodes: unknown) => {
    plain: string;
    decorations: Decoration[];
};
export type HighlightedCodeProps = {
    node: {
        content?: unknown;
        config?: unknown;
    };
    children: React.ReactNode;
    keyProp: string | number;
    ctx: unknown;
    id?: string;
    wrap?: 'pre-code' | 'block';
};
declare const HighlightedCode: React.FC<HighlightedCodeProps>;
export default HighlightedCode;
