declare const asymmetricMatcher: unique symbol; type Matcher = { [asymmetricMatcher]: (actual: unknown) => boolean; description: string; }; type FunctionLike = ((...args: never[]) => unknown) & { readonly name: string; }; /** Error classes are matched with `instanceof`, so constructors count too. */ type ErrorClass = abstract new (...args: never[]) => object; export declare const pattern: { any(type: FunctionLike): Matcher; anything(): Matcher; arrayContaining(expected: readonly unknown[]): Matcher; objectContaining(expected: Record): Matcher; stringContaining(expected: string): Matcher; stringMatching(expected: string | RegExp): Matcher; }; export declare function assertMatches(actual: unknown, expected: unknown): void; export declare function assertNotMatches(actual: unknown, expected: unknown): void; export declare function assertMatchObject(actual: unknown, expected: unknown): void; export declare function assertContainEqual(actual: readonly unknown[], expected: unknown): void; export declare function assertTextMatch(actual: string, expected: string | RegExp, message?: string): void; export declare function assertTextNotMatch(actual: string, expected: string | RegExp): void; export declare function assertHasProperty(actual: object, property: PropertyKey, expected?: unknown): void; export declare function assertThrowsLike(fn: () => unknown, expected?: string | RegExp | FunctionLike | ErrorClass | Error): void; export declare function assertRejectsLike(value: Promise | (() => Promise), expected?: string | RegExp | FunctionLike | ErrorClass | Error): Promise; export declare function assertRejectsValue(value: Promise | (() => Promise), expected: unknown): Promise; type MockCall = readonly unknown[] | { arguments: readonly unknown[]; }; type MockLike = { mock?: { calls?: readonly MockCall[]; callCount?: () => number; }; }; export declare function assertCalled(value: MockLike): void; export declare function assertNotCalled(value: MockLike): void; export declare function assertCalledTimes(value: MockLike, expected: number): void; export declare function assertCalledWith(value: MockLike, ...expected: readonly unknown[]): void; export declare function assertNotCalledWith(value: MockLike, ...expected: readonly unknown[]): void; export declare function assertNthCalledWith(value: MockLike, nth: number, ...expected: readonly unknown[]): void; export {};