import { z } from 'zod'; export declare const startRpcServerOptionsSchema: z.ZodObject<{ host: z.ZodOptional; port: z.ZodOptional; device: z.ZodOptional]>>; cache: z.ZodOptional; threads: z.ZodOptional; expectRdma: z.ZodOptional; allowNonLoopbackHost: z.ZodOptional; discoveryTopic: z.ZodOptional; }, z.core.$strip>; export declare const rpcServerInfoSchema: z.ZodObject<{ serverId: z.ZodString; url: z.ZodString; rdmaCapable: z.ZodBoolean; }, z.core.$strip>; export declare const startRpcServerRequestSchema: z.ZodObject<{ host: z.ZodOptional; port: z.ZodOptional; device: z.ZodOptional]>>; cache: z.ZodOptional; threads: z.ZodOptional; expectRdma: z.ZodOptional; allowNonLoopbackHost: z.ZodOptional; discoveryTopic: z.ZodOptional; type: z.ZodLiteral<"startRpcServer">; requestId: z.ZodOptional; }, z.core.$strip>; export declare const startRpcServerResponseSchema: z.ZodObject<{ serverId: z.ZodString; url: z.ZodString; rdmaCapable: z.ZodBoolean; type: z.ZodLiteral<"startRpcServer">; }, z.core.$strip>; export declare const stopRpcServerOptionsSchema: z.ZodObject<{ serverId: z.ZodString; }, z.core.$strip>; export declare const stopRpcServerRequestSchema: z.ZodObject<{ serverId: z.ZodString; type: z.ZodLiteral<"stopRpcServer">; }, z.core.$strip>; export declare const stopRpcServerResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"stopRpcServer">; }, z.core.$strip>; export declare const discoverRpcServersOptionsSchema: z.ZodObject<{ topic: z.ZodString; timeoutMs: z.ZodOptional; }, z.core.$strip>; export declare const rpcDeviceSchema: z.ZodObject<{ index: z.ZodNumber; freeMemory: z.ZodNumber; totalMemory: z.ZodNumber; }, z.core.$strip>; export declare const rpcServerCandidateSchema: z.ZodObject<{ url: z.ZodString; rdmaAvailable: z.ZodBoolean; devices: z.ZodArray>; }, z.core.$strip>; export type RpcDevice = z.infer; export declare const discoverRpcServersRequestSchema: z.ZodObject<{ topic: z.ZodString; timeoutMs: z.ZodOptional; type: z.ZodLiteral<"discoverRpcServers">; requestId: z.ZodOptional; }, z.core.$strip>; export declare const discoverRpcServersResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"discoverRpcServers">; servers: z.ZodArray>; }, z.core.$strip>>; }, z.core.$strip>; export type StartRpcServerOptions = z.infer; export type RpcServerInfo = z.infer; export type StopRpcServerOptions = z.infer; export type DiscoverRpcServersOptions = z.infer; export type RpcServerCandidate = z.infer; export type StartRpcServerRequest = z.infer; export type StopRpcServerRequest = z.infer; export type DiscoverRpcServersRequest = z.infer; /** Native handles remain private to the engine; callers receive an owned server ID. */ export interface RpcServerHandle { host: string; port: number; url: string; rdmaCapable: boolean; stop(): Promise; } /** A model-independent serving capability registered in the Bare engine. */ export interface RpcServerProvider { start(options: Omit): Promise; }