//#region src/hooks/useNumberInput/utils/repositionCursor.d.ts
type RepositionCursorProps = {
  selectionStart?: number | null | undefined;
  value: string;
  lastKeyStroke: string | null | undefined;
  stateValue?: string | undefined;
  groupSeparator?: string | undefined;
};
/**
 * Based on the last key stroke and the cursor position, update the value
 * and reposition the cursor to the right place
 */
declare const repositionCursor: ({
  selectionStart,
  value,
  lastKeyStroke,
  stateValue,
  groupSeparator
}: RepositionCursorProps) => {
  modifiedValue: string;
  cursorPosition: number | null | undefined;
};
//#endregion
export { repositionCursor };