import _m0 from 'protobufjs/minimal';
import { AgentSelector } from '../../../../../../yandex/cloud/loadtesting/api/v1/test/agent_selector';
import { FilePointer } from '../../../../../../yandex/cloud/loadtesting/api/v1/test/file_pointer';
export declare const protobufPackage = "yandex.cloud.loadtesting.api.v1.test";
/** Configuration of a test. */
export interface SingleAgentConfiguration {
    /** ID of the config. */
    configId: string;
    /** Agent selection criterion. */
    agentSelector?: AgentSelector;
    /**
     * Additional files to be used during test execution, represented as `rel_path:file` pairs.
     *
     * `rel_path` can be either a simple file name, a relative path, or absolute path. Files are
     * downloaded by the agent to appropriate location.
     *
     * Use cases include:
     * - [Test Data files](/docs/load-testing/concepts/payload).
     * - Custom Pandora executable.
     * - JMeter executable or ".jmx" scenario.
     * - etc.
     */
    files: {
        [key: string]: FilePointer;
    };
}
export interface SingleAgentConfiguration_FilesEntry {
    key: string;
    value?: FilePointer;
}
export declare const SingleAgentConfiguration: {
    encode(message: SingleAgentConfiguration, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): SingleAgentConfiguration;
    fromJSON(object: any): SingleAgentConfiguration;
    toJSON(message: SingleAgentConfiguration): unknown;
    fromPartial<I extends {
        configId?: string | undefined;
        agentSelector?: {
            agentId?: string | undefined;
            matchByFilter?: string | undefined;
            anonymousAgent?: boolean | undefined;
        } | undefined;
        files?: {
            [x: string]: {
                objectStorage?: {
                    bucket?: string | undefined;
                    name?: string | undefined;
                } | undefined;
            } | undefined;
        } | undefined;
    } & {
        configId?: string | undefined;
        agentSelector?: ({
            agentId?: string | undefined;
            matchByFilter?: string | undefined;
            anonymousAgent?: boolean | undefined;
        } & {
            agentId?: string | undefined;
            matchByFilter?: string | undefined;
            anonymousAgent?: boolean | undefined;
        } & Record<Exclude<keyof I["agentSelector"], keyof AgentSelector>, never>) | undefined;
        files?: ({
            [x: string]: {
                objectStorage?: {
                    bucket?: string | undefined;
                    name?: string | undefined;
                } | undefined;
            } | undefined;
        } & {
            [x: string]: ({
                objectStorage?: {
                    bucket?: string | undefined;
                    name?: string | undefined;
                } | undefined;
            } & {
                objectStorage?: ({
                    bucket?: string | undefined;
                    name?: string | undefined;
                } & {
                    bucket?: string | undefined;
                    name?: string | undefined;
                } & Record<Exclude<keyof I["files"][string]["objectStorage"], keyof import("./object_storage").ObjectStorage>, never>) | undefined;
            } & Record<Exclude<keyof I["files"][string], "objectStorage">, never>) | undefined;
        } & Record<Exclude<keyof I["files"], string | number>, never>) | undefined;
    } & Record<Exclude<keyof I, keyof SingleAgentConfiguration>, never>>(object: I): SingleAgentConfiguration;
};
export declare const SingleAgentConfiguration_FilesEntry: {
    encode(message: SingleAgentConfiguration_FilesEntry, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): SingleAgentConfiguration_FilesEntry;
    fromJSON(object: any): SingleAgentConfiguration_FilesEntry;
    toJSON(message: SingleAgentConfiguration_FilesEntry): unknown;
    fromPartial<I extends {
        key?: string | undefined;
        value?: {
            objectStorage?: {
                bucket?: string | undefined;
                name?: string | undefined;
            } | undefined;
        } | undefined;
    } & {
        key?: string | undefined;
        value?: ({
            objectStorage?: {
                bucket?: string | undefined;
                name?: string | undefined;
            } | undefined;
        } & {
            objectStorage?: ({
                bucket?: string | undefined;
                name?: string | undefined;
            } & {
                bucket?: string | undefined;
                name?: string | undefined;
            } & Record<Exclude<keyof I["value"]["objectStorage"], keyof import("./object_storage").ObjectStorage>, never>) | undefined;
        } & Record<Exclude<keyof I["value"], "objectStorage">, never>) | undefined;
    } & Record<Exclude<keyof I, keyof SingleAgentConfiguration_FilesEntry>, never>>(object: I): SingleAgentConfiguration_FilesEntry;
};
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 {};
