import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
import type { IBinaryWriter } from "@protobuf-ts/runtime";
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
import type { IBinaryReader } from "@protobuf-ts/runtime";
import type { PartialMessage } from "@protobuf-ts/runtime";
import { MessageType } from "@protobuf-ts/runtime";
/**
 * @generated from protobuf message nimi.runtime.v1.LocalEngineDescriptor
 */
export interface LocalEngineDescriptor {
    /**
     * @generated from protobuf field: string engine = 1
     */
    engine: string;
    /**
     * @generated from protobuf field: string version = 2
     */
    version: string;
    /**
     * @generated from protobuf field: string endpoint = 3
     */
    endpoint: string;
    /**
     * @generated from protobuf field: int32 port = 4
     */
    port: number;
    /**
     * @generated from protobuf field: nimi.runtime.v1.LocalEngineStatus status = 5
     */
    status: LocalEngineStatus;
    /**
     * @generated from protobuf field: int32 pid = 6
     */
    pid: number;
    /**
     * @generated from protobuf field: string platform = 7
     */
    platform: string;
    /**
     * @generated from protobuf field: int64 binary_size_bytes = 8
     */
    binarySizeBytes: string;
    /**
     * @generated from protobuf field: string started_at = 9
     */
    startedAt: string;
    /**
     * @generated from protobuf field: string last_healthy_at = 10
     */
    lastHealthyAt: string;
    /**
     * @generated from protobuf field: int32 consecutive_failures = 11
     */
    consecutiveFailures: number;
    /**
     * @generated from protobuf field: string binary_path = 12
     */
    binaryPath: string;
}
/**
 * @generated from protobuf message nimi.runtime.v1.ListEnginesRequest
 */
export interface ListEnginesRequest {
}
/**
 * @generated from protobuf message nimi.runtime.v1.ListEnginesResponse
 */
export interface ListEnginesResponse {
    /**
     * @generated from protobuf field: repeated nimi.runtime.v1.LocalEngineDescriptor engines = 1
     */
    engines: LocalEngineDescriptor[];
}
/**
 * @generated from protobuf message nimi.runtime.v1.EnsureEngineRequest
 */
export interface EnsureEngineRequest {
    /**
     * @generated from protobuf field: string engine = 1
     */
    engine: string;
    /**
     * @generated from protobuf field: string version = 2
     */
    version: string;
}
/**
 * @generated from protobuf message nimi.runtime.v1.EnsureEngineResponse
 */
export interface EnsureEngineResponse {
    /**
     * @generated from protobuf field: nimi.runtime.v1.LocalEngineDescriptor engine = 1
     */
    engine?: LocalEngineDescriptor;
}
/**
 * @generated from protobuf message nimi.runtime.v1.StartEngineRequest
 */
export interface StartEngineRequest {
    /**
     * @generated from protobuf field: string engine = 1
     */
    engine: string;
    /**
     * @generated from protobuf field: int32 port = 2
     */
    port: number;
    /**
     * @generated from protobuf field: string version = 3
     */
    version: string;
}
/**
 * @generated from protobuf message nimi.runtime.v1.StartEngineResponse
 */
export interface StartEngineResponse {
    /**
     * @generated from protobuf field: nimi.runtime.v1.LocalEngineDescriptor engine = 1
     */
    engine?: LocalEngineDescriptor;
}
/**
 * @generated from protobuf message nimi.runtime.v1.StopEngineRequest
 */
export interface StopEngineRequest {
    /**
     * @generated from protobuf field: string engine = 1
     */
    engine: string;
}
/**
 * @generated from protobuf message nimi.runtime.v1.StopEngineResponse
 */
export interface StopEngineResponse {
    /**
     * @generated from protobuf field: nimi.runtime.v1.LocalEngineDescriptor engine = 1
     */
    engine?: LocalEngineDescriptor;
}
/**
 * @generated from protobuf message nimi.runtime.v1.GetEngineStatusRequest
 */
export interface GetEngineStatusRequest {
    /**
     * @generated from protobuf field: string engine = 1
     */
    engine: string;
}
/**
 * @generated from protobuf message nimi.runtime.v1.GetEngineStatusResponse
 */
export interface GetEngineStatusResponse {
    /**
     * @generated from protobuf field: nimi.runtime.v1.LocalEngineDescriptor engine = 1
     */
    engine?: LocalEngineDescriptor;
}
/**
 * @generated from protobuf enum nimi.runtime.v1.LocalEngineStatus
 */
