import { IPasswordHasher } from "./IPasswordHasher"; import { IValueObject } from "./IValueObject"; import { StringValueObject } from "./StringValueObject"; export type PasswordValueObjectConfig = { min: number; max: number; }; export declare const PasswordValueObjectDefaultConfig: PasswordValueObjectConfig; export declare class PasswordValueObject extends StringValueObject { private _passConfig; private static _hasher; constructor(value: string, _passConfig?: PasswordValueObjectConfig); validate(): Error | void; static setHasher(hasher: IPasswordHasher): void; static fromRaw(pass: string, config?: PasswordValueObjectConfig): Promise; static fromHashed(pass: string, config?: PasswordValueObjectConfig): PasswordValueObject; check(plain: string): Promise; equalTo(o: IValueObject): boolean; } //# sourceMappingURL=PasswordValueObject.d.ts.map