import { z } from 'zod'; export declare const ContainerStateSchema: z.ZodEnum<["running", "stopped", "exited", "paused", "restarting", "dead", "created"]>; export declare const PortMappingSchema: z.ZodObject<{ containerPort: z.ZodNumber; hostPort: z.ZodNumber; protocol: z.ZodDefault; }, "strip", z.ZodTypeAny, { protocol: string; containerPort: number; hostPort: number; }, { containerPort: number; hostPort: number; protocol?: string | undefined; }>; export type PortMapping = z.infer; export declare const ServiceStatusSchema: z.ZodObject<{ name: z.ZodString; state: z.ZodEnum<["running", "stopped", "exited", "paused", "restarting", "dead", "created"]>; status: z.ZodString; ports: z.ZodDefault; }, "strip", z.ZodTypeAny, { protocol: string; containerPort: number; hostPort: number; }, { containerPort: number; hostPort: number; protocol?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { name: string; status: string; state: "running" | "paused" | "created" | "stopped" | "exited" | "restarting" | "dead"; ports: { protocol: string; containerPort: number; hostPort: number; }[]; }, { name: string; status: string; state: "running" | "paused" | "created" | "stopped" | "exited" | "restarting" | "dead"; ports?: { containerPort: number; hostPort: number; protocol?: string | undefined; }[] | undefined; }>; export type ServiceStatus = z.infer; export declare const ClusterStatusSchema: z.ZodObject<{ clusterId: z.ZodNullable; name: z.ZodString; path: z.ZodString; variant: z.ZodString; channel: z.ZodString; state: z.ZodEnum<["running", "stopped", "partial", "missing"]>; services: z.ZodArray; status: z.ZodString; ports: z.ZodDefault; }, "strip", z.ZodTypeAny, { protocol: string; containerPort: number; hostPort: number; }, { containerPort: number; hostPort: number; protocol?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { name: string; status: string; state: "running" | "paused" | "created" | "stopped" | "exited" | "restarting" | "dead"; ports: { protocol: string; containerPort: number; hostPort: number; }[]; }, { name: string; status: string; state: "running" | "paused" | "created" | "stopped" | "exited" | "restarting" | "dead"; ports?: { containerPort: number; hostPort: number; protocol?: string | undefined; }[] | undefined; }>, "many">; hostPort: z.ZodNullable; lastSeen: z.ZodString; createdAt: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; path: string; createdAt: string; services: { name: string; status: string; state: "running" | "paused" | "created" | "stopped" | "exited" | "restarting" | "dead"; ports: { protocol: string; containerPort: number; hostPort: number; }[]; }[]; variant: string; clusterId: string | null; channel: string; lastSeen: string; hostPort: number | null; state: "running" | "stopped" | "partial" | "missing"; }, { name: string; path: string; createdAt: string; services: { name: string; status: string; state: "running" | "paused" | "created" | "stopped" | "exited" | "restarting" | "dead"; ports?: { containerPort: number; hostPort: number; protocol?: string | undefined; }[] | undefined; }[]; variant: string; clusterId: string | null; channel: string; lastSeen: string; hostPort: number | null; state: "running" | "stopped" | "partial" | "missing"; }>; export type ClusterStatus = z.infer; export declare function deriveState(services: ServiceStatus[]): 'running' | 'stopped' | 'partial' | 'missing'; export declare function formatTable(statuses: ClusterStatus[]): string; export declare function formatJson(statuses: ClusterStatus[]): string; //# sourceMappingURL=formatter.d.ts.map