import _m0 from 'protobufjs/minimal';
export declare const protobufPackage = "yandex.cloud.marketplace.licensemanager.v1";
export interface Template {
    /** ID of the subscription template. */
    id: string;
    /** Version of the subscription template. */
    versionId: string;
    /** Name of the subscription template. */
    name: string;
    /** ID of publisher. */
    publisherId: string;
    /** ID of product. */
    productId: string;
    /** ID of tariff. */
    tariffId: string;
    /** ID of subscription SKU. */
    licenseSkuId: string;
    /** Subscription period. */
    period: string;
    /** Creation timestamp. */
    createdAt?: Date;
    /** Update timestamp. */
    updatedAt?: Date;
    /** Subscription template state. */
    state: Template_State;
}
export declare enum Template_State {
    STATE_UNSPECIFIED = 0,
    /** PENDING - Subscription template created but not active yet. */
    PENDING = 1,
    /** ACTIVE - Subscription template is active. */
    ACTIVE = 2,
    /** DEPRECATED - Subscription template deprecated. */
    DEPRECATED = 3,
    /** DELETED - Subscription template deleted. */
    DELETED = 4,
    UNRECOGNIZED = -1
}
export declare function template_StateFromJSON(object: any): Template_State;
export declare function template_StateToJSON(object: Template_State): string;
export declare const Template: {
    encode(message: Template, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): Template;
    fromJSON(object: any): Template;
    toJSON(message: Template): unknown;
    fromPartial<I extends {
        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?: 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?: Template_State | undefined;
    } & Record<Exclude<keyof I, keyof Template>, never>>(object: I): Template;
};
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 {};
