import { type TextwellGeneralOptions, type TextwellRangePayload } from './shared'; /** * Replace range payload definition. */ export type TextwellReplaceRangePayload = TextwellGeneralOptions & TextwellRangePayload & { /** * Text to replace the specified range with. */ text: string; }; /** * Replace a specific range, then select a specific range after replacement. * * @param payload Replace range payload. * @returns Textwell replaceRange URL. * @example * replaceRange({ * replacingLoc: 7, * replacingLen: 5, * text: 'Textwell', * selectingLoc: 0, * selectingLen: 16, * }) * // => 'textwell:///replaceRange?replacingLoc=7&replacingLen=5&text=Textwell&selectingLoc=0&selectingLen=16' * @link https://sociomedia.com/textwell/urlschemes/ */ export declare function replaceRange(payload: TextwellReplaceRangePayload): string;