declare global {
    interface Array<T> {
        distinctByKey<TKey = T>(this: Array<T>, expression?: (item: T, index?: number) => TKey | T): T[];
        distinct<T>(this: Array<T>, compare?: (a: T, b: T) => boolean): T[];
    }
}
export declare function distinctByKey<T, TKey = T>(this: T[], expression?: (item: T, index?: number) => TKey | T): T[];
export declare function distinct<T>(this: T[], compare?: (a: T, b: T) => boolean): T[];
