hunk.code_window:     rect: Rect;
       offsetParent: Element;
       strategy: Strategy;
     }) => Promisable<Rect>;
     getOffsetParent?: (element: Element) => Promisable<Element | Window>;
     isElement?: (value: unknown) => Promisable<boolean>;
     getDocumentElement?: (element: Element) => Promisable<HTMLElement>;
     getClientRects?: (element: Element) => Promisable<Array<ClientRectObject>>;
     isRTL?: (element: Element) => Promisable<boolean>;
     getScale?: (element: HTMLElement) => Promisable<{x: number; y: number}>;
  
hunk.labels: keep keep keep keep replace keep keep keep keep keep
hunk.after_edit:   getOffsetParent?: (
       element: Element,
       polyfill?: (element: HTMLElement) => Element | null
     ) => Promisable<Element | Window>;
  
hunk.file_path: packages/dom/src/types.ts
hunk.type: replace
file: import {max as mathMax, min as mathMin} from './math';
  
  export function within(min: number, value: number, max: number): number {
    return mathMax(min, mathMin(value, max));
  }
  