import type { Attrs, NodeType } from 'prosekit/pm/model'; import type { Command } from 'prosekit/pm/state'; /** * Returns a command that wraps the selected text block with the given node type * with the given attributes. * * @public */ export declare function wrap({ nodeType, attrs, }: { nodeType: NodeType; attrs?: Attrs | null; }): Command;