import { ModelTypes } from '../../cache/dbs/index.generated.js'; export declare function comparePasswordAddAttemptAndLockIfNecessary(ctx: Ctx, password: string, hash: string, userOrId: ModelTypes['user'] | string, conf?: { loginRetrialCountResetTimeMinutes?: number; maxPasswordRetry?: number; throwIfError?: boolean; }): Promise;