import crypto from 'crypto';
import { storage } from '@/lib/storage';
export type RFBand = { name:string; min:number; max:number; note?:string };
export const DISALLOWED_BANDS: RFBand[] = [
export function intersectsDisallowed(freqHz:number): RFBand|null{
for(const b of DISALLOWED_BANDS){ if(freqHz>=b.min && freqHz<=b.max) return b; }
export function getSandboxState(){
const conf = storage.getAllConfigs();