import { Command, RawCommands } from '../types.js'; declare module '@sse-editor/core' { interface Commands { command: { /** * Define a command inline. */ command: (fn: (props: Parameters[0]) => boolean) => ReturnType; }; } } export declare const command: RawCommands['command'];