import { TypedArray } from './types.js'; /** * Compare two typed arrays element by element and return -1, 0, or 1, * depending on whether the first typed array is less than, equal to, or greater than the second one * (similar to the behavior of `String.prototype.localeCompare` for strings) */ export declare function compare(a: T, b: T): -1 | 0 | 1; /** * Check if two typed arrays are equal * * @param a First buffer * @param b Second buffer */ export declare function equal(a: T, b: T): boolean;