import { ConstructorFunction, FunctionName, IMocked, LookupParams, OperatorFunction } from './contracts.js'; /** * Mocks a function on an existing Mock. * Allows function call verification to be performed later in the test. * You can optionally set a mock function implementation that will be called. * * @param functionName * @param mockFunction */ export declare function setupConstructor>(): OperatorFunction; /** * Mocks a function on an existing Mock. * Allows function call verification to be performed later in the test. * You can optionally set a mock function implementation that will be called. * * @param functionName * @param mockFunction */ export declare function setupFunction, U extends FunctionName>(functionName: U, mockFunction?: T[U]): OperatorFunction; /** * Mocks a static function on an existing Mock. * Allows function call verification to be performed later in the test. * You can optionally set a mock function implementation that will be called. * * @param functionName * @param mockFunction */ export declare function setupStaticFunction, U extends FunctionName>(functionName: U, mockFunction?: C[U]): OperatorFunction; /** * Sets up a property on an existing Mock. * Allows the value of the property to be defined. * Enables get and set function call verification to be performed. * * @param propertyName * @param value */ export declare function setupProperty, U extends FunctionName>(propertyName: U, value?: T[U]): OperatorFunction; /** * Sets up a static property on an existing Mock. * Allows the value of the property to be defined. * Enables get and set function call verification to be performed. * * @param propertyName * @param value */ export declare function setupStaticProperty, U extends FunctionName>(propertyName: U, value?: C[U]): OperatorFunction; /** * Sets up a property on an existing Mock. * Allows getter and setter functions to be set. * Enables get and set function call verification to be performed. * * @param propertyName * @param value */ export declare function defineProperty, U extends FunctionName>(propertyName: U, getter?: () => T[U], setter?: (value: T[U]) => void): OperatorFunction; /** * Sets up a static property on an existing Mock with constructor. * Allows getter and setter functions to be set. * Enables get and set function call verification to be performed. * * @param propertyName * @param value */ export declare function defineStaticProperty, U extends FunctionName>(propertyName: U, getter?: () => C[U], setter?: (value: C[U]) => void): OperatorFunction; export declare function trackConstructorCall>(mock: IMocked, params: LookupParams): void;