/** * `nixDeployTarget` — stand a workspace up inside a `nix shell` and reach it over * `ws://127.0.0.1:`. `tlsTermination: "none"` (loopback only). * * Generic on purpose: it resolves a flake stack attr and runs `skaile serve` * inside it, nothing more. Platform-specific deployment policy (store binds, * apparmor, fleet) stays in the host's own custom target — this built-in only * knows `flakeRef` + `stackAttr`. `nixBin` exists as a hermetic-test seam, the * same role `command` plays for the local target. */ import type { DeployTarget } from "@skaile/workspaces/plugin-registry"; import * as z from "zod"; declare const nixConfigSchema: z.ZodObject<{ flakeRef: z.ZodString; stackAttr: z.ZodString; port: z.ZodOptional; env: z.ZodOptional>; cwd: z.ZodOptional; readyPattern: z.ZodOptional; nixBin: z.ZodOptional; }, z.core.$strict>; type NixConfig = z.infer; declare const nixPayloadSchema: z.ZodObject<{ pid: z.ZodNumber; port: z.ZodNumber; }, z.core.$strip>; type NixPayload = z.infer; /** * Build the `nix shell … --command skaile serve --port ` argv. Pure and * exported so the arg contract can be unit-tested without spawning nix. */ export declare function buildNixArgs(config: Pick, port: number): string[]; /** Built-in target that runs the workspace inside a `nix shell`. */ export declare const nixDeployTarget: DeployTarget; export {}; //# sourceMappingURL=nix.d.ts.map