/// <reference types="node" />
import _m0 from 'protobufjs/minimal';
export declare const protobufPackage = "yandex.cloud.mdb.elasticsearch.v1";
export interface AuthProviders {
    providers: AuthProvider[];
}
export interface AuthProvider {
    type: AuthProvider_Type;
    name: string;
    order: number;
    enabled: boolean;
    /** selector ui settings */
    hidden: boolean;
    description: string;
    hint: string;
    icon: string;
    saml?: SamlSettings | undefined;
}
export declare enum AuthProvider_Type {
    TYPE_UNSPECIFIED = 0,
    NATIVE = 1,
    /**
     * SAML - OPENID = 3;
     * ANONYMOUS = 4;
     */
    SAML = 2,
    UNRECOGNIZED = -1
}
export declare function authProvider_TypeFromJSON(object: any): AuthProvider_Type;
export declare function authProvider_TypeToJSON(object: AuthProvider_Type): string;
export interface SamlSettings {
    idpEntityId: string;
    idpMetadataFile: Buffer;
    spEntityId: string;
    kibanaUrl: string;
    attributePrincipal: string;
    attributeGroups: string;
    attributeName: string;
    attributeEmail: string;
    attributeDn: string;
}
export declare const AuthProviders: {
    encode(message: AuthProviders, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): AuthProviders;
    fromJSON(object: any): AuthProviders;
    toJSON(message: AuthProviders): unknown;
    fromPartial<I extends {
        providers?: {
            type?: AuthProvider_Type | undefined;
            name?: string | undefined;
            order?: number | undefined;
            enabled?: boolean | undefined;
            hidden?: boolean | undefined;
            description?: string | undefined;
            hint?: string | undefined;
            icon?: string | undefined;
            saml?: {
                idpEntityId?: string | undefined;
                idpMetadataFile?: Buffer | undefined;
                spEntityId?: string | undefined;
                kibanaUrl?: string | undefined;
                attributePrincipal?: string | undefined;
                attributeGroups?: string | undefined;
                attributeName?: string | undefined;
                attributeEmail?: string | undefined;
                attributeDn?: string | undefined;
            } | undefined;
        }[] | undefined;
    } & {
        providers?: ({
            type?: AuthProvider_Type | undefined;
            name?: string | undefined;
            order?: number | undefined;
            enabled?: boolean | undefined;
            hidden?: boolean | undefined;
            description?: string | undefined;
            hint?: string | undefined;
            icon?: string | undefined;
            saml?: {
                idpEntityId?: string | undefined;
                idpMetadataFile?: Buffer | undefined;
                spEntityId?: string | undefined;
                kibanaUrl?: string | undefined;
                attributePrincipal?: string | undefined;
                attributeGroups?: string | undefined;
                attributeName?: string | undefined;
                attributeEmail?: string | undefined;
                attributeDn?: string | undefined;
            } | undefined;
        }[] & ({
            type?: AuthProvider_Type | undefined;
            name?: string | undefined;
            order?: number | undefined;
            enabled?: boolean | undefined;
            hidden?: boolean | undefined;
            description?: string | undefined;
            hint?: string | undefined;
            icon?: string | undefined;
            saml?: {
                idpEntityId?: string | undefined;
                idpMetadataFile?: Buffer | undefined;
                spEntityId?: string | undefined;
                kibanaUrl?: string | undefined;
                attributePrincipal?: string | undefined;
                attributeGroups?: string | undefined;
                attributeName?: string | undefined;
                attributeEmail?: string | undefined;
                attributeDn?: string | undefined;
            } | undefined;
        } & {
            type?: AuthProvider_Type | undefined;
            name?: string | undefined;
            order?: number | undefined;
            enabled?: boolean | undefined;
            hidden?: boolean | undefined;
            description?: string | undefined;
            hint?: string | undefined;
            icon?: string | undefined;
            saml?: ({
                idpEntityId?: string | undefined;
                idpMetadataFile?: Buffer | undefined;
                spEntityId?: string | undefined;
                kibanaUrl?: string | undefined;
                attributePrincipal?: string | undefined;
                attributeGroups?: string | undefined;
                attributeName?: string | undefined;
                attributeEmail?: string | undefined;
                attributeDn?: string | undefined;
            } & {
                idpEntityId?: string | undefined;
                idpMetadataFile?: Buffer | undefined;
                spEntityId?: string | undefined;
                kibanaUrl?: string | undefined;
                attributePrincipal?: string | undefined;
                attributeGroups?: string | undefined;
                attributeName?: string | undefined;
                attributeEmail?: string | undefined;
                attributeDn?: string | undefined;
            } & Record<Exclude<keyof I["providers"][number]["saml"], keyof SamlSettings>, never>) | undefined;
        } & Record<Exclude<keyof I["providers"][number], keyof AuthProvider>, never>)[] & Record<Exclude<keyof I["providers"], keyof {
            type?: AuthProvider_Type | undefined;
            name?: string | undefined;
            order?: number | undefined;
            enabled?: boolean | undefined;
            hidden?: boolean | undefined;
            description?: string | undefined;
            hint?: string | undefined;
            icon?: string | undefined;
            saml?: {
                idpEntityId?: string | undefined;
                idpMetadataFile?: Buffer | undefined;
                spEntityId?: string | undefined;
                kibanaUrl?: string | undefined;
                attributePrincipal?: string | undefined;
                attributeGroups?: string | undefined;
                attributeName?: string | undefined;
                attributeEmail?: string | undefined;
                attributeDn?: string | undefined;
            } | undefined;
        }[]>, never>) | undefined;
    } & Record<Exclude<keyof I, "providers">, never>>(object: I): AuthProviders;
};
export declare const AuthProvider: {
    encode(message: AuthProvider, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): AuthProvider;
    fromJSON(object: any): AuthProvider;
    toJSON(message: AuthProvider): unknown;
    fromPartial<I extends {
        type?: AuthProvider_Type | undefined;
        name?: string | undefined;
        order?: number | undefined;
        enabled?: boolean | undefined;
        hidden?: boolean | undefined;
        description?: string | undefined;
        hint?: string | undefined;
        icon?: string | undefined;
        saml?: {
            idpEntityId?: string | undefined;
            idpMetadataFile?: Buffer | undefined;
            spEntityId?: string | undefined;
            kibanaUrl?: string | undefined;
            attributePrincipal?: string | undefined;
            attributeGroups?: string | undefined;
            attributeName?: string | undefined;
            attributeEmail?: string | undefined;
            attributeDn?: string | undefined;
        } | undefined;
    } & {
        type?: AuthProvider_Type | undefined;
        name?: string | undefined;
        order?: number | undefined;
        enabled?: boolean | undefined;
        hidden?: boolean | undefined;
        description?: string | undefined;
        hint?: string | undefined;
        icon?: string | undefined;
        saml?: ({
            idpEntityId?: string | undefined;
            idpMetadataFile?: Buffer | undefined;
            spEntityId?: string | undefined;
            kibanaUrl?: string | undefined;
            attributePrincipal?: string | undefined;
            attributeGroups?: string | undefined;
            attributeName?: string | undefined;
            attributeEmail?: string | undefined;
            attributeDn?: string | undefined;
        } & {
            idpEntityId?: string | undefined;
            idpMetadataFile?: Buffer | undefined;
            spEntityId?: string | undefined;
            kibanaUrl?: string | undefined;
            attributePrincipal?: string | undefined;
            attributeGroups?: string | undefined;
            attributeName?: string | undefined;
            attributeEmail?: string | undefined;
            attributeDn?: string | undefined;
        } & Record<Exclude<keyof I["saml"], keyof SamlSettings>, never>) | undefined;
    } & Record<Exclude<keyof I, keyof AuthProvider>, never>>(object: I): AuthProvider;
};
export declare const SamlSettings: {
    encode(message: SamlSettings, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): SamlSettings;
    fromJSON(object: any): SamlSettings;
    toJSON(message: SamlSettings): unknown;
    fromPartial<I extends {
        idpEntityId?: string | undefined;
        idpMetadataFile?: Buffer | undefined;
        spEntityId?: string | undefined;
        kibanaUrl?: string | undefined;
        attributePrincipal?: string | undefined;
        attributeGroups?: string | undefined;
        attributeName?: string | undefined;
        attributeEmail?: string | undefined;
        attributeDn?: string | undefined;
    } & {
        idpEntityId?: string | undefined;
        idpMetadataFile?: Buffer | undefined;
        spEntityId?: string | undefined;
        kibanaUrl?: string | undefined;
        attributePrincipal?: string | undefined;
        attributeGroups?: string | undefined;
        attributeName?: string | undefined;
        attributeEmail?: string | undefined;
        attributeDn?: string | undefined;
    } & Record<Exclude<keyof I, keyof SamlSettings>, never>>(object: I): SamlSettings;
};
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
    [K in keyof T]?: DeepPartial<T[K]>;
} : Partial<T>;
type KeysOfUnion<T> = T extends T ? keyof T : never;
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
    [K in keyof P]: Exact<P[K], I[K]>;
} & Record<Exclude<keyof I, KeysOfUnion<P>>, never>;
export {};
