import { AbstractValidator } from "./abstract.validator"; export declare class ValidatorChainBuilder { private _first; private _last; /** * Gets the first validator in the chain * @returns {AbstractValidator} - The first validator in the chain */ build(): AbstractValidator; /** * Creates a new instance of the builder * @Returns {ValidatorChainBuilder} - The builder instance */ static create(): ValidatorChainBuilder; /** * Adds a validator to the beginning of the chain if the chain is empty * Chains the last validator to the new validator * Adds a validator to the end of the chain * @param {AbstractValidator} validator - The validator to add to the chain * @returns {ValidatorChainBuilder} - The builder instance */ with(validator: AbstractValidator): ValidatorChainBuilder; } //# sourceMappingURL=validator.builder.d.ts.map