import { CodeBlockConfig } from './types';
export type { CodeBlockConfig } from './types';
export declare class CodeBlock {
    readonly el: HTMLDivElement;
    private readonly codeBlockId;
    private readonly showLineNumbers;
    private readonly showCopyButton;
    private readonly maxHeight;
    private readonly language;
    private currentCode;
    private editorView;
    private editorContainer;
    private copyBtnEl;
    private copyTimeoutId;
    constructor(config: CodeBlockConfig);
    /** Update the displayed code */
    setCode(code: string): void;
    /** Remove the code block from the DOM and clean up */
    destroy(): void;
    private buildContent;
    private handleCopy;
}
//# sourceMappingURL=index.d.ts.map