import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; import Long from "long"; export declare const protobufPackage = "zitadel.user.v2beta"; export interface LDAPCredentials { username: string; password: string; } export interface RedirectURLs { successUrl: string; failureUrl: string; } export interface IDPIntent { idpIntentId: string; idpIntentToken: string; userId: string; } export interface IDPInformation { oauth?: IDPOAuthAccessInformation | undefined; ldap?: IDPLDAPAccessInformation | undefined; saml?: IDPSAMLAccessInformation | undefined; idpId: string; userId: string; userName: string; rawInformation: { [key: string]: any; } | undefined; } export interface IDPOAuthAccessInformation { accessToken: string; idToken?: string | undefined; } export interface IDPLDAPAccessInformation { attributes: { [key: string]: any; } | undefined; } export interface IDPSAMLAccessInformation { assertion: Buffer; } export interface IDPLink { idpId: string; userId: string; userName: string; } export interface FormData { /** The URL to which the form should be submitted using the POST method. */ url: string; /** * The form fields to be submitted. * Each field is represented as a key-value pair, where the key is the field / input name * and the value is the field / input value. * All fields need to be submitted as is and as input type "text". */ fields: { [key: string]: string; }; } export interface FormData_FieldsEntry { key: string; value: string; } export declare const LDAPCredentials: MessageFns; export declare const RedirectURLs: MessageFns; export declare const IDPIntent: MessageFns; export declare const IDPInformation: MessageFns; export declare const IDPOAuthAccessInformation: MessageFns; export declare const IDPLDAPAccessInformation: MessageFns; export declare const IDPSAMLAccessInformation: MessageFns; export declare const IDPLink: MessageFns; export declare const FormData: MessageFns; export declare const FormData_FieldsEntry: 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 {};