import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import type { Value } from "../camino/api_pb.js"; import type { InjectedDependency, PackageExportRef } from "./refs_pb.js"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file quixos/runtime.proto. */ export declare const file_quixos_runtime: GenFile; /** * @generated from message quixos.runtime.HandshakeRequest */ export type HandshakeRequest = Message<"quixos.runtime.HandshakeRequest"> & { /** * @generated from field: string orch_protocol_version = 1; */ orchProtocolVersion: string; }; /** * Describes the message quixos.runtime.HandshakeRequest. * Use `create(HandshakeRequestSchema)` to create a new message. */ export declare const HandshakeRequestSchema: GenMessage; /** * @generated from message quixos.runtime.HandshakeResponse */ export type HandshakeResponse = Message<"quixos.runtime.HandshakeResponse"> & { /** * @generated from field: string package_revision_id = 1; */ packageRevisionId: string; /** * @generated from field: string runtime_protocol_version = 2; */ runtimeProtocolVersion: string; /** * @generated from field: repeated string export_ids = 3; */ exportIds: string[]; }; /** * Describes the message quixos.runtime.HandshakeResponse. * Use `create(HandshakeResponseSchema)` to create a new message. */ export declare const HandshakeResponseSchema: GenMessage; /** * @generated from message quixos.runtime.InvokeRequest */ export type InvokeRequest = Message<"quixos.runtime.InvokeRequest"> & { /** * @generated from field: string invocation_id = 1; */ invocationId: string; /** * @generated from field: quixos.PackageExportRef export = 2; */ export?: PackageExportRef | undefined; /** * @generated from field: string object_id = 3; */ objectId: string; /** * @generated from field: map input = 4; */ input: { [key: string]: Value; }; /** * @generated from field: repeated quixos.InjectedDependency dependencies = 5; */ dependencies: InjectedDependency[]; }; /** * Describes the message quixos.runtime.InvokeRequest. * Use `create(InvokeRequestSchema)` to create a new message. */ export declare const InvokeRequestSchema: GenMessage; /** * @generated from message quixos.runtime.InvokeResponse */ export type InvokeResponse = Message<"quixos.runtime.InvokeResponse"> & { /** * @generated from field: bool ok = 1; */ ok: boolean; /** * @generated from field: camino.Value result = 2; */ result?: Value | undefined; /** * @generated from field: string error = 3; */ error: string; /** * @generated from field: repeated quixos.runtime.DerivedDependency dependencies = 4; */ dependencies: DerivedDependency[]; }; /** * Describes the message quixos.runtime.InvokeResponse. * Use `create(InvokeResponseSchema)` to create a new message. */ export declare const InvokeResponseSchema: GenMessage; /** * @generated from message quixos.runtime.WatchRequest */ export type WatchRequest = Message<"quixos.runtime.WatchRequest"> & { /** * @generated from field: string invocation_id = 1; */ invocationId: string; /** * @generated from field: quixos.PackageExportRef export = 2; */ export?: PackageExportRef | undefined; /** * @generated from field: string object_id = 3; */ objectId: string; /** * @generated from field: map input = 4; */ input: { [key: string]: Value; }; /** * @generated from field: repeated quixos.InjectedDependency dependencies = 5; */ dependencies: InjectedDependency[]; }; /** * Describes the message quixos.runtime.WatchRequest. * Use `create(WatchRequestSchema)` to create a new message. */ export declare const WatchRequestSchema: GenMessage; /** * @generated from message quixos.runtime.DerivedDependency */ export type DerivedDependency = Message<"quixos.runtime.DerivedDependency"> & { /** * @generated from field: string kind = 1; */ kind: string; /** * @generated from field: string object_id = 2; */ objectId: string; /** * @generated from field: string attachment_id = 3; */ attachmentId: string; /** * @generated from field: string projection_id = 4; */ projectionId: string; }; /** * Describes the message quixos.runtime.DerivedDependency. * Use `create(DerivedDependencySchema)` to create a new message. */ export declare const DerivedDependencySchema: GenMessage; /** * @generated from message quixos.runtime.WatchEvent */ export type WatchEvent = Message<"quixos.runtime.WatchEvent"> & { /** * @generated from field: string watch_id = 1; */ watchId: string; /** * @generated from field: camino.Value value = 2; */ value?: Value | undefined; /** * @generated from field: repeated quixos.runtime.DerivedDependency dependencies = 3; */ dependencies: DerivedDependency[]; /** * @generated from field: string error = 4; */ error: string; /** * @generated from field: bool initial = 5; */ initial: boolean; }; /** * Describes the message quixos.runtime.WatchEvent. * Use `create(WatchEventSchema)` to create a new message. */ export declare const WatchEventSchema: GenMessage; /** * @generated from service quixos.runtime.PackageRuntime */ export declare const PackageRuntime: GenService<{ /** * @generated from rpc quixos.runtime.PackageRuntime.Handshake */ handshake: { methodKind: "unary"; input: typeof HandshakeRequestSchema; output: typeof HandshakeResponseSchema; }; /** * @generated from rpc quixos.runtime.PackageRuntime.Invoke */ invoke: { methodKind: "unary"; input: typeof InvokeRequestSchema; output: typeof InvokeResponseSchema; }; /** * @generated from rpc quixos.runtime.PackageRuntime.Watch */ watch: { methodKind: "server_streaming"; input: typeof WatchRequestSchema; output: typeof WatchEventSchema; }; }>; //# sourceMappingURL=runtime_pb.d.ts.map