/** * Insert a table node with the given number of rows and columns, and optionally * a header row. * * @public */ /** * Turn the selected text into a span component. Add attrs with: * `toggleSpanComponent({id: 'id', class: 'my-class', style: 'color: red;'})` * * @public */ /** * Insert a table node with the given number of rows and columns, and optionally * a header row. * * @public */ export declare function insertBindingComponent({ value, defaultValue, }: { value: string; defaultValue?: string; }): (state: any, dispatch: any, view: any) => boolean; /** * Adds commands for working with `textComponent` nodes. * * @public */ export declare function defineTextComponentCommands(): import("@prosekit/core").Extension<{ Commands: { insertBindingComponent: [{ value: string; defaultValue?: string; }]; }; Nodes: never; Marks: never; }>;