import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; import Long from "long"; export declare const protobufPackage = "zitadel.user.v2"; export declare enum NotificationType { NOTIFICATION_TYPE_Unspecified = 0, NOTIFICATION_TYPE_Email = 1, NOTIFICATION_TYPE_SMS = 2, UNRECOGNIZED = -1 } export declare function notificationTypeFromJSON(object: any): NotificationType; export declare function notificationTypeToJSON(object: NotificationType): string; export interface Password { password: string; changeRequired: boolean; } export interface HashedPassword { hash: string; changeRequired: boolean; } export interface SendPasswordResetLink { notificationType: NotificationType; /** * Optionally set a url_template, which will be used in the password reset mail sent by ZITADEL to guide the user to your password change page. * If no template is set, the default ZITADEL url will be used. * * The following placeholders can be used: UserID, OrgID, Code */ urlTemplate?: string | undefined; } export interface ReturnPasswordResetCode { } export interface SetPassword { password?: Password | undefined; hashedPassword?: HashedPassword | undefined; currentPassword?: string | undefined; verificationCode?: string | undefined; } export declare const Password: MessageFns; export declare const HashedPassword: MessageFns; export declare const SendPasswordResetLink: MessageFns; export declare const ReturnPasswordResetCode: MessageFns; export declare const SetPassword: 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 {};