import { IAccount, IPassword } from '../dataSource/models/accountModel'; declare class AccountPasswordController { /** * * @param {Object} account - is account object * @param {string} password - plain text password * @returns {boolean} */ verifyActivePassword(account: IAccount, password: string): Promise; isActivePasswordExpired(account: IAccount): boolean; hasPasswordEntry(account: IAccount, password: string): Promise; getPasswordEntry(account: IAccount, password: string): Promise; getActivePassword(account: IAccount): IPassword | null; getPasswordById(account: IAccount, passwordId: string): IPassword | null; getPassword(accountId: string, passwordId: string): Promise; getPasswords(accountId: string): Promise; savePassword(accountId: string, currentPassword: string, newPassword: string): Promise; deletePassword(accountId: string, passwordId: string): Promise; } declare const _default: AccountPasswordController; export default _default;