interface HasMembersOptions { /** * check for deep equality (ie {a: 1} === {a: 1}) * @default false * @example * hasMembers([{ a: 1 }], [{ a: 1 }], { deep: true }); */ deep?: boolean; /** * use partial matching (ie {a: 1, b: 2} === {a: 1}) * implies deep * @default false * @example * hasMembers([{ a: 1, b: 2 }], [{ a: 1 }], { partial: true }); */ partial?: boolean; /** * check that all the members in the first array are present in the second one * @default false * @example * hasMembers([1, 2], [2, 1], { same: true }); * notHasMembers([1, 2], [1], { same: true}); */ same?: boolean; /** * check that the members in the first array are in the same order as the second one * @default false * @example * hasMembers([1, 2], [1, 2], { ordered: true }); * notHasMembers([1, 2], [2, 1], { ordered: true }); */ ordered?: boolean; } interface HasMembers { /** * check that the members in second array are present in the first one * @example * hasMembers([1], [1]); * hasMembers([1, 2], [2, 1]); * hasMembers([{ a: 1 }], [{ a: 1 }], { deep: true }); */ (actual: T[], expected: T[], options?: HasMembersOptions, message?: string): void; } export declare const hasMembers: HasMembers, notHasMembers: HasMembers; export {}; //# sourceMappingURL=has-members.d.ts.map