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 PasswordComplexitySettings { /** The minimum length a password must have. */ minLength: Long; /** Defines if the password MUST contain an upper case letter. */ requiresUppercase: boolean; /** Defines if the password MUST contain a lowercase letter. */ requiresLowercase: boolean; /** Defines if the password MUST contain a number. */ requiresNumber: boolean; /** Defines if the password MUST contain a symbol or special character. E.g. "$" */ requiresSymbol: boolean; /** * ResourceOwnerType returns if the settings is managed on the organization explicitly or * fell back on the instance settings. */ resourceOwnerType: ResourceOwnerType; } export interface PasswordExpirySettings { /** Amount of days after which a password will expire. The user will be forced to change the password on the following authentication. */ maxAgeDays: Long; /** Amount of days after which the user should be notified of the upcoming expiry. ZITADEL will not notify the user. */ expireWarnDays: Long; /** * ResourceOwnerType returns if the settings is managed on the organization explicitly or * fail back on the instance settings. */ resourceOwnerType: ResourceOwnerType; } export declare const PasswordComplexitySettings: MessageFns; export declare const PasswordExpirySettings: 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 {};