import type { LexicalEditor } from 'lexical';
import type { CodePluginOptions } from '../types';
/**
 * Register code block support with syntax highlighting.
 * Wraps @lexical/code functionality.
 */
export declare function registerCodePlugin(editor: LexicalEditor, _options?: CodePluginOptions): Promise<() => void>;
