import type { ExtensionAuto, ExtensionNodeSpec } from "../../../../core/index.js";
export declare const CodeBlockNodeAttr: {
    readonly Lang: "data-language";
    readonly Markup: "data-markup";
    readonly Line: "data-line";
    readonly ShowLineNumbers: "data-show-line-numbers";
};
export declare const codeBlockNodeName = "code_block";
export declare const codeBlockType: (schema: import("prosemirror-model").Schema) => import("prosemirror-model").NodeType;
export type LineNumbersOptions = {
    /**
     * Allow line numbers in codeblock.
     * Available with @diplodoc/transform v4.55.0 or higher.
     * @default true
     */
    enabled?: boolean;
    /**
     * By default, new code blocks are added with line numbers.
     * @default false
     */
    showByDefault?: boolean;
};
export type CodeBlockSpecsOptions = {
    nodeview?: ExtensionNodeSpec['view'];
    /** Configure line numbers in code block */
    lineNumbers?: LineNumbersOptions;
};
export declare const CodeBlockSpecs: ExtensionAuto<CodeBlockSpecsOptions>;
