import { z } from 'zod'; export { StrategiesResultSchema } from './qso.schema.js'; export type { StrategiesResult } from './qso.schema.js'; export { CycleInfoSchema } from './cycle.schema.js'; export type { CycleInfo } from './cycle.schema.js'; /** * 传输策略相关类型定义 * 用于操作员运行时状态与插件策略交互 * * 注意:StrategiesResult、CycleInfo 已在其他 schema 中定义,这里重新导出 */ /** * 策略状态信息 */ export declare const StrategyStateSchema: z.ZodObject<{ name: z.ZodString; state: z.ZodString; availableSlots: z.ZodArray; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; state: string; availableSlots: string[]; metadata?: Record | undefined; }, { name: string; state: string; availableSlots: string[]; metadata?: Record | undefined; }>; /** * 呼叫请求参数 */ export declare const CallRequestSchema: z.ZodObject<{ callsign: z.ZodString; lastMessage: z.ZodOptional; logbookAnalysis: z.ZodOptional; isNewDxccEntity: z.ZodOptional; isNewBandDxccEntity: z.ZodOptional; isConfirmedDxcc: z.ZodOptional; isNewGrid: z.ZodOptional; callsign: z.ZodOptional; grid: z.ZodOptional; prefix: z.ZodOptional; state: z.ZodOptional; stateConfidence: z.ZodOptional>; dxccId: z.ZodOptional; dxccEntity: z.ZodOptional; dxccStatus: z.ZodOptional>; }, "strip", z.ZodTypeAny, { prefix?: string | undefined; callsign?: string | undefined; grid?: string | undefined; dxccId?: number | undefined; dxccEntity?: string | undefined; dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined; isNewCallsign?: boolean | undefined; isNewDxccEntity?: boolean | undefined; isNewBandDxccEntity?: boolean | undefined; isConfirmedDxcc?: boolean | undefined; isNewGrid?: boolean | undefined; state?: string | undefined; stateConfidence?: "high" | "low" | undefined; }, { prefix?: string | undefined; callsign?: string | undefined; grid?: string | undefined; dxccId?: number | undefined; dxccEntity?: string | undefined; dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined; isNewCallsign?: boolean | undefined; isNewDxccEntity?: boolean | undefined; isNewBandDxccEntity?: boolean | undefined; isConfirmedDxcc?: boolean | undefined; isNewGrid?: boolean | undefined; state?: string | undefined; stateConfidence?: "high" | "low" | undefined; }>>; operatorId: z.ZodOptional; }, "strip", z.ZodTypeAny, { message: string; snr: number; freq: number; dt: number; confidence: number; operatorId?: string | undefined; logbookAnalysis?: { prefix?: string | undefined; callsign?: string | undefined; grid?: string | undefined; dxccId?: number | undefined; dxccEntity?: string | undefined; dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined; isNewCallsign?: boolean | undefined; isNewDxccEntity?: boolean | undefined; isNewBandDxccEntity?: boolean | undefined; isConfirmedDxcc?: boolean | undefined; isNewGrid?: boolean | undefined; state?: string | undefined; stateConfidence?: "high" | "low" | undefined; } | undefined; }, { message: string; snr: number; freq: number; dt: number; operatorId?: string | undefined; confidence?: number | undefined; logbookAnalysis?: { prefix?: string | undefined; callsign?: string | undefined; grid?: string | undefined; dxccId?: number | undefined; dxccEntity?: string | undefined; dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined; isNewCallsign?: boolean | undefined; isNewDxccEntity?: boolean | undefined; isNewBandDxccEntity?: boolean | undefined; isConfirmedDxcc?: boolean | undefined; isNewGrid?: boolean | undefined; state?: string | undefined; stateConfidence?: "high" | "low" | undefined; } | undefined; }>; slotInfo: z.ZodObject<{ id: z.ZodString; startMs: z.ZodNumber; phaseMs: z.ZodNumber; driftMs: z.ZodDefault; cycleNumber: z.ZodNumber; utcSeconds: z.ZodNumber; mode: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; mode: string; startMs: number; phaseMs: number; driftMs: number; cycleNumber: number; utcSeconds: number; }, { id: string; mode: string; startMs: number; phaseMs: number; cycleNumber: number; utcSeconds: number; driftMs?: number | undefined; }>; }, "strip", z.ZodTypeAny, { message: { message: string; snr: number; freq: number; dt: number; confidence: number; operatorId?: string | undefined; logbookAnalysis?: { prefix?: string | undefined; callsign?: string | undefined; grid?: string | undefined; dxccId?: number | undefined; dxccEntity?: string | undefined; dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined; isNewCallsign?: boolean | undefined; isNewDxccEntity?: boolean | undefined; isNewBandDxccEntity?: boolean | undefined; isConfirmedDxcc?: boolean | undefined; isNewGrid?: boolean | undefined; state?: string | undefined; stateConfidence?: "high" | "low" | undefined; } | undefined; }; slotInfo: { id: string; mode: string; startMs: number; phaseMs: number; driftMs: number; cycleNumber: number; utcSeconds: number; }; }, { message: { message: string; snr: number; freq: number; dt: number; operatorId?: string | undefined; confidence?: number | undefined; logbookAnalysis?: { prefix?: string | undefined; callsign?: string | undefined; grid?: string | undefined; dxccId?: number | undefined; dxccEntity?: string | undefined; dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined; isNewCallsign?: boolean | undefined; isNewDxccEntity?: boolean | undefined; isNewBandDxccEntity?: boolean | undefined; isConfirmedDxcc?: boolean | undefined; isNewGrid?: boolean | undefined; state?: string | undefined; stateConfidence?: "high" | "low" | undefined; } | undefined; }; slotInfo: { id: string; mode: string; startMs: number; phaseMs: number; cycleNumber: number; utcSeconds: number; driftMs?: number | undefined; }; }>>; }, "strip", z.ZodTypeAny, { callsign: string; lastMessage?: { message: { message: string; snr: number; freq: number; dt: number; confidence: number; operatorId?: string | undefined; logbookAnalysis?: { prefix?: string | undefined; callsign?: string | undefined; grid?: string | undefined; dxccId?: number | undefined; dxccEntity?: string | undefined; dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined; isNewCallsign?: boolean | undefined; isNewDxccEntity?: boolean | undefined; isNewBandDxccEntity?: boolean | undefined; isConfirmedDxcc?: boolean | undefined; isNewGrid?: boolean | undefined; state?: string | undefined; stateConfidence?: "high" | "low" | undefined; } | undefined; }; slotInfo: { id: string; mode: string; startMs: number; phaseMs: number; driftMs: number; cycleNumber: number; utcSeconds: number; }; } | undefined; }, { callsign: string; lastMessage?: { message: { message: string; snr: number; freq: number; dt: number; operatorId?: string | undefined; confidence?: number | undefined; logbookAnalysis?: { prefix?: string | undefined; callsign?: string | undefined; grid?: string | undefined; dxccId?: number | undefined; dxccEntity?: string | undefined; dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined; isNewCallsign?: boolean | undefined; isNewDxccEntity?: boolean | undefined; isNewBandDxccEntity?: boolean | undefined; isConfirmedDxcc?: boolean | undefined; isNewGrid?: boolean | undefined; state?: string | undefined; stateConfidence?: "high" | "low" | undefined; } | undefined; }; slotInfo: { id: string; mode: string; startMs: number; phaseMs: number; cycleNumber: number; utcSeconds: number; driftMs?: number | undefined; }; } | undefined; }>; /** * 传输请求(已在 websocket.schema.ts 中定义) * TransmitRequestSchema */ /** * 操作员时隙配置 */ export declare const OperatorSlotsSchema: z.ZodObject<{ TX1: z.ZodOptional; TX2: z.ZodOptional; TX3: z.ZodOptional; TX4: z.ZodOptional; TX5: z.ZodOptional; TX6: z.ZodOptional; }, "strip", z.ZodTypeAny, { TX1?: string | undefined; TX2?: string | undefined; TX3?: string | undefined; TX4?: string | undefined; TX5?: string | undefined; TX6?: string | undefined; }, { TX1?: string | undefined; TX2?: string | undefined; TX3?: string | undefined; TX4?: string | undefined; TX5?: string | undefined; TX6?: string | undefined; }>; /** * QSO 上下文(已在 qso.schema.ts 中定义为 QSOContextSchema) * 包含:myCall, myGrid, targetCall, targetGrid, reportSent, reportReceived 等 */ /** * 操作员时隙更新事件数据 */ export declare const OperatorSlotsUpdatedEventSchema: z.ZodObject<{ operatorId: z.ZodString; slots: z.ZodObject<{ TX1: z.ZodOptional; TX2: z.ZodOptional; TX3: z.ZodOptional; TX4: z.ZodOptional; TX5: z.ZodOptional; TX6: z.ZodOptional; }, "strip", z.ZodTypeAny, { TX1?: string | undefined; TX2?: string | undefined; TX3?: string | undefined; TX4?: string | undefined; TX5?: string | undefined; TX6?: string | undefined; }, { TX1?: string | undefined; TX2?: string | undefined; TX3?: string | undefined; TX4?: string | undefined; TX5?: string | undefined; TX6?: string | undefined; }>; }, "strip", z.ZodTypeAny, { operatorId: string; slots: { TX1?: string | undefined; TX2?: string | undefined; TX3?: string | undefined; TX4?: string | undefined; TX5?: string | undefined; TX6?: string | undefined; }; }, { operatorId: string; slots: { TX1?: string | undefined; TX2?: string | undefined; TX3?: string | undefined; TX4?: string | undefined; TX5?: string | undefined; TX6?: string | undefined; }; }>; /** * 操作员时隙内容变更事件数据 */ export declare const OperatorSlotContentChangedEventSchema: z.ZodObject<{ operatorId: z.ZodString; slotName: z.ZodString; content: z.ZodString; }, "strip", z.ZodTypeAny, { operatorId: string; content: string; slotName: string; }, { operatorId: string; content: string; slotName: string; }>; /** * 操作员发射周期变更事件数据 */ export declare const OperatorTransmitCyclesChangedEventSchema: z.ZodObject<{ operatorId: z.ZodString; transmitCycles: z.ZodArray; }, "strip", z.ZodTypeAny, { operatorId: string; transmitCycles: number[]; }, { operatorId: string; transmitCycles: number[]; }>; export type StrategyState = z.infer; export type CallRequest = z.infer; export type OperatorSlots = z.infer; export type OperatorSlotsUpdatedEvent = z.infer; export type OperatorSlotContentChangedEvent = z.infer; export type OperatorTransmitCyclesChangedEvent = z.infer; //# sourceMappingURL=transmission.schema.d.ts.map