import { Long, unknownFieldsSymbol } from "../../../../runtime/protos/index.js"; import type { Dayjs, MessageDescriptor, MessageFns, EnumInstance, EnumClass } from "../../../../runtime/protos/index.js"; import { customJson } from "../../../../runtime/util/logging.js"; import { ChannelCredentials, Client, ClientUnaryCall, ClientOptions, CallOptions, Metadata, ServiceError as GrpcServiceError, handleUnaryCall, UntypedServiceImplementation } from "@grpc/grpc-js"; import type { SDKInterface } from "../../../../sdk.js"; import { Request as SDKRequestClass, type RetryOptions } from "../../../../runtime/request.js"; import { Operation as OperationWrapper } from "../../../../runtime/operation.js"; import { GetByNameRequest, GetOperationRequest, Operation, OperationService, ResourceMetadata } from "../../common/v1/index.js"; /** Represents the `nebius.registry.v1.GetArtifactRequest` protobuf message. */ export interface GetArtifactRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.registry.v1.GetArtifactRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link GetArtifactRequest} messages. */ export declare const GetArtifactRequest: MessageFns; /** Represents the `nebius.registry.v1.ListArtifactsRequest` protobuf message. */ export interface ListArtifactsRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.registry.v1.ListArtifactsRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `parent_id` protobuf field. */ parentId: string; /** Contains the `page_size` protobuf field. */ pageSize: Long; /** Contains the `page_token` protobuf field. */ pageToken: string; /** Contains the `filter` protobuf field. */ filter: string; } /** Encodes, decodes, converts, and creates {@link ListArtifactsRequest} messages. */ export declare const ListArtifactsRequest: MessageFns; /** Represents the `nebius.registry.v1.ListArtifactsResponse` protobuf message. */ export interface ListArtifactsResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.registry.v1.ListArtifactsResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `items` protobuf field. */ items: Artifact[]; /** Contains the `next_page_token` protobuf field. */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListArtifactsResponse} messages. */ export declare const ListArtifactsResponse: MessageFns; /** Represents the `nebius.registry.v1.DeleteArtifactRequest` protobuf message. */ export interface DeleteArtifactRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.registry.v1.DeleteArtifactRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link DeleteArtifactRequest} messages. */ export declare const DeleteArtifactRequest: MessageFns; /** * Defines the gRPC methods for the `nebius.registry.v1.ArtifactService` service. */ export type ArtifactServiceServiceDescription = typeof ArtifactServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.registry.v1.ArtifactService` service. */ export declare const ArtifactServiceServiceDescription: { readonly get: { readonly path: "/nebius.registry.v1.ArtifactService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetArtifactRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetArtifactRequest; readonly responseSerialize: (value: Artifact) => Buffer; readonly responseDeserialize: (value: Buffer) => Artifact; }; readonly list: { readonly path: "/nebius.registry.v1.ArtifactService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListArtifactsRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListArtifactsRequest; readonly responseSerialize: (value: ListArtifactsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListArtifactsResponse; }; readonly delete: { readonly path: "/nebius.registry.v1.ArtifactService/Delete"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: DeleteArtifactRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => DeleteArtifactRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; }; /** * Handles server calls for the `nebius.registry.v1.ArtifactService` service. */ export interface ArtifactServiceServer extends UntypedServiceImplementation { /** * Handles the `Get` RPC. */ get: handleUnaryCall; /** * Handles the `List` RPC. */ list: handleUnaryCall; /** * Handles the `Delete` RPC. */ delete: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.registry.v1.ArtifactService` service. */ export interface ArtifactServiceBaseClient extends Client { /** * Calls the `Get` RPC. */ get(request: GetArtifactRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Artifact) => void): ClientUnaryCall; /** * Calls the `List` RPC. */ list(request: ListArtifactsRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListArtifactsResponse) => void): ClientUnaryCall; /** * Calls the `Delete` RPC. */ delete(request: DeleteArtifactRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.registry.v1.ArtifactService` service. */ export declare const ArtifactServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): ArtifactServiceBaseClient; /** Contains the gRPC service description. */ service: typeof ArtifactServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Calls the `nebius.registry.v1.ArtifactService` service. */ export interface ArtifactService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.registry.v1.ArtifactService"; /** * Calls the `Get` RPC. */ get(request: GetArtifactRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetArtifactRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetArtifactRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListArtifactsRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListArtifactsRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListArtifactsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `Delete` RPC. */ delete(request: DeleteArtifactRequest): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteArtifactRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteArtifactRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** * Calls the `nebius.registry.v1.ArtifactService` service through the Nebius SDK. */ export declare class ArtifactService implements ArtifactService { private sdk; $type: "nebius.registry.v1.ArtifactService"; private addr; private spec; private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** Returns the operation service for this service address. */ getOperationService(): OperationService; /** * Calls the `Get` RPC. */ get(request: GetArtifactRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetArtifactRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetArtifactRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListArtifactsRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListArtifactsRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListArtifactsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `Delete` RPC. */ delete(request: DeleteArtifactRequest): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteArtifactRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteArtifactRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** * Represents the `nebius.registry.v1.Artifact.Status` protobuf enum. */ export type Artifact_Status = EnumInstance<"UNRECOGNIZED" | "STATUS_UNSPECIFIED" | "ACTIVE" | "DELETING">; /** Defines the static values of {@link Artifact_Status}. */ export interface Artifact_StatusValueMembers { /** * Represents the `STATUS_UNSPECIFIED` protobuf enum value. */ readonly STATUS_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "STATUS_UNSPECIFIED" | "ACTIVE" | "DELETING">; /** * Represents the `ACTIVE` protobuf enum value. */ readonly ACTIVE: EnumInstance<"UNRECOGNIZED" | "STATUS_UNSPECIFIED" | "ACTIVE" | "DELETING">; /** * Represents the `DELETING` protobuf enum value. */ readonly DELETING: EnumInstance<"UNRECOGNIZED" | "STATUS_UNSPECIFIED" | "ACTIVE" | "DELETING">; } /** Defines the runtime API for {@link Artifact_Status}. */ export type Artifact_StatusClass = EnumClass<"UNRECOGNIZED" | "STATUS_UNSPECIFIED" | "ACTIVE" | "DELETING"> & Artifact_StatusValueMembers; /** Converts and creates {@link Artifact_Status} values. */ export declare const Artifact_Status: Artifact_StatusClass; /** * Represents the `nebius.registry.v1.Artifact.Type` protobuf enum. */ export type Artifact_Type = EnumInstance<"UNRECOGNIZED" | "BLOB" | "MANIFEST" | "DEB_PACKAGE" | "MANIFEST_LIST" | "RELEASE_INDEX" | "PACKAGE_INDEX" | "GZIPPED_PACKAGE_INDEX">; /** Defines the static values of {@link Artifact_Type}. */ export interface Artifact_TypeValueMembers { /** * Represents the `BLOB` protobuf enum value. */ readonly BLOB: EnumInstance<"UNRECOGNIZED" | "BLOB" | "MANIFEST" | "DEB_PACKAGE" | "MANIFEST_LIST" | "RELEASE_INDEX" | "PACKAGE_INDEX" | "GZIPPED_PACKAGE_INDEX">; /** * Represents the `MANIFEST` protobuf enum value. */ readonly MANIFEST: EnumInstance<"UNRECOGNIZED" | "BLOB" | "MANIFEST" | "DEB_PACKAGE" | "MANIFEST_LIST" | "RELEASE_INDEX" | "PACKAGE_INDEX" | "GZIPPED_PACKAGE_INDEX">; /** * Represents the `DEB_PACKAGE` protobuf enum value. */ readonly DEB_PACKAGE: EnumInstance<"UNRECOGNIZED" | "BLOB" | "MANIFEST" | "DEB_PACKAGE" | "MANIFEST_LIST" | "RELEASE_INDEX" | "PACKAGE_INDEX" | "GZIPPED_PACKAGE_INDEX">; /** * Represents the `MANIFEST_LIST` protobuf enum value. */ readonly MANIFEST_LIST: EnumInstance<"UNRECOGNIZED" | "BLOB" | "MANIFEST" | "DEB_PACKAGE" | "MANIFEST_LIST" | "RELEASE_INDEX" | "PACKAGE_INDEX" | "GZIPPED_PACKAGE_INDEX">; /** * Represents the `RELEASE_INDEX` protobuf enum value. */ readonly RELEASE_INDEX: EnumInstance<"UNRECOGNIZED" | "BLOB" | "MANIFEST" | "DEB_PACKAGE" | "MANIFEST_LIST" | "RELEASE_INDEX" | "PACKAGE_INDEX" | "GZIPPED_PACKAGE_INDEX">; /** * Represents the `PACKAGE_INDEX` protobuf enum value. */ readonly PACKAGE_INDEX: EnumInstance<"UNRECOGNIZED" | "BLOB" | "MANIFEST" | "DEB_PACKAGE" | "MANIFEST_LIST" | "RELEASE_INDEX" | "PACKAGE_INDEX" | "GZIPPED_PACKAGE_INDEX">; /** * Represents the `GZIPPED_PACKAGE_INDEX` protobuf enum value. */ readonly GZIPPED_PACKAGE_INDEX: EnumInstance<"UNRECOGNIZED" | "BLOB" | "MANIFEST" | "DEB_PACKAGE" | "MANIFEST_LIST" | "RELEASE_INDEX" | "PACKAGE_INDEX" | "GZIPPED_PACKAGE_INDEX">; } /** Defines the runtime API for {@link Artifact_Type}. */ export type Artifact_TypeClass = EnumClass<"UNRECOGNIZED" | "BLOB" | "MANIFEST" | "DEB_PACKAGE" | "MANIFEST_LIST" | "RELEASE_INDEX" | "PACKAGE_INDEX" | "GZIPPED_PACKAGE_INDEX"> & Artifact_TypeValueMembers; /** Converts and creates {@link Artifact_Type} values. */ export declare const Artifact_Type: Artifact_TypeClass; /** Represents the `nebius.registry.v1.Artifact` protobuf message. */ export interface Artifact { /** Contains the fully qualified protobuf type name. */ $type: "nebius.registry.v1.Artifact"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; /** Contains the `name` protobuf field. */ name: string; /** Contains the `media_type` protobuf field. */ mediaType: string; /** Contains the `digest` protobuf field. */ digest: string; /** Contains the `size` protobuf field. */ size: Long; /** Contains the `status` protobuf field. */ status: Artifact_Status; /** Contains the `type` protobuf field. */ type: Artifact_Type; /** Contains the `created_at` protobuf field. */ createdAt?: Dayjs | undefined; /** Contains the `updated_at` protobuf field. */ updatedAt?: Dayjs | undefined; /** * List of tags associated with the artifact. Example: ["v1.0", "latest", "stable"]. * */ tags: string[]; } /** Encodes, decodes, converts, and creates {@link Artifact} messages. */ export declare const Artifact: MessageFns; /** Represents the `nebius.registry.v1.GetRegistryRequest` protobuf message. */ export interface GetRegistryRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.registry.v1.GetRegistryRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link GetRegistryRequest} messages. */ export declare const GetRegistryRequest: MessageFns; /** Represents the `nebius.registry.v1.ListRegistriesRequest` protobuf message. */ export interface ListRegistriesRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.registry.v1.ListRegistriesRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `parent_id` protobuf field. */ parentId: string; /** Contains the `page_size` protobuf field. */ pageSize: Long; /** Contains the `page_token` protobuf field. */ pageToken: string; /** Contains the `filter` protobuf field. */ filter: string; } /** Encodes, decodes, converts, and creates {@link ListRegistriesRequest} messages. */ export declare const ListRegistriesRequest: MessageFns; /** Represents the `nebius.registry.v1.ListRegistriesResponse` protobuf message. */ export interface ListRegistriesResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.registry.v1.ListRegistriesResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `items` protobuf field. */ items: Registry[]; /** Contains the `next_page_token` protobuf field. */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListRegistriesResponse} messages. */ export declare const ListRegistriesResponse: MessageFns; /** Represents the `nebius.registry.v1.CreateRegistryRequest` protobuf message. */ export interface CreateRegistryRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.registry.v1.CreateRegistryRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: RegistrySpec | undefined; } /** Encodes, decodes, converts, and creates {@link CreateRegistryRequest} messages. */ export declare const CreateRegistryRequest: MessageFns; /** Represents the `nebius.registry.v1.UpdateRegistryRequest` protobuf message. */ export interface UpdateRegistryRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.registry.v1.UpdateRegistryRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: RegistrySpec | undefined; } /** Encodes, decodes, converts, and creates {@link UpdateRegistryRequest} messages. */ export declare const UpdateRegistryRequest: MessageFns; /** Represents the `nebius.registry.v1.DeleteRegistryRequest` protobuf message. */ export interface DeleteRegistryRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.registry.v1.DeleteRegistryRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link DeleteRegistryRequest} messages. */ export declare const DeleteRegistryRequest: MessageFns; /** * Defines the gRPC methods for the `nebius.registry.v1.RegistryService` service. */ export type RegistryServiceServiceDescription = typeof RegistryServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.registry.v1.RegistryService` service. */ export declare const RegistryServiceServiceDescription: { readonly get: { readonly path: "/nebius.registry.v1.RegistryService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetRegistryRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetRegistryRequest; readonly responseSerialize: (value: Registry) => Buffer; readonly responseDeserialize: (value: Buffer) => Registry; }; readonly getByName: { readonly path: "/nebius.registry.v1.RegistryService/GetByName"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetByNameRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetByNameRequest; readonly responseSerialize: (value: Registry) => Buffer; readonly responseDeserialize: (value: Buffer) => Registry; }; readonly list: { readonly path: "/nebius.registry.v1.RegistryService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListRegistriesRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListRegistriesRequest; readonly responseSerialize: (value: ListRegistriesResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListRegistriesResponse; }; readonly create: { readonly path: "/nebius.registry.v1.RegistryService/Create"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: CreateRegistryRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => CreateRegistryRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly update: { readonly path: "/nebius.registry.v1.RegistryService/Update"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpdateRegistryRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: true; readonly requestDeserialize: (value: Buffer) => UpdateRegistryRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly delete: { readonly path: "/nebius.registry.v1.RegistryService/Delete"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: DeleteRegistryRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => DeleteRegistryRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; }; /** * Handles server calls for the `nebius.registry.v1.RegistryService` service. */ export interface RegistryServiceServer extends UntypedServiceImplementation { /** * Handles the `Get` RPC. */ get: handleUnaryCall; /** * Gets the Registry resource by its parent IAM container `parent_id` and `name` * */ getByName: handleUnaryCall; /** * Handles the `List` RPC. */ list: handleUnaryCall; /** * Handles the `Create` RPC. */ create: handleUnaryCall; /** * Handles the `Update` RPC. */ update: handleUnaryCall; /** * Handles the `Delete` RPC. */ delete: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.registry.v1.RegistryService` service. */ export interface RegistryServiceBaseClient extends Client { /** * Calls the `Get` RPC. */ get(request: GetRegistryRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Registry) => void): ClientUnaryCall; /** * Gets the Registry resource by its parent IAM container `parent_id` and `name` * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Registry) => void): ClientUnaryCall; /** * Calls the `List` RPC. */ list(request: ListRegistriesRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListRegistriesResponse) => void): ClientUnaryCall; /** * Calls the `Create` RPC. */ create(request: CreateRegistryRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Calls the `Update` RPC. */ update(request: UpdateRegistryRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Calls the `Delete` RPC. */ delete(request: DeleteRegistryRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.registry.v1.RegistryService` service. */ export declare const RegistryServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): RegistryServiceBaseClient; /** Contains the gRPC service description. */ service: typeof RegistryServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Calls the `nebius.registry.v1.RegistryService` service. */ export interface RegistryService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.registry.v1.RegistryService"; /** * Calls the `Get` RPC. */ get(request: GetRegistryRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetRegistryRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetRegistryRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Gets the Registry resource by its parent IAM container `parent_id` and `name` * */ getByName(request: GetByNameRequest): SDKRequestClass; /** * Gets the Registry resource by its parent IAM container `parent_id` and `name` * */ getByName(request: GetByNameRequest, metadata: Metadata): SDKRequestClass; /** * Gets the Registry resource by its parent IAM container `parent_id` and `name` * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListRegistriesRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListRegistriesRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListRegistriesRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `Create` RPC. */ create(request: CreateRegistryRequest): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateRegistryRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateRegistryRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateRegistryRequest): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateRegistryRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateRegistryRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteRegistryRequest): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteRegistryRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteRegistryRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** * Calls the `nebius.registry.v1.RegistryService` service through the Nebius SDK. */ export declare class RegistryService implements RegistryService { private sdk; $type: "nebius.registry.v1.RegistryService"; private addr; private spec; private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** Returns the operation service for this service address. */ getOperationService(): OperationService; /** * Calls the `Get` RPC. */ get(request: GetRegistryRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetRegistryRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetRegistryRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Gets the Registry resource by its parent IAM container `parent_id` and `name` * */ getByName(request: GetByNameRequest): SDKRequestClass; /** * Gets the Registry resource by its parent IAM container `parent_id` and `name` * */ getByName(request: GetByNameRequest, metadata: Metadata): SDKRequestClass; /** * Gets the Registry resource by its parent IAM container `parent_id` and `name` * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListRegistriesRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListRegistriesRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListRegistriesRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `Create` RPC. */ create(request: CreateRegistryRequest): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateRegistryRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateRegistryRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateRegistryRequest): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateRegistryRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateRegistryRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteRegistryRequest): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteRegistryRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteRegistryRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** * Represents the `nebius.registry.v1.RegistryStatus.State` protobuf enum. */ export type RegistryStatus_State = EnumInstance<"UNRECOGNIZED" | "CREATING" | "ACTIVE" | "DELETING" | "SUSPENDED">; /** Defines the static values of {@link RegistryStatus_State}. */ export interface RegistryStatus_StateValueMembers { /** * Represents the `CREATING` protobuf enum value. */ readonly CREATING: EnumInstance<"UNRECOGNIZED" | "CREATING" | "ACTIVE" | "DELETING" | "SUSPENDED">; /** * Represents the `ACTIVE` protobuf enum value. */ readonly ACTIVE: EnumInstance<"UNRECOGNIZED" | "CREATING" | "ACTIVE" | "DELETING" | "SUSPENDED">; /** * Represents the `DELETING` protobuf enum value. */ readonly DELETING: EnumInstance<"UNRECOGNIZED" | "CREATING" | "ACTIVE" | "DELETING" | "SUSPENDED">; /** * Represents the `SUSPENDED` protobuf enum value. */ readonly SUSPENDED: EnumInstance<"UNRECOGNIZED" | "CREATING" | "ACTIVE" | "DELETING" | "SUSPENDED">; } /** Defines the runtime API for {@link RegistryStatus_State}. */ export type RegistryStatus_StateClass = EnumClass<"UNRECOGNIZED" | "CREATING" | "ACTIVE" | "DELETING" | "SUSPENDED"> & RegistryStatus_StateValueMembers; /** Converts and creates {@link RegistryStatus_State} values. */ export declare const RegistryStatus_State: RegistryStatus_StateClass; /** Represents the `nebius.registry.v1.Registry` protobuf message. */ export interface Registry { /** Contains the fully qualified protobuf type name. */ $type: "nebius.registry.v1.Registry"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * This is metadata about the resource, such as its id, name, labels, etc. * This contains fields that may be updated both by the end user and the system. * */ metadata?: ResourceMetadata | undefined; /** * This is defined by the user and describes the desired state of system. * Fill this in when creating or updating an object. * */ spec?: RegistrySpec | undefined; /** * This is filled in by the server and reports the current state of the system. * */ status?: RegistryStatus | undefined; } /** Encodes, decodes, converts, and creates {@link Registry} messages. */ export declare const Registry: MessageFns; /** Represents the `nebius.registry.v1.RegistrySpec` protobuf message. */ export interface RegistrySpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.registry.v1.RegistrySpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `description` protobuf field. */ description: string; /** Registry.Type type = 2; */ imagesCount: number; } /** Encodes, decodes, converts, and creates {@link RegistrySpec} messages. */ export declare const RegistrySpec: MessageFns; /** Represents the `nebius.registry.v1.RegistryStatus` protobuf message. */ export interface RegistryStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.registry.v1.RegistryStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `state` protobuf field. */ state: RegistryStatus_State; /** Contains the `images_count` protobuf field. */ imagesCount: number; /** * regional fqdn "cr.eu-north1.nebius.cloud" * */ registryFqdn: string; } /** Encodes, decodes, converts, and creates {@link RegistryStatus} messages. */ export declare const RegistryStatus: MessageFns; //# sourceMappingURL=index.d.ts.map