import _m0 from 'protobufjs/minimal';
export declare const protobufPackage = "yandex.cloud.mdb.clickhouse.v1";
export declare enum FormatSchemaType {
    FORMAT_SCHEMA_TYPE_UNSPECIFIED = 0,
    FORMAT_SCHEMA_TYPE_PROTOBUF = 1,
    FORMAT_SCHEMA_TYPE_CAPNPROTO = 2,
    UNRECOGNIZED = -1
}
export declare function formatSchemaTypeFromJSON(object: any): FormatSchemaType;
export declare function formatSchemaTypeToJSON(object: FormatSchemaType): string;
export interface FormatSchema {
    /** Format schema name. */
    name: string;
    /** ClickHouse cluster ID. */
    clusterId: string;
    /**
     * Schema type. Possible values are the following:
     *
     * * FORMAT_SCHEMA_TYPE_PROTOBUF - [Protobuf](https://protobuf.dev/) data format (including [ProtobufSingle](https://clickhouse.com/docs/en/interfaces/formats#protobufsingle)).
     * * FORMAT_SCHEMA_TYPE_CAPNPROTO - [Cap'n Proto](https://capnproto.org/) data format.
     */
    type: FormatSchemaType;
    /** Link to the file of a format schema in Yandex Object Storage. Managed Service for ClickHouse works only with format schemas imported to Object Storage. */
    uri: string;
}
export declare const FormatSchema: {
    encode(message: FormatSchema, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): FormatSchema;
    fromJSON(object: any): FormatSchema;
    toJSON(message: FormatSchema): unknown;
    fromPartial<I extends {
        name?: string | undefined;
        clusterId?: string | undefined;
        type?: FormatSchemaType | undefined;
        uri?: string | undefined;
    } & {
        name?: string | undefined;
        clusterId?: string | undefined;
        type?: FormatSchemaType | undefined;
        uri?: string | undefined;
    } & Record<Exclude<keyof I, keyof FormatSchema>, never>>(object: I): FormatSchema;
};
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 {};
