// Type definitions for buffer-compare // Project: https://github.com/soldair/node-buffer-compare // Definitions by: Ilya Mochalov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped interface List { [index: number]: any; length: number } declare function compare(cmp: List, to: List): number; declare function compare(cmp: T, to: T): number; declare function compare(cmp: C, to: T): number; export = compare;