import _m0 from 'protobufjs/minimal';
export declare const protobufPackage = "yandex.cloud.mdb.opensearch.v1.config";
export interface OpenSearchConfig2 {
    /** the maximum number of allowed boolean clauses in a query */
    maxClauseCount?: number;
    /** the percentage or absolute value (10%, 512mb) of heap space that is allocated to fielddata */
    fielddataCacheSize: string;
    reindexRemoteWhitelist: string;
}
export interface OpenSearchConfigSet2 {
    effectiveConfig?: OpenSearchConfig2;
    userConfig?: OpenSearchConfig2;
    defaultConfig?: OpenSearchConfig2;
}
export declare const OpenSearchConfig2: {
    encode(message: OpenSearchConfig2, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): OpenSearchConfig2;
    fromJSON(object: any): OpenSearchConfig2;
    toJSON(message: OpenSearchConfig2): unknown;
    fromPartial<I extends {
        maxClauseCount?: number | undefined;
        fielddataCacheSize?: string | undefined;
        reindexRemoteWhitelist?: string | undefined;
    } & {
        maxClauseCount?: number | undefined;
        fielddataCacheSize?: string | undefined;
        reindexRemoteWhitelist?: string | undefined;
    } & Record<Exclude<keyof I, keyof OpenSearchConfig2>, never>>(object: I): OpenSearchConfig2;
};
export declare const OpenSearchConfigSet2: {
    encode(message: OpenSearchConfigSet2, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): OpenSearchConfigSet2;
    fromJSON(object: any): OpenSearchConfigSet2;
    toJSON(message: OpenSearchConfigSet2): unknown;
    fromPartial<I extends {
        effectiveConfig?: {
            maxClauseCount?: number | undefined;
            fielddataCacheSize?: string | undefined;
            reindexRemoteWhitelist?: string | undefined;
        } | undefined;
        userConfig?: {
            maxClauseCount?: number | undefined;
            fielddataCacheSize?: string | undefined;
            reindexRemoteWhitelist?: string | undefined;
        } | undefined;
        defaultConfig?: {
            maxClauseCount?: number | undefined;
            fielddataCacheSize?: string | undefined;
            reindexRemoteWhitelist?: string | undefined;
        } | undefined;
    } & {
        effectiveConfig?: ({
            maxClauseCount?: number | undefined;
            fielddataCacheSize?: string | undefined;
            reindexRemoteWhitelist?: string | undefined;
        } & {
            maxClauseCount?: number | undefined;
            fielddataCacheSize?: string | undefined;
            reindexRemoteWhitelist?: string | undefined;
        } & Record<Exclude<keyof I["effectiveConfig"], keyof OpenSearchConfig2>, never>) | undefined;
        userConfig?: ({
            maxClauseCount?: number | undefined;
            fielddataCacheSize?: string | undefined;
            reindexRemoteWhitelist?: string | undefined;
        } & {
            maxClauseCount?: number | undefined;
            fielddataCacheSize?: string | undefined;
            reindexRemoteWhitelist?: string | undefined;
        } & Record<Exclude<keyof I["userConfig"], keyof OpenSearchConfig2>, never>) | undefined;
        defaultConfig?: ({
            maxClauseCount?: number | undefined;
            fielddataCacheSize?: string | undefined;
            reindexRemoteWhitelist?: string | undefined;
        } & {
            maxClauseCount?: number | undefined;
            fielddataCacheSize?: string | undefined;
            reindexRemoteWhitelist?: string | undefined;
        } & Record<Exclude<keyof I["defaultConfig"], keyof OpenSearchConfig2>, never>) | undefined;
    } & Record<Exclude<keyof I, keyof OpenSearchConfigSet2>, never>>(object: I): OpenSearchConfigSet2;
};
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 {};