export declare enum LocalEngineStatus {
    /**
     * @generated from protobuf enum value: LOCAL_ENGINE_STATUS_UNSPECIFIED = 0;
     */
    UNSPECIFIED = 0,
    /**
     * @generated from protobuf enum value: LOCAL_ENGINE_STATUS_STOPPED = 1;
     */
    STOPPED = 1,
    /**
     * @generated from protobuf enum value: LOCAL_ENGINE_STATUS_STARTING = 2;
     */
    STARTING = 2,
    /**
     * @generated from protobuf enum value: LOCAL_ENGINE_STATUS_HEALTHY = 3;
     */
    HEALTHY = 3,
    /**
     * @generated from protobuf enum value: LOCAL_ENGINE_STATUS_UNHEALTHY = 4;
     */
    UNHEALTHY = 4
}
declare class LocalEngineDescriptor$Type extends MessageType<LocalEngineDescriptor> {
    constructor();
    create(value?: PartialMessage<LocalEngineDescriptor>): LocalEngineDescriptor;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LocalEngineDescriptor): LocalEngineDescriptor;
    internalBinaryWrite(message: LocalEngineDescriptor, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.LocalEngineDescriptor
 */
export declare const LocalEngineDescriptor: LocalEngineDescriptor$Type;
declare class ListEnginesRequest$Type extends MessageType<ListEnginesRequest> {
    constructor();
    create(value?: PartialMessage<ListEnginesRequest>): ListEnginesRequest;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListEnginesRequest): ListEnginesRequest;
    internalBinaryWrite(message: ListEnginesRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.ListEnginesRequest
 */
export declare const ListEnginesRequest: ListEnginesRequest$Type;
declare class ListEnginesResponse$Type extends MessageType<ListEnginesResponse> {
    constructor();
    create(value?: PartialMessage<ListEnginesResponse>): ListEnginesResponse;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListEnginesResponse): ListEnginesResponse;
    internalBinaryWrite(message: ListEnginesResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.ListEnginesResponse
 */
export declare const ListEnginesResponse: ListEnginesResponse$Type;
declare class EnsureEngineRequest$Type extends MessageType<EnsureEngineRequest> {
    constructor();
    create(value?: PartialMessage<EnsureEngineRequest>): EnsureEngineRequest;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EnsureEngineRequest): EnsureEngineRequest;
    internalBinaryWrite(message: EnsureEngineRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.EnsureEngineRequest
 */
export declare const EnsureEngineRequest: EnsureEngineRequest$Type;
declare class EnsureEngineResponse$Type extends MessageType<EnsureEngineResponse> {
    constructor();
    create(value?: PartialMessage<EnsureEngineResponse>): EnsureEngineResponse;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EnsureEngineResponse): EnsureEngineResponse;
    internalBinaryWrite(message: EnsureEngineResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.EnsureEngineResponse
 */
export declare const EnsureEngineResponse: EnsureEngineResponse$Type;
declare class StartEngineRequest$Type extends MessageType<StartEngineRequest> {
    constructor();
    create(value?: PartialMessage<StartEngineRequest>): StartEngineRequest;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartEngineRequest): StartEngineRequest;
    internalBinaryWrite(message: StartEngineRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.StartEngineRequest
 */
export declare const StartEngineRequest: StartEngineRequest$Type;
declare class StartEngineResponse$Type extends MessageType<StartEngineResponse> {
    constructor();
    create(value?: PartialMessage<StartEngineResponse>): StartEngineResponse;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartEngineResponse): StartEngineResponse;
    internalBinaryWrite(message: StartEngineResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.StartEngineResponse
 */
export declare const StartEngineResponse: StartEngineResponse$Type;
declare class StopEngineRequest$Type extends MessageType<StopEngineRequest> {
    constructor();
    create(value?: PartialMessage<StopEngineRequest>): StopEngineRequest;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StopEngineRequest): StopEngineRequest;
    internalBinaryWrite(message: StopEngineRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.StopEngineRequest
 */
export declare const StopEngineRequest: StopEngineRequest$Type;
declare class StopEngineResponse$Type extends MessageType<StopEngineResponse> {
    constructor();
    create(value?: PartialMessage<StopEngineResponse>): StopEngineResponse;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StopEngineResponse): StopEngineResponse;
    internalBinaryWrite(message: StopEngineResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.StopEngineResponse
 */
export declare const StopEngineResponse: StopEngineResponse$Type;
declare class GetEngineStatusRequest$Type extends MessageType<GetEngineStatusRequest> {
    constructor();
    create(value?: PartialMessage<GetEngineStatusRequest>): GetEngineStatusRequest;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetEngineStatusRequest): GetEngineStatusRequest;
    internalBinaryWrite(message: GetEngineStatusRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.GetEngineStatusRequest
 */
export declare const GetEngineStatusRequest: GetEngineStatusRequest$Type;
declare class GetEngineStatusResponse$Type extends MessageType<GetEngineStatusResponse> {
    constructor();
    create(value?: PartialMessage<GetEngineStatusResponse>): GetEngineStatusResponse;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetEngineStatusResponse): GetEngineStatusResponse;
    internalBinaryWrite(message: GetEngineStatusResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.GetEngineStatusResponse
 */
export declare const GetEngineStatusResponse: GetEngineStatusResponse$Type;
export {};
//# sourceMappingURL=local_runtime_engine.d.ts.map