import _m0 from 'protobufjs/minimal'; export declare const protobufPackage = "yandex.cloud.datatransfer.v1.endpoint"; export declare enum YdbCleanupPolicy { YDB_CLEANUP_POLICY_UNSPECIFIED = 0, YDB_CLEANUP_POLICY_DISABLED = 1, YDB_CLEANUP_POLICY_DROP = 2, UNRECOGNIZED = -1 } export declare function ydbCleanupPolicyFromJSON(object: any): YdbCleanupPolicy; export declare function ydbCleanupPolicyToJSON(object: YdbCleanupPolicy): string; export declare enum YdbDefaultCompression { YDB_DEFAULT_COMPRESSION_UNSPECIFIED = 0, YDB_DEFAULT_COMPRESSION_DISABLED = 1, YDB_DEFAULT_COMPRESSION_LZ4 = 2, UNRECOGNIZED = -1 } export declare function ydbDefaultCompressionFromJSON(object: any): YdbDefaultCompression; export declare function ydbDefaultCompressionToJSON(object: YdbDefaultCompression): string; export interface YdbSource { /** Path in YDB where to store tables */ database: string; /** Instance of YDB. example: ydb-ru-prestable.yandex.net:2135 */ instance: string; paths: string[]; serviceAccountId: string; /** Network interface for endpoint. If none will assume public ipv4 */ subnetId: string; /** Authorization Key */ saKeyContent: string; /** Security groups */ securityGroups: string[]; /** Pre-created change feed */ changefeedCustomName: string; changefeedCustomConsumerName: string; } export interface YdbTarget { /** Path in YDB where to store tables */ database: string; /** Instance of YDB. example: ydb-ru-prestable.yandex.net:2135 */ instance: string; /** Path extension for database, each table will be layouted into this path */ path: string; serviceAccountId: string; /** Cleanup policy */ cleanupPolicy: YdbCleanupPolicy; /** Network interface for endpoint. If none will assume public ipv4 */ subnetId: string; /** SA content */ saKeyContent: string; /** Security groups */ securityGroups: string[]; /** * Should create column-oriented table (OLAP). By default it creates row-oriented * (OLTP) */ isTableColumnOriented: boolean; /** Compression that will be used for default columns family on YDB table creation */ defaultCompression: YdbDefaultCompression; } export declare const YdbSource: { encode(message: YdbSource, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): YdbSource; fromJSON(object: any): YdbSource; toJSON(message: YdbSource): unknown; fromPartial, never>) | undefined; serviceAccountId?: string | undefined; subnetId?: string | undefined; saKeyContent?: string | undefined; securityGroups?: (string[] & string[] & Record, never>) | undefined; changefeedCustomName?: string | undefined; changefeedCustomConsumerName?: string | undefined; } & Record, never>>(object: I): YdbSource; }; export declare const YdbTarget: { encode(message: YdbTarget, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): YdbTarget; fromJSON(object: any): YdbTarget; toJSON(message: YdbTarget): unknown; fromPartial, never>) | undefined; isTableColumnOriented?: boolean | undefined; defaultCompression?: YdbDefaultCompression | undefined; } & Record, never>>(object: I): YdbTarget; }; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; type KeysOfUnion = T extends T ? keyof T : never; export type Exact = P extends Builtin ? P : P & { [K in keyof P]: Exact; } & Record>, never>; export {};