import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; import Long from "long"; import { ResourceOwnerType } from "./settings.js"; export declare const protobufPackage = "zitadel.settings.v2"; export interface LockoutSettings { /** * The amount of failed password attempts before the account gets locked. * Attempts are reset as soon as the password is entered correctly or the password is reset. * If set to 0 the account will never be locked. */ maxPasswordAttempts: Long; /** * ResourceOwnerType returns if the settings is managed on the organization explicitly or * fell back on the instance settings. */ resourceOwnerType: ResourceOwnerType; /** * THe amount of failed OTP (TOTP, SMS, Email) attempts before the account gets locked. * Attempts are reset as soon as the OTP is entered correctly. * If set to 0 the account will never be locked. */ maxOtpAttempts: Long; } export declare const LockoutSettings: MessageFns; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends Long ? string | number | Long : T extends globalThis.Array ? globalThis.Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; export interface MessageFns { encode(message: T, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): T; fromJSON(object: any): T; toJSON(message: T): unknown; create(base?: DeepPartial): T; fromPartial(object: DeepPartial): T; } export {};