import _m0 from 'protobufjs/minimal';
import { Status } from '../../../../../../yandex/cloud/loadtesting/api/v1/agent/status';
import { LogSettings } from '../../../../../../yandex/cloud/loadtesting/api/v1/agent/log_settings';
export declare const protobufPackage = "yandex.cloud.loadtesting.api.v1.agent";
/** Load testing agent on which tests are executed. */
export interface Agent {
    /** ID of the agent. Generated at creation time. */
    id: string;
    /** ID of the folder that the agent belongs to. */
    folderId: string;
    /** Name of the agent. */
    name: string;
    /** Description of the agent. */
    description: string;
    /**
     * ID of the compute instance managed by the agent.
     *
     * Empty if there is no such instance (i.e. the case of external agent).
     */
    computeInstanceId: string;
    /** Status of the agent. */
    status: Status;
    /** List of errors reported by the agent. */
    errors: string[];
    /** ID of the test that is currently being executed by the agent. */
    currentJobId: string;
    /** Version of the agent. */
    agentVersionId: string;
    /** Agent labels as `key:value` pairs. */
    labels: {
        [key: string]: string;
    };
    /** Agent log settings */
    logSettings?: LogSettings;
}
export interface Agent_LabelsEntry {
    key: string;
    value: string;
}
export declare const Agent: {
    encode(message: Agent, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): Agent;
    fromJSON(object: any): Agent;
    toJSON(message: Agent): unknown;
    fromPartial<I extends {
        id?: string | undefined;
        folderId?: string | undefined;
        name?: string | undefined;
        description?: string | undefined;
        computeInstanceId?: string | undefined;
        status?: Status | undefined;
        errors?: string[] | undefined;
        currentJobId?: string | undefined;
        agentVersionId?: string | undefined;
        labels?: {
            [x: string]: string | undefined;
        } | undefined;
        logSettings?: {
            cloudLogGroupId?: string | undefined;
        } | undefined;
    } & {
        id?: string | undefined;
        folderId?: string | undefined;
        name?: string | undefined;
        description?: string | undefined;
        computeInstanceId?: string | undefined;
        status?: Status | undefined;
        errors?: (string[] & string[] & Record<Exclude<keyof I["errors"], keyof string[]>, never>) | undefined;
        currentJobId?: string | undefined;
        agentVersionId?: string | undefined;
        labels?: ({
            [x: string]: string | undefined;
        } & {
            [x: string]: string | undefined;
        } & Record<Exclude<keyof I["labels"], string | number>, never>) | undefined;
        logSettings?: ({
            cloudLogGroupId?: string | undefined;
        } & {
            cloudLogGroupId?: string | undefined;
        } & Record<Exclude<keyof I["logSettings"], "cloudLogGroupId">, never>) | undefined;
    } & Record<Exclude<keyof I, keyof Agent>, never>>(object: I): Agent;
};
export declare const Agent_LabelsEntry: {
    encode(message: Agent_LabelsEntry, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): Agent_LabelsEntry;
    fromJSON(object: any): Agent_LabelsEntry;
    toJSON(message: Agent_LabelsEntry): unknown;
    fromPartial<I extends {
        key?: string | undefined;
        value?: string | undefined;
    } & {
        key?: string | undefined;
        value?: string | undefined;
    } & Record<Exclude<keyof I, keyof Agent_LabelsEntry>, never>>(object: I): Agent_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 {};
