import type { Range, RawCommands } from '../types.js';
declare module '../index' {
    interface Commands<ReturnType> {
        setTextSelection: {
            /**
             * Creates a TextSelection.
             * @param position The position of the selection.
             * @example editor.commands.setTextSelection(10)
             */
            setTextSelection: (position: number | Range) => ReturnType;
        };
    }
}
export declare const setTextSelection: RawCommands['setTextSelection'];
//# sourceMappingURL=set-text-selection.d.ts.map