export declare function comparePasswords(oldPassword: string, password: string, getError?: () => unknown): Promise;