import _m0 from 'protobufjs/minimal';
import { Duration } from '../../../../google/protobuf/duration';
export declare const protobufPackage = "yandex.cloud.logging.v1";
export interface LogGroup {
    /** Log group ID. */
    id: string;
    /** Log group folder ID. */
    folderId: string;
    /** Log group cloud ID. */
    cloudId: string;
    /** Log group creation time. */
    createdAt?: Date;
    /** Log group name. */
    name: string;
    /** Log group description. */
    description: string;
    /** Log group labels. */
    labels: {
        [key: string]: string;
    };
    /** Status of the log group. */
    status: LogGroup_Status;
    /**
     * Log group entry retention period.
     *
     * Entries will be present in group during this period.
     */
    retentionPeriod?: Duration;
    /** Data stream name */
    dataStream: string;
}
/** Possible log group statuses. */
export declare enum LogGroup_Status {
    /**
     * STATUS_UNSPECIFIED - Unknown status.
     *
     * Should never occur.
     */
    STATUS_UNSPECIFIED = 0,
    /** CREATING - Log group is creating. */
    CREATING = 1,
    /** ACTIVE - Log group is ready to accept messages, */
    ACTIVE = 2,
    /**
     * DELETING - Log group is being deleted.
     *
     * No messages will be accepted.
     */
    DELETING = 3,
    /** ERROR - Log group is in failed state. */
    ERROR = 4,
    UNRECOGNIZED = -1
}
export declare function logGroup_StatusFromJSON(object: any): LogGroup_Status;
export declare function logGroup_StatusToJSON(object: LogGroup_Status): string;
export interface LogGroup_LabelsEntry {
    key: string;
    value: string;
}
export declare const LogGroup: {
    encode(message: LogGroup, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): LogGroup;
    fromJSON(object: any): LogGroup;
    toJSON(message: LogGroup): unknown;
    fromPartial<I extends {
        id?: string | undefined;
        folderId?: string | undefined;
        cloudId?: string | undefined;
        createdAt?: Date | undefined;
        name?: string | undefined;
        description?: string | undefined;
        labels?: {
            [x: string]: string | undefined;
        } | undefined;
        status?: LogGroup_Status | undefined;
        retentionPeriod?: {
            seconds?: number | undefined;
            nanos?: number | undefined;
        } | undefined;
        dataStream?: string | undefined;
    } & {
        id?: string | undefined;
        folderId?: string | undefined;
        cloudId?: string | undefined;
        createdAt?: Date | undefined;
        name?: string | undefined;
        description?: string | undefined;
        labels?: ({
            [x: string]: string | undefined;
        } & {
            [x: string]: string | undefined;
        } & Record<Exclude<keyof I["labels"], string | number>, never>) | undefined;
        status?: LogGroup_Status | undefined;
        retentionPeriod?: ({
            seconds?: number | undefined;
            nanos?: number | undefined;
        } & {
            seconds?: number | undefined;
            nanos?: number | undefined;
        } & Record<Exclude<keyof I["retentionPeriod"], keyof Duration>, never>) | undefined;
        dataStream?: string | undefined;
    } & Record<Exclude<keyof I, keyof LogGroup>, never>>(object: I): LogGroup;
};
export declare const LogGroup_LabelsEntry: {
    encode(message: LogGroup_LabelsEntry, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): LogGroup_LabelsEntry;
    fromJSON(object: any): LogGroup_LabelsEntry;
    toJSON(message: LogGroup_LabelsEntry): unknown;
    fromPartial<I extends {
        key?: string | undefined;
        value?: string | undefined;
    } & {
        key?: string | undefined;
        value?: string | undefined;
    } & Record<Exclude<keyof I, keyof LogGroup_LabelsEntry>, never>>(object: I): LogGroup_LabelsEntry;
};
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 {};
