import { FocusPosition, RawCommands } from '../types.js'; declare module '@sse-editor/core' { interface Commands { focus: { /** * Focus the editor at the given position. */ focus: (position?: FocusPosition, options?: { scrollIntoView?: boolean; }) => ReturnType; }; } } export declare const focus: RawCommands['focus'];