import _m0 from 'protobufjs/minimal'; import { LogLevel_Level } from '../../../../../yandex/cloud/logging/v1/log_entry'; export declare const protobufPackage = "yandex.cloud.serverless.eventrouter.v1"; export interface LogOptions { /** Entry will be written to log group resolved by ID. */ logGroupId: string | undefined; /** Entry will be written to default log group for specified folder. */ folderId: string | undefined; /** * Minimum log entry level. * * See [LogLevel.Level] for details. */ minLevel: LogLevel_Level; /** Service account, which has permission to write to destination */ serviceAccountId: string; } export interface Bus { /** ID of the bus. */ id: string; /** ID of the folder that the bus belongs to. */ folderId: string; /** ID of the cloud that the bus resides in. */ cloudId: string; /** Creation timestamp. */ createdAt?: Date; /** Name of the bus. */ name: string; /** Description of the bus. */ description: string; /** Resource labels as `key:value` pairs. */ labels: { [key: string]: string; }; /** Deletion protection. */ deletionProtection: boolean; /** Status of the bus. */ status: Bus_Status; /** Is logging from the bus enabled. */ loggingEnabled: boolean; /** Options for logging from the bus. */ logOptions?: LogOptions; } export declare enum Bus_Status { STATUS_UNSPECIFIED = 0, CREATING = 1, ACTIVE = 2, DELETING = 3, UNRECOGNIZED = -1 } export declare function bus_StatusFromJSON(object: any): Bus_Status; export declare function bus_StatusToJSON(object: Bus_Status): string; export interface Bus_LabelsEntry { key: string; value: string; } export declare const LogOptions: { encode(message: LogOptions, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): LogOptions; fromJSON(object: any): LogOptions; toJSON(message: LogOptions): unknown; fromPartial, never>>(object: I): LogOptions; }; export declare const Bus: { encode(message: Bus, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Bus; fromJSON(object: any): Bus; toJSON(message: Bus): unknown; fromPartial, never>) | undefined; deletionProtection?: boolean | undefined; status?: Bus_Status | undefined; loggingEnabled?: boolean | undefined; logOptions?: ({ logGroupId?: string | undefined; folderId?: string | undefined; minLevel?: LogLevel_Level | undefined; serviceAccountId?: string | undefined; } & { logGroupId?: string | undefined; folderId?: string | undefined; minLevel?: LogLevel_Level | undefined; serviceAccountId?: string | undefined; } & Record, never>) | undefined; } & Record, never>>(object: I): Bus; }; export declare const Bus_LabelsEntry: { encode(message: Bus_LabelsEntry, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Bus_LabelsEntry; fromJSON(object: any): Bus_LabelsEntry; toJSON(message: Bus_LabelsEntry): unknown; fromPartial, never>>(object: I): Bus_LabelsEntry; }; 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 {};