import { z } from "zod"; export { runDev, type DevOptions } from "./cli/dev.js"; export interface LocalActorOptions { /** Module URL from which to resolve the SDK dependency when embedded in a wrapper. */ sdkResolveFrom?: string; projectId?: string; /** Enables local authentication when set; omitted by default. */ apiKey?: string; entrypoint: string; /** Project directory; defaults to the current directory. */ project?: string; /** State directory relative to the project; defaults to .durable-actors. */ dataDir?: string; /** Loopback port; defaults to 0 to select a free port. */ port?: number; /** Readiness timeout; defaults to 120000 ms. */ startupTimeoutMs?: number; quiet?: boolean; } declare const connectionSchema: z.ZodObject<{ projectId: z.ZodString; controlPlaneUrl: z.ZodString; apiKey: z.ZodPipe>, z.ZodTransform>; storageRegion: z.ZodString; pid: z.ZodNumber; }, z.core.$strip>; /** Local server. Call `stop()` when finished. */ export interface LocalActorRuntime { connection: z.infer; /** Rejects on unexpected process failure. */ closed: Promise; /** Stops the server and keeps saved state. */ stop(): Promise; } /** Starts a local server and waits until ready. */ export declare function startLocalActors(options: LocalActorOptions): Promise; //# sourceMappingURL=localRuntime.d.ts.map