/// <reference types="node" />
import { ChannelCredentials, ChannelOptions, UntypedServiceImplementation, handleUnaryCall, Client, ClientUnaryCall, Metadata, CallOptions, ServiceError } from '@grpc/grpc-js';
import _m0 from 'protobufjs/minimal';
import { Duration } from '../../../../google/protobuf/duration';
import { FieldMask } from '../../../../google/protobuf/field_mask';
import { LogGroup } from '../../../../yandex/cloud/logging/v1/log_group';
import { LogGroupResource } from '../../../../yandex/cloud/logging/v1/log_resource';
import { Operation } from '../../../../yandex/cloud/operation/operation';
import { ListAccessBindingsRequest, ListAccessBindingsResponse, SetAccessBindingsRequest, UpdateAccessBindingsRequest } from '../../../../yandex/cloud/access/access';
export declare const protobufPackage = "yandex.cloud.logging.v1";
export interface GetLogGroupRequest {
    /**
     * ID of the log group to return.
     *
     * To get a log group ID make a [LogGroupService.List] request.
     */
    logGroupId: string;
}
export interface GetLogGroupStatsRequest {
    /**
     * ID of the log group to return stats for.
     *
     * To get a log group ID make a [LogGroupService.List] request.
     */
    logGroupId: string;
}
export interface ListLogGroupsRequest {
    /**
     * Folder ID of the log groups to return.
     *
     * To get a folder ID make a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
     */
    folderId: string;
    /**
     * The maximum number of results per page to return. If the number of available
     * results is larger than `page_size`, the service returns a [ListLogGroupsResponse.next_page_token]
     * that can be used to get the next page of results in subsequent list requests.
     *
     * Default value: 100.
     */
    pageSize: number;
    /**
     * Page token. To get the next page of results, set `page_token` to the
     * [ListLogGroupsResponse.next_page_token] returned by a previous list request.
     */
    pageToken: string;
    /**
     * A filter expression that filters log groups listed in the response.
     *
     * The expression must specify:
     * 1. The field name. Currently filtering can only be applied to the [LogGroup.name] field.
     * 2. An `=` operator.
     * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
     * Example of a filter: `name=my-log-group`.
     */
    filter: string;
}
export interface ListLogGroupsResponse {
    /** List of log groups in the specified folder. */
    groups: LogGroup[];
    /**
     * Token for getting the next page of the list. If the number of results is greater than
     * the specified [ListLogGroupsRequest.page_size], use `next_page_token` as the value
     * for the [ListLogGroupsRequest.page_token] parameter in the next list request.
     *
     * Each subsequent page will have its own `next_page_token` to continue paging through the results.
     */
    nextPageToken: string;
}
export interface CreateLogGroupRequest {
    /**
     * ID of the folder to create a log group in.
     *
     * To get a folder ID make a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
     */
    folderId: string;
    /**
     * Name of the log group.
     * The name must be unique within the folder.
     */
    name: string;
    /** Description of the log group. */
    description: string;
    /** Log group labels as `key:value` pairs. */
    labels: {
        [key: string]: string;
    };
    /**
     * Log group entry retention period.
     *
     * Entries will be present in group during this period.
     * If specified, must be non-negative.
     * Empty or zero value is treated as no limit.
     */
    retentionPeriod?: Duration;
    /** If specified, all log records will be written to this data stream */
    dataStream: string;
}
export interface CreateLogGroupRequest_LabelsEntry {
    key: string;
    value: string;
}
export interface CreateLogGroupMetadata {
    /** ID of the log group being created. */
    logGroupId: string;
}
export interface UpdateLogGroupRequest {
    /**
     * ID of the log group to update.
     *
     * To get a log group ID make a [LogGroupService.List] request.
     */
    logGroupId: string;
    /** Field mask that specifies which attributes of the function should be updated. */
    updateMask?: FieldMask;
    /**
     * New name of the log group.
     * The name must be unique within the folder.
     */
    name: string;
    /** New Description of the log group. */
    description: string;
    /** New log group labels as `key:value` pairs. */
    labels: {
        [key: string]: string;
    };
    /**
     * New log group entry retention period.
     *
     * Entries will be present in group during this period.
     * If specified, must be non-negative.
     * Empty or zero value is treated as no limit.
     */
    retentionPeriod?: Duration;
    /** If specified, log records will be written to this data stream */
    dataStream: string;
}
export interface UpdateLogGroupRequest_LabelsEntry {
    key: string;
    value: string;
}
export interface UpdateLogGroupMetadata {
    /** ID of the log group being updated. */
    logGroupId: string;
}
export interface DeleteLogGroupRequest {
    /**
     * ID of the log group to delete.
     *
     * To get a log group ID make a [LogGroupService.List] request.
     */
    logGroupId: string;
}
export interface DeleteLogGroupMetadata {
    /** ID of the log group being deleted. */
    logGroupId: string;
}
export interface ListResourcesRequest {
    /**
     * ID of the log group to list resources for.
     *
     * To get a log group ID make a [LogGroupService.List] request.
     */
    logGroupId: string;
    /**
     * Resource type to return resources for.
     *
     * If not specified, [ListResourcesResponse] will contain information about all resource types.
     */
    type: string;
}
export interface ListResourcesResponse {
    /** List of resources present in log group. */
    resources: LogGroupResource[];
}
export interface ListOperationsRequest {
    /**
     * ID of the log group to list operations for.
     *
     * To get a log group ID make a [LogGroupService.List] request.
     */
    logGroupId: string;
    /**
     * The maximum number of results per page to return. If the number of available
     * results is larger than `page_size`, the service returns a [ListOperationsResponse.next_page_token]
     * that can be used to get the next page of results in subsequent list requests.
     *
     * Default value: 100.
     */
    pageSize: number;
    /**
     * Page token. To get the next page of results, set `page_token` to the
     * [ListOperationsResponse.next_page_token] returned by a previous list request.
     */
    pageToken: string;
    /**
     * A filter expression that filters resources listed in the response.
     *
     * The expression must specify:
     * 1. The field name. Currently filtering can be applied to the [operation.Operation.description], [operation.Operation.created_at], [operation.Operation.modified_at], [operation.Operation.created_by], [operation.Operation.done] fields.
     * 2. An `=` operator.
     * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
     * Examples of a filter: `done=false`, `created_by='John.Doe'`.
     */
    filter: string;
}
export interface ListOperationsResponse {
    /** List of operations for the specified log group. */
    operations: Operation[];
    /**
     * Token for getting the next page of the list. If the number of results is greater than
     * the specified [ListOperationsRequest.page_size], use `next_page_token` as the value
     * for the [ListOperationsRequest.page_token] parameter in the next list request.
     *
     * Each subsequent page will have its own `next_page_token` to continue paging through the results.
     */
    nextPageToken: string;
}
export interface GetLogGroupStatsResponse {
    /** Log group ID the stats are returned for. */
    logGroupId: string;
    /** Size of data in log group in bytes. */
    bytes: number;
    /** Amount of records in log group. */
    records: number;
}
export declare const GetLogGroupRequest: {
    encode(message: GetLogGroupRequest, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): GetLogGroupRequest;
    fromJSON(object: any): GetLogGroupRequest;
    toJSON(message: GetLogGroupRequest): unknown;
    fromPartial<I extends {
        logGroupId?: string | undefined;
    } & {
        logGroupId?: string | undefined;
    } & Record<Exclude<keyof I, "logGroupId">, never>>(object: I): GetLogGroupRequest;
};
export declare const GetLogGroupStatsRequest: {
    encode(message: GetLogGroupStatsRequest, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): GetLogGroupStatsRequest;
    fromJSON(object: any): GetLogGroupStatsRequest;
    toJSON(message: GetLogGroupStatsRequest): unknown;
    fromPartial<I extends {
        logGroupId?: string | undefined;
    } & {
        logGroupId?: string | undefined;
    } & Record<Exclude<keyof I, "logGroupId">, never>>(object: I): GetLogGroupStatsRequest;
};
export declare const ListLogGroupsRequest: {
    encode(message: ListLogGroupsRequest, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): ListLogGroupsRequest;
    fromJSON(object: any): ListLogGroupsRequest;
    toJSON(message: ListLogGroupsRequest): unknown;
    fromPartial<I extends {
        folderId?: string | undefined;
        pageSize?: number | undefined;
        pageToken?: string | undefined;
        filter?: string | undefined;
    } & {
        folderId?: string | undefined;
        pageSize?: number | undefined;
        pageToken?: string | undefined;
        filter?: string | undefined;
    } & Record<Exclude<keyof I, keyof ListLogGroupsRequest>, never>>(object: I): ListLogGroupsRequest;
};
export declare const ListLogGroupsResponse: {
    encode(message: ListLogGroupsResponse, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): ListLogGroupsResponse;
    fromJSON(object: any): ListLogGroupsResponse;
    toJSON(message: ListLogGroupsResponse): unknown;
    fromPartial<I extends {
        groups?: {
            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?: import("../../../../yandex/cloud/logging/v1/log_group").LogGroup_Status | undefined;
            retentionPeriod?: {
                seconds?: number | undefined;
                nanos?: number | undefined;
            } | undefined;
            dataStream?: string | undefined;
        }[] | undefined;
        nextPageToken?: string | undefined;
    } & {
        groups?: ({
            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?: import("../../../../yandex/cloud/logging/v1/log_group").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;
            } | undefined;
            status?: import("../../../../yandex/cloud/logging/v1/log_group").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["groups"][number]["labels"], string | number>, never>) | undefined;
            status?: import("../../../../yandex/cloud/logging/v1/log_group").LogGroup_Status | undefined;
            retentionPeriod?: ({
                seconds?: number | undefined;
                nanos?: number | undefined;
            } & {
                seconds?: number | undefined;
                nanos?: number | undefined;
            } & Record<Exclude<keyof I["groups"][number]["retentionPeriod"], keyof Duration>, never>) | undefined;
            dataStream?: string | undefined;
        } & Record<Exclude<keyof I["groups"][number], keyof LogGroup>, never>)[] & Record<Exclude<keyof I["groups"], keyof {
            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?: import("../../../../yandex/cloud/logging/v1/log_group").LogGroup_Status | undefined;
            retentionPeriod?: {
                seconds?: number | undefined;
                nanos?: number | undefined;
            } | undefined;
            dataStream?: string | undefined;
        }[]>, never>) | undefined;
        nextPageToken?: string | undefined;
    } & Record<Exclude<keyof I, keyof ListLogGroupsResponse>, never>>(object: I): ListLogGroupsResponse;
};
export declare const CreateLogGroupRequest: {
    encode(message: CreateLogGroupRequest, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): CreateLogGroupRequest;
    fromJSON(object: any): CreateLogGroupRequest;
    toJSON(message: CreateLogGroupRequest): unknown;
    fromPartial<I extends {
        folderId?: string | undefined;
        name?: string | undefined;
        description?: string | undefined;
        labels?: {
            [x: string]: string | undefined;
        } | undefined;
        retentionPeriod?: {
            seconds?: number | undefined;
            nanos?: number | undefined;
        } | undefined;
        dataStream?: string | undefined;
    } & {
        folderId?: string | 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;
        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 CreateLogGroupRequest>, never>>(object: I): CreateLogGroupRequest;
};
export declare const CreateLogGroupRequest_LabelsEntry: {
    encode(message: CreateLogGroupRequest_LabelsEntry, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): CreateLogGroupRequest_LabelsEntry;
    fromJSON(object: any): CreateLogGroupRequest_LabelsEntry;
    toJSON(message: CreateLogGroupRequest_LabelsEntry): unknown;
    fromPartial<I extends {
        key?: string | undefined;
        value?: string | undefined;
    } & {
        key?: string | undefined;
        value?: string | undefined;
    } & Record<Exclude<keyof I, keyof CreateLogGroupRequest_LabelsEntry>, never>>(object: I): CreateLogGroupRequest_LabelsEntry;
};
export declare const CreateLogGroupMetadata: {
    encode(message: CreateLogGroupMetadata, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): CreateLogGroupMetadata;
    fromJSON(object: any): CreateLogGroupMetadata;
    toJSON(message: CreateLogGroupMetadata): unknown;
    fromPartial<I extends {
        logGroupId?: string | undefined;
    } & {
        logGroupId?: string | undefined;
    } & Record<Exclude<keyof I, "logGroupId">, never>>(object: I): CreateLogGroupMetadata;
};
export declare const UpdateLogGroupRequest: {
    encode(message: UpdateLogGroupRequest, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): UpdateLogGroupRequest;
    fromJSON(object: any): UpdateLogGroupRequest;
    toJSON(message: UpdateLogGroupRequest): unknown;
    fromPartial<I extends {
        logGroupId?: string | undefined;
        updateMask?: {
            paths?: string[] | undefined;
        } | undefined;
        name?: string | undefined;
        description?: string | undefined;
        labels?: {
            [x: string]: string | undefined;
        } | undefined;
        retentionPeriod?: {
            seconds?: number | undefined;
            nanos?: number | undefined;
        } | undefined;
        dataStream?: string | undefined;
    } & {
        logGroupId?: string | undefined;
        updateMask?: ({
            paths?: string[] | undefined;
        } & {
            paths?: (string[] & string[] & Record<Exclude<keyof I["updateMask"]["paths"], keyof string[]>, never>) | undefined;
        } & Record<Exclude<keyof I["updateMask"], "paths">, never>) | 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;
        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 UpdateLogGroupRequest>, never>>(object: I): UpdateLogGroupRequest;
};
export declare const UpdateLogGroupRequest_LabelsEntry: {
    encode(message: UpdateLogGroupRequest_LabelsEntry, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): UpdateLogGroupRequest_LabelsEntry;
    fromJSON(object: any): UpdateLogGroupRequest_LabelsEntry;
    toJSON(message: UpdateLogGroupRequest_LabelsEntry): unknown;
    fromPartial<I extends {
        key?: string | undefined;
        value?: string | undefined;
    } & {
        key?: string | undefined;
        value?: string | undefined;
    } & Record<Exclude<keyof I, keyof UpdateLogGroupRequest_LabelsEntry>, never>>(object: I): UpdateLogGroupRequest_LabelsEntry;
};
export declare const UpdateLogGroupMetadata: {
    encode(message: UpdateLogGroupMetadata, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): UpdateLogGroupMetadata;
    fromJSON(object: any): UpdateLogGroupMetadata;
    toJSON(message: UpdateLogGroupMetadata): unknown;
    fromPartial<I extends {
        logGroupId?: string | undefined;
    } & {
        logGroupId?: string | undefined;
    } & Record<Exclude<keyof I, "logGroupId">, never>>(object: I): UpdateLogGroupMetadata;
};
export declare const DeleteLogGroupRequest: {
    encode(message: DeleteLogGroupRequest, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): DeleteLogGroupRequest;
    fromJSON(object: any): DeleteLogGroupRequest;
    toJSON(message: DeleteLogGroupRequest): unknown;
    fromPartial<I extends {
        logGroupId?: string | undefined;
    } & {
        logGroupId?: string | undefined;
    } & Record<Exclude<keyof I, "logGroupId">, never>>(object: I): DeleteLogGroupRequest;
};
export declare const DeleteLogGroupMetadata: {
    encode(message: DeleteLogGroupMetadata, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): DeleteLogGroupMetadata;
    fromJSON(object: any): DeleteLogGroupMetadata;
    toJSON(message: DeleteLogGroupMetadata): unknown;
    fromPartial<I extends {
        logGroupId?: string | undefined;
    } & {
        logGroupId?: string | undefined;
    } & Record<Exclude<keyof I, "logGroupId">, never>>(object: I): DeleteLogGroupMetadata;
};
export declare const ListResourcesRequest: {
    encode(message: ListResourcesRequest, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): ListResourcesRequest;
    fromJSON(object: any): ListResourcesRequest;
    toJSON(message: ListResourcesRequest): unknown;
    fromPartial<I extends {
        logGroupId?: string | undefined;
        type?: string | undefined;
    } & {
        logGroupId?: string | undefined;
        type?: string | undefined;
    } & Record<Exclude<keyof I, keyof ListResourcesRequest>, never>>(object: I): ListResourcesRequest;
};
export declare const ListResourcesResponse: {
    encode(message: ListResourcesResponse, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): ListResourcesResponse;
    fromJSON(object: any): ListResourcesResponse;
    toJSON(message: ListResourcesResponse): unknown;
    fromPartial<I extends {
        resources?: {
            type?: string | undefined;
            ids?: string[] | undefined;
        }[] | undefined;
    } & {
        resources?: ({
            type?: string | undefined;
            ids?: string[] | undefined;
        }[] & ({
            type?: string | undefined;
            ids?: string[] | undefined;
        } & {
            type?: string | undefined;
            ids?: (string[] & string[] & Record<Exclude<keyof I["resources"][number]["ids"], keyof string[]>, never>) | undefined;
        } & Record<Exclude<keyof I["resources"][number], keyof LogGroupResource>, never>)[] & Record<Exclude<keyof I["resources"], keyof {
            type?: string | undefined;
            ids?: string[] | undefined;
        }[]>, never>) | undefined;
    } & Record<Exclude<keyof I, "resources">, never>>(object: I): ListResourcesResponse;
};
export declare const ListOperationsRequest: {
    encode(message: ListOperationsRequest, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): ListOperationsRequest;
    fromJSON(object: any): ListOperationsRequest;
    toJSON(message: ListOperationsRequest): unknown;
    fromPartial<I extends {
        logGroupId?: string | undefined;
        pageSize?: number | undefined;
        pageToken?: string | undefined;
        filter?: string | undefined;
    } & {
        logGroupId?: string | undefined;
        pageSize?: number | undefined;
        pageToken?: string | undefined;
        filter?: string | undefined;
    } & Record<Exclude<keyof I, keyof ListOperationsRequest>, never>>(object: I): ListOperationsRequest;
};
export declare const ListOperationsResponse: {
    encode(message: ListOperationsResponse, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): ListOperationsResponse;
    fromJSON(object: any): ListOperationsResponse;
    toJSON(message: ListOperationsResponse): unknown;
    fromPartial<I extends {
        operations?: {
            id?: string | undefined;
            description?: string | undefined;
            createdAt?: Date | undefined;
            createdBy?: string | undefined;
            modifiedAt?: Date | undefined;
            done?: boolean | undefined;
            metadata?: {
                typeUrl?: string | undefined;
                value?: Buffer | undefined;
            } | undefined;
            error?: {
                code?: number | undefined;
                message?: string | undefined;
                details?: {
                    typeUrl?: string | undefined;
                    value?: Buffer | undefined;
                }[] | undefined;
            } | undefined;
            response?: {
                typeUrl?: string | undefined;
                value?: Buffer | undefined;
            } | undefined;
        }[] | undefined;
        nextPageToken?: string | undefined;
    } & {
        operations?: ({
            id?: string | undefined;
            description?: string | undefined;
            createdAt?: Date | undefined;
            createdBy?: string | undefined;
            modifiedAt?: Date | undefined;
            done?: boolean | undefined;
            metadata?: {
                typeUrl?: string | undefined;
                value?: Buffer | undefined;
            } | undefined;
            error?: {
                code?: number | undefined;
                message?: string | undefined;
                details?: {
                    typeUrl?: string | undefined;
                    value?: Buffer | undefined;
                }[] | undefined;
            } | undefined;
            response?: {
                typeUrl?: string | undefined;
                value?: Buffer | undefined;
            } | undefined;
        }[] & ({
            id?: string | undefined;
            description?: string | undefined;
            createdAt?: Date | undefined;
            createdBy?: string | undefined;
            modifiedAt?: Date | undefined;
            done?: boolean | undefined;
            metadata?: {
                typeUrl?: string | undefined;
                value?: Buffer | undefined;
            } | undefined;
            error?: {
                code?: number | undefined;
                message?: string | undefined;
                details?: {
                    typeUrl?: string | undefined;
                    value?: Buffer | undefined;
                }[] | undefined;
            } | undefined;
            response?: {
                typeUrl?: string | undefined;
                value?: Buffer | undefined;
            } | undefined;
        } & {
            id?: string | undefined;
            description?: string | undefined;
            createdAt?: Date | undefined;
            createdBy?: string | undefined;
            modifiedAt?: Date | undefined;
            done?: boolean | undefined;
            metadata?: ({
                typeUrl?: string | undefined;
                value?: Buffer | undefined;
            } & {
                typeUrl?: string | undefined;
                value?: Buffer | undefined;
            } & Record<Exclude<keyof I["operations"][number]["metadata"], keyof import("../../../../google/protobuf/any").Any>, never>) | undefined;
            error?: ({
                code?: number | undefined;
                message?: string | undefined;
                details?: {
                    typeUrl?: string | undefined;
                    value?: Buffer | undefined;
                }[] | undefined;
            } & {
                code?: number | undefined;
                message?: string | undefined;
                details?: ({
                    typeUrl?: string | undefined;
                    value?: Buffer | undefined;
                }[] & ({
                    typeUrl?: string | undefined;
                    value?: Buffer | undefined;
                } & {
                    typeUrl?: string | undefined;
                    value?: Buffer | undefined;
                } & Record<Exclude<keyof I["operations"][number]["error"]["details"][number], keyof import("../../../../google/protobuf/any").Any>, never>)[] & Record<Exclude<keyof I["operations"][number]["error"]["details"], keyof {
                    typeUrl?: string | undefined;
                    value?: Buffer | undefined;
                }[]>, never>) | undefined;
            } & Record<Exclude<keyof I["operations"][number]["error"], keyof import("../../../../google/rpc/status").Status>, never>) | undefined;
            response?: ({
                typeUrl?: string | undefined;
                value?: Buffer | undefined;
            } & {
                typeUrl?: string | undefined;
                value?: Buffer | undefined;
            } & Record<Exclude<keyof I["operations"][number]["response"], keyof import("../../../../google/protobuf/any").Any>, never>) | undefined;
        } & Record<Exclude<keyof I["operations"][number], keyof Operation>, never>)[] & Record<Exclude<keyof I["operations"], keyof {
            id?: string | undefined;
            description?: string | undefined;
            createdAt?: Date | undefined;
            createdBy?: string | undefined;
            modifiedAt?: Date | undefined;
            done?: boolean | undefined;
            metadata?: {
                typeUrl?: string | undefined;
                value?: Buffer | undefined;
            } | undefined;
            error?: {
                code?: number | undefined;
                message?: string | undefined;
                details?: {
                    typeUrl?: string | undefined;
                    value?: Buffer | undefined;
                }[] | undefined;
            } | undefined;
            response?: {
                typeUrl?: string | undefined;
                value?: Buffer | undefined;
            } | undefined;
        }[]>, never>) | undefined;
        nextPageToken?: string | undefined;
    } & Record<Exclude<keyof I, keyof ListOperationsResponse>, never>>(object: I): ListOperationsResponse;
};
export declare const GetLogGroupStatsResponse: {
    encode(message: GetLogGroupStatsResponse, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): GetLogGroupStatsResponse;
    fromJSON(object: any): GetLogGroupStatsResponse;
    toJSON(message: GetLogGroupStatsResponse): unknown;
    fromPartial<I extends {
        logGroupId?: string | undefined;
        bytes?: number | undefined;
        records?: number | undefined;
    } & {
        logGroupId?: string | undefined;
        bytes?: number | undefined;
        records?: number | undefined;
    } & Record<Exclude<keyof I, keyof GetLogGroupStatsResponse>, never>>(object: I): GetLogGroupStatsResponse;
};
/** A set of methods for managing log groups. */
export declare const LogGroupServiceService: {
    /**
     * Returns the specified log group.
     *
     * To get the list of all available log groups, make a [List] request.
     */
    readonly get: {
        readonly path: "/yandex.cloud.logging.v1.LogGroupService/Get";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: GetLogGroupRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => GetLogGroupRequest;
        readonly responseSerialize: (value: LogGroup) => Buffer;
        readonly responseDeserialize: (value: Buffer) => LogGroup;
    };
    /** Returns stats for the specified log group. */
    readonly stats: {
        readonly path: "/yandex.cloud.logging.v1.LogGroupService/Stats";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: GetLogGroupStatsRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => GetLogGroupStatsRequest;
        readonly responseSerialize: (value: GetLogGroupStatsResponse) => Buffer;
        readonly responseDeserialize: (value: Buffer) => GetLogGroupStatsResponse;
    };
    /** Retrieves the list of log groups in the specified folder. */
    readonly list: {
        readonly path: "/yandex.cloud.logging.v1.LogGroupService/List";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: ListLogGroupsRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => ListLogGroupsRequest;
        readonly responseSerialize: (value: ListLogGroupsResponse) => Buffer;
        readonly responseDeserialize: (value: Buffer) => ListLogGroupsResponse;
    };
    /** Creates a log group in the specified folder. */
    readonly create: {
        readonly path: "/yandex.cloud.logging.v1.LogGroupService/Create";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: CreateLogGroupRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => CreateLogGroupRequest;
        readonly responseSerialize: (value: Operation) => Buffer;
        readonly responseDeserialize: (value: Buffer) => Operation;
    };
    /** Updates the specified log group. */
    readonly update: {
        readonly path: "/yandex.cloud.logging.v1.LogGroupService/Update";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: UpdateLogGroupRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => UpdateLogGroupRequest;
        readonly responseSerialize: (value: Operation) => Buffer;
        readonly responseDeserialize: (value: Buffer) => Operation;
    };
    /** Deletes the specified log group. */
    readonly delete: {
        readonly path: "/yandex.cloud.logging.v1.LogGroupService/Delete";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: DeleteLogGroupRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => DeleteLogGroupRequest;
        readonly responseSerialize: (value: Operation) => Buffer;
        readonly responseDeserialize: (value: Buffer) => Operation;
    };
    /** Retrieves the resources (type and IDs) in the specified log group. */
    readonly listResources: {
        readonly path: "/yandex.cloud.logging.v1.LogGroupService/ListResources";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: ListResourcesRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => ListResourcesRequest;
        readonly responseSerialize: (value: ListResourcesResponse) => Buffer;
        readonly responseDeserialize: (value: Buffer) => ListResourcesResponse;
    };
    /** Lists operations for the specified log group. */
    readonly listOperations: {
        readonly path: "/yandex.cloud.logging.v1.LogGroupService/ListOperations";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: ListOperationsRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => ListOperationsRequest;
        readonly responseSerialize: (value: ListOperationsResponse) => Buffer;
        readonly responseDeserialize: (value: Buffer) => ListOperationsResponse;
    };
    /** Lists existing access bindings for the specified log group. */
    readonly listAccessBindings: {
        readonly path: "/yandex.cloud.logging.v1.LogGroupService/ListAccessBindings";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: ListAccessBindingsRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => ListAccessBindingsRequest;
        readonly responseSerialize: (value: ListAccessBindingsResponse) => Buffer;
        readonly responseDeserialize: (value: Buffer) => ListAccessBindingsResponse;
    };
    /** Sets access bindings for the specified log group. */
    readonly setAccessBindings: {
        readonly path: "/yandex.cloud.logging.v1.LogGroupService/SetAccessBindings";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: SetAccessBindingsRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => SetAccessBindingsRequest;
        readonly responseSerialize: (value: Operation) => Buffer;
        readonly responseDeserialize: (value: Buffer) => Operation;
    };
    /** Updates access bindings for the specified log group. */
    readonly updateAccessBindings: {
        readonly path: "/yandex.cloud.logging.v1.LogGroupService/UpdateAccessBindings";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: UpdateAccessBindingsRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => UpdateAccessBindingsRequest;
        readonly responseSerialize: (value: Operation) => Buffer;
        readonly responseDeserialize: (value: Buffer) => Operation;
    };
};
export interface LogGroupServiceServer extends UntypedServiceImplementation {
    /**
     * Returns the specified log group.
     *
     * To get the list of all available log groups, make a [List] request.
     */
    get: handleUnaryCall<GetLogGroupRequest, LogGroup>;
    /** Returns stats for the specified log group. */
    stats: handleUnaryCall<GetLogGroupStatsRequest, GetLogGroupStatsResponse>;
    /** Retrieves the list of log groups in the specified folder. */
    list: handleUnaryCall<ListLogGroupsRequest, ListLogGroupsResponse>;
    /** Creates a log group in the specified folder. */
    create: handleUnaryCall<CreateLogGroupRequest, Operation>;
    /** Updates the specified log group. */
    update: handleUnaryCall<UpdateLogGroupRequest, Operation>;
    /** Deletes the specified log group. */
    delete: handleUnaryCall<DeleteLogGroupRequest, Operation>;
    /** Retrieves the resources (type and IDs) in the specified log group. */
    listResources: handleUnaryCall<ListResourcesRequest, ListResourcesResponse>;
    /** Lists operations for the specified log group. */
    listOperations: handleUnaryCall<ListOperationsRequest, ListOperationsResponse>;
    /** Lists existing access bindings for the specified log group. */
    listAccessBindings: handleUnaryCall<ListAccessBindingsRequest, ListAccessBindingsResponse>;
    /** Sets access bindings for the specified log group. */
    setAccessBindings: handleUnaryCall<SetAccessBindingsRequest, Operation>;
    /** Updates access bindings for the specified log group. */
    updateAccessBindings: handleUnaryCall<UpdateAccessBindingsRequest, Operation>;
}
export interface LogGroupServiceClient extends Client {
    /**
     * Returns the specified log group.
     *
     * To get the list of all available log groups, make a [List] request.
     */
    get(request: GetLogGroupRequest, callback: (error: ServiceError | null, response: LogGroup) => void): ClientUnaryCall;
    get(request: GetLogGroupRequest, metadata: Metadata, callback: (error: ServiceError | null, response: LogGroup) => void): ClientUnaryCall;
    get(request: GetLogGroupRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: LogGroup) => void): ClientUnaryCall;
    /** Returns stats for the specified log group. */
    stats(request: GetLogGroupStatsRequest, callback: (error: ServiceError | null, response: GetLogGroupStatsResponse) => void): ClientUnaryCall;
    stats(request: GetLogGroupStatsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetLogGroupStatsResponse) => void): ClientUnaryCall;
    stats(request: GetLogGroupStatsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetLogGroupStatsResponse) => void): ClientUnaryCall;
    /** Retrieves the list of log groups in the specified folder. */
    list(request: ListLogGroupsRequest, callback: (error: ServiceError | null, response: ListLogGroupsResponse) => void): ClientUnaryCall;
    list(request: ListLogGroupsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListLogGroupsResponse) => void): ClientUnaryCall;
    list(request: ListLogGroupsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: ListLogGroupsResponse) => void): ClientUnaryCall;
    /** Creates a log group in the specified folder. */
    create(request: CreateLogGroupRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    create(request: CreateLogGroupRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    create(request: CreateLogGroupRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    /** Updates the specified log group. */
    update(request: UpdateLogGroupRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    update(request: UpdateLogGroupRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    update(request: UpdateLogGroupRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    /** Deletes the specified log group. */
    delete(request: DeleteLogGroupRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    delete(request: DeleteLogGroupRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    delete(request: DeleteLogGroupRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    /** Retrieves the resources (type and IDs) in the specified log group. */
    listResources(request: ListResourcesRequest, callback: (error: ServiceError | null, response: ListResourcesResponse) => void): ClientUnaryCall;
    listResources(request: ListResourcesRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListResourcesResponse) => void): ClientUnaryCall;
    listResources(request: ListResourcesRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: ListResourcesResponse) => void): ClientUnaryCall;
    /** Lists operations for the specified log group. */
    listOperations(request: ListOperationsRequest, callback: (error: ServiceError | null, response: ListOperationsResponse) => void): ClientUnaryCall;
    listOperations(request: ListOperationsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListOperationsResponse) => void): ClientUnaryCall;
    listOperations(request: ListOperationsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: ListOperationsResponse) => void): ClientUnaryCall;
    /** Lists existing access bindings for the specified log group. */
    listAccessBindings(request: ListAccessBindingsRequest, callback: (error: ServiceError | null, response: ListAccessBindingsResponse) => void): ClientUnaryCall;
    listAccessBindings(request: ListAccessBindingsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListAccessBindingsResponse) => void): ClientUnaryCall;
    listAccessBindings(request: ListAccessBindingsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: ListAccessBindingsResponse) => void): ClientUnaryCall;
    /** Sets access bindings for the specified log group. */
    setAccessBindings(request: SetAccessBindingsRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    setAccessBindings(request: SetAccessBindingsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    setAccessBindings(request: SetAccessBindingsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    /** Updates access bindings for the specified log group. */
    updateAccessBindings(request: UpdateAccessBindingsRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    updateAccessBindings(request: UpdateAccessBindingsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    updateAccessBindings(request: UpdateAccessBindingsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
}
export declare const LogGroupServiceClient: {
    new (address: string, credentials: ChannelCredentials, options?: Partial<ChannelOptions>): LogGroupServiceClient;
    service: typeof LogGroupServiceService;
};
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 {};
