import { z } from 'zod'; /** * rigctld-compatible TCP bridge configuration. * * Disabled by default — opening a TCP port that accepts CAT control without * authentication is a sensitive default, so users must opt in. */ export declare const RigctldBridgeConfigSchema: z.ZodObject<{ enabled: z.ZodDefault; bindAddress: z.ZodDefault; port: z.ZodDefault; /** * When true (default), the bridge rejects every write command * (`F`/`M`/`T`/`S`/`L`/`set_*`) with `RPRT -11` and only allows reads. * Covers the safe "N1MM records QSOs while the operator tunes manually" * workflow. Disable only when you need software like N1MM / WSJT-X to * actively control the rig (set frequency, PTT, split). */ readOnly: z.ZodDefault; }, "strip", z.ZodTypeAny, { enabled: boolean; port: number; bindAddress: string; readOnly: boolean; }, { enabled?: boolean | undefined; port?: number | undefined; bindAddress?: string | undefined; readOnly?: boolean | undefined; }>; export type RigctldBridgeConfig = z.infer; export declare const DEFAULT_RIGCTLD_BRIDGE_CONFIG: RigctldBridgeConfig; /** Per-connection client snapshot used by the status API and UI. */ export declare const RigctldClientSnapshotSchema: z.ZodObject<{ id: z.ZodNumber; peer: z.ZodString; connectedAt: z.ZodNumber; lastCommand: z.ZodOptional; lastCommandAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: number; peer: string; connectedAt: number; lastCommand?: string | undefined; lastCommandAt?: number | undefined; }, { id: number; peer: string; connectedAt: number; lastCommand?: string | undefined; lastCommandAt?: number | undefined; }>; export type RigctldClientSnapshot = z.infer; export declare const RigctldStatusSchema: z.ZodObject<{ config: z.ZodObject<{ enabled: z.ZodDefault; bindAddress: z.ZodDefault; port: z.ZodDefault; /** * When true (default), the bridge rejects every write command * (`F`/`M`/`T`/`S`/`L`/`set_*`) with `RPRT -11` and only allows reads. * Covers the safe "N1MM records QSOs while the operator tunes manually" * workflow. Disable only when you need software like N1MM / WSJT-X to * actively control the rig (set frequency, PTT, split). */ readOnly: z.ZodDefault; }, "strip", z.ZodTypeAny, { enabled: boolean; port: number; bindAddress: string; readOnly: boolean; }, { enabled?: boolean | undefined; port?: number | undefined; bindAddress?: string | undefined; readOnly?: boolean | undefined; }>; running: z.ZodBoolean; address: z.ZodOptional>; clients: z.ZodArray; lastCommandAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: number; peer: string; connectedAt: number; lastCommand?: string | undefined; lastCommandAt?: number | undefined; }, { id: number; peer: string; connectedAt: number; lastCommand?: string | undefined; lastCommandAt?: number | undefined; }>, "many">; error: z.ZodOptional; }, "strip", z.ZodTypeAny, { config: { enabled: boolean; port: number; bindAddress: string; readOnly: boolean; }; running: boolean; clients: { id: number; peer: string; connectedAt: number; lastCommand?: string | undefined; lastCommandAt?: number | undefined; }[]; error?: string | undefined; address?: { host: string; port: number; } | undefined; }, { config: { enabled?: boolean | undefined; port?: number | undefined; bindAddress?: string | undefined; readOnly?: boolean | undefined; }; running: boolean; clients: { id: number; peer: string; connectedAt: number; lastCommand?: string | undefined; lastCommandAt?: number | undefined; }[]; error?: string | undefined; address?: { host: string; port: number; } | undefined; }>; export type RigctldStatus = z.infer; //# sourceMappingURL=rigctld.schema.d.ts.map