import type { Code } from '../spec';
import type { MdFormatSerialize } from '../serialize/types';
import type { NumberedNode, MyNodeSpec } from './types';
export declare type Attrs = NumberedNode & {
    language: string | null;
    title: string;
    linenumbers: boolean;
};
declare const code_block: MyNodeSpec<Attrs, Code>;
export declare const toMarkdown: MdFormatSerialize;
export declare const toTex: import("../serialize/types").TexFormatSerialize;
export default code_block;
