import { Assertion, ContractFunction } from '../../model'; import '../Empty'; import '../Undefined'; /** * @author Maciej Chałapuk (maciej@chalapuk.pl) */ export declare class FieldAssertion implements Assertion { private fieldName; constructor(fieldName: string); assert(varName: string, testedValue: T, contract: ContractFunction): import("../../Builder").OperatorBuilder | { readonly success: boolean; readonly message: import("../../model").Message; }; } export declare namespace FieldAssertion { /** * @author Maciej Chałapuk (maciej@chalapuk.pl) */ function factory(args: any[]): FieldAssertion; } export default FieldAssertion;