import _m0 from 'protobufjs/minimal'; import { Template } from '../../../../../yandex/cloud/marketplace/licensemanager/v1/template'; import { Lock } from '../../../../../yandex/cloud/marketplace/licensemanager/v1/lock'; export declare const protobufPackage = "yandex.cloud.marketplace.licensemanager.v1"; export interface Instance { /** ID of the subscription instance. */ id: string; /** ID of the cloud that the subscription instance belongs to. */ cloudId: string; /** ID of the folder that the subscription instance belongs to. */ folderId: string; /** ID of the subscription template that was used to create subscription instance. */ templateId: string; /** ID of the version of subscription template. */ templateVersionId: string; /** Description of the subscription instance. */ description: string; /** Timestamp of the start of the subscription. */ startTime?: Date; /** Timestamp of the end of the subscription. */ endTime?: Date; /** Creation timestamp. */ createdAt?: Date; /** Update timestamp. */ updatedAt?: Date; /** Subscription state. */ state: Instance_State; /** List of subscription locks. */ locks: Lock[]; /** Subscription template. */ licenseTemplate?: Template; } export declare enum Instance_State { STATE_UNSPECIFIED = 0, /** PENDING - Subscription created but not active yet. */ PENDING = 1, /** ACTIVE - Subscription is active. */ ACTIVE = 2, /** CANCELLED - Subscription canceled. It is still active, but won't be automatically renewed after the end of the current period. */ CANCELLED = 3, /** EXPIRED - Subscription expired. */ EXPIRED = 4, /** DEPRECATED - Subscription deprecated. */ DEPRECATED = 5, /** DELETED - Subscription deleted. */ DELETED = 6, UNRECOGNIZED = -1 } export declare function instance_StateFromJSON(object: any): Instance_State; export declare function instance_StateToJSON(object: Instance_State): string; export declare const Instance: { encode(message: Instance, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Instance; fromJSON(object: any): Instance; toJSON(message: Instance): unknown; fromPartial, never>)[] & Record, never>) | undefined; licenseTemplate?: ({ id?: string | undefined; versionId?: string | undefined; name?: string | undefined; publisherId?: string | undefined; productId?: string | undefined; tariffId?: string | undefined; licenseSkuId?: string | undefined; period?: string | undefined; createdAt?: Date | undefined; updatedAt?: Date | undefined; state?: import("../../../../../yandex/cloud/marketplace/licensemanager/v1/template").Template_State | undefined; } & { id?: string | undefined; versionId?: string | undefined; name?: string | undefined; publisherId?: string | undefined; productId?: string | undefined; tariffId?: string | undefined; licenseSkuId?: string | undefined; period?: string | undefined; createdAt?: Date | undefined; updatedAt?: Date | undefined; state?: import("../../../../../yandex/cloud/marketplace/licensemanager/v1/template").Template_State | undefined; } & Record, never>) | undefined; } & Record, never>>(object: I): Instance; }; 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 {};