import { UserModel } from '../models/user.model';
interface PasswordRecordMeta {
    updatedByUserId?: string;
    updatedByUser?: string;
}
export declare function isCustomerPortalUser(user: UserModel | any): boolean;
export declare function saveCustomerPortalPassword(user: UserModel | any, password: string, meta?: PasswordRecordMeta): Promise<void>;
export declare function clearCustomerPortalPassword(userId: string): Promise<void>;
export declare function getDecryptedCustomerPortalPassword(userId: string): Promise<{
    password: string;
    lastSetAt?: Date;
}>;
export {};
