Tldraw/packages/indices/api-report.md

884 B

API Report File for "@tldraw/indices"

Do not edit this file. It is a report generated by API Extractor.


// @public
export function getIndexAbove(below: string): string;

// @public
export function getIndexBelow(above: string): string;

// @public
export function getIndexBetween(below: string, above?: string): string;

// @public
export function getIndices(n: number, start?: string): string[];

// @public
export function getIndicesAbove(below: string, n: number): string[];

// @public
export function getIndicesBelow(above: string, n: number): string[];

// @public
export function getIndicesBetween(below: string | undefined, above: string | undefined, n: number): string[];

// @public
export function sortByIndex<T extends {
    index: string;
}>(a: T, b: T): -1 | 0 | 1;

// (No @packageDocumentation comment for this package)