import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; import Long from "long"; import type { CallContext, CallOptions } from "nice-grpc-common"; import { IDP } from "./idp.js"; export declare const protobufPackage = "zitadel.idp.v2"; export interface GetIDPByIDRequest { id: string; } export interface GetIDPByIDResponse { idp: IDP | undefined; } export declare const GetIDPByIDRequest: MessageFns; export declare const GetIDPByIDResponse: MessageFns; export type IdentityProviderServiceDefinition = typeof IdentityProviderServiceDefinition; export declare const IdentityProviderServiceDefinition: { readonly name: "IdentityProviderService"; readonly fullName: "zitadel.idp.v2.IdentityProviderService"; readonly methods: { /** * Get identity provider (IdP) by ID * * Returns an identity provider (social/enterprise login) by its ID, which can be of the type Google, AzureAD, etc. */ readonly getIDPByID: { readonly name: "GetIDPByID"; readonly requestType: MessageFns; readonly requestStream: false; readonly responseType: MessageFns; readonly responseStream: false; readonly options: { readonly _unknownFields: { readonly 8338: readonly [Buffer]; readonly 400010: readonly [Buffer]; readonly 578365826: readonly [Buffer]; }; }; }; }; }; export interface IdentityProviderServiceImplementation { /** * Get identity provider (IdP) by ID * * Returns an identity provider (social/enterprise login) by its ID, which can be of the type Google, AzureAD, etc. */ getIDPByID(request: GetIDPByIDRequest, context: CallContext & CallContextExt): Promise>; } export interface IdentityProviderServiceClient { /** * Get identity provider (IdP) by ID * * Returns an identity provider (social/enterprise login) by its ID, which can be of the type Google, AzureAD, etc. */ getIDPByID(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; } 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 {};