mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-11-02 03:09:09 +08:00
R=jacktfranklin@chromium.org Bug: none Change-Id: I961be18530d3ccbc4efed0c2cda9bd603b14e27b Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3372931 Reviewed-by: Jack Franklin <jacktfranklin@chromium.org> Commit-Queue: Tim Van der Lippe <tvanderlippe@chromium.org>
11 lines
829 B
TypeScript
11 lines
829 B
TypeScript
import type { SpanningCellConfig } from './types/api';
|
|
import type { BaseConfig, CellCoordinates, RangeCoordinate } from './types/internal';
|
|
export declare const sequence: (start: number, end: number) => number[];
|
|
export declare const sumArray: (array: number[]) => number;
|
|
export declare const extractTruncates: (config: BaseConfig) => number[];
|
|
export declare const flatten: <T>(array: T[][]) => T[];
|
|
export declare const findOriginalRowIndex: (mappedRowHeights: number[], mappedRowIndex: number) => number;
|
|
export declare const calculateRangeCoordinate: (spanningCellConfig: SpanningCellConfig) => RangeCoordinate;
|
|
export declare const areCellEqual: (cell1: CellCoordinates, cell2: CellCoordinates) => boolean;
|
|
export declare const isCellInRange: (cell: CellCoordinates, { topLeft, bottomRight }: RangeCoordinate) => boolean;
|