import { MilkdownPlugin } from '@milkdown/kit/ctx'; /** * Replace Crepe's `image-block` node spec with Platform width/height support. * * Why not `extendSchema()` / prepare-time `ctx.set` alone: * - `extendSchema()` registers a second `$node('image-block')`; load uses `Promise.all` → race. * - Prepare-time factory patch can lose if `$node` already snapshotted, or if slice identity differs. * * Instead we gate Schema on {@link PlatformImageBlockSchemaReady}, wait until Crepe registers * `image-block` in `nodesCtx`, then overwrite that entry before Schema builds. */ export declare const platformImageBlockSchema: MilkdownPlugin;