import { assertInstanceOf } from '@blockeditor/global/utils';
import { EditorHost } from '@blockeditor/lit';
export const withHostCommand = (ctx, next) => {
    const host = ctx.std.host;
    assertInstanceOf(host, EditorHost);
    next({ host });
};
//# sourceMappingURL=with-root.js.map