import { FunctionSpy } from "../spying"; import { FunctionSpyMatcher } from "./function-spy-matcher"; import { Matcher } from "./matcher"; import { AnyFunction } from "../_interfaces"; export declare class FunctionMatcher extends Matcher { toThrow(): void; toThrowAsync(): Promise; toThrowError(errorType: new (...args: Array) => Error, errorMessage: string): void; toThrowErrorAsync(errorType: new (...args: Array) => Error, errorMessage: string): Promise; toHaveBeenCalled(): FunctionSpyMatcher; toHaveBeenCalledWith(...expectedArguments: Parameters): FunctionSpyMatcher; private _stringifyArguments; private _getError; private _getAsyncError; private _errorMatches; private _callArgumentsMatch; private _isFunctionSpyOrSpiedOnFunction; }