import type { BlockEditor } from "./editor.type.js"; /** Register an editor for a block type. Overwrites any existing editor. */ export declare function registerEditor(type: string, editor: BlockEditor): void; /** * Resolve the editor for a block type. * * `html:*` share one editor, so the prefix is matched after an exact lookup * fails. Block types with no editor (hr, widget, router-slot) return * undefined and stay read-only. */ export declare function resolveEditor(type: string): BlockEditor | undefined; /** List all registered editor type names. */ export declare function listEditors(): string[]; /** * Remove a previously registered editor. * Returns `true` if the editor existed, `false` otherwise. */ export declare function unregisterEditor(type: string): boolean; //# sourceMappingURL=registry.d.ts.map