/** * The options for sequence equal operations including a comparer and abort signal * * @interface SequencEqualOptions * @template T The type of items to compare. */ export interface SequencEqualOptions { /** * The comparer function which returns true if the items are equal, false otherwise. * * @memberof SequencEqualOptions */ comparer?: (first: T, second: T) => boolean; } /** * Determines whether two sequences are equal by comparing the elements pairwise. * * @export * @template T The type of the elements in the source sequence. * @param {Iterable} source First iterable sequence to compare. * @param {Iterable} other Second iterable sequence to compare. * @param {SequencEqualOptions} [options] The sequence equal options which include an optional comparer and optional abort signal. * @returns {boolean} A promise which indicates whether both sequences are of equal length and their * corresponding elements are equal. */ export declare function sequenceEqual(source: Iterable, other: Iterable, options?: SequencEqualOptions): boolean;