declare const UNIT_STATUS: { readonly DP: "Dispatched"; readonly AK: "Acknowledged"; readonly ER: "Enroute"; readonly OS: "On Scene"; readonly TR: "Transport"; readonly TA: "Transport Arrived"; readonly AQ: "Available in Quarters"; readonly AR: "Available on Radio"; readonly AE: "Available on Scene"; }; declare const CALL_TYPES: { readonly AA: "Auto Aid"; readonly MU: "Mutual Aid"; readonly ST: "Strike Team/Task Force"; readonly AC: "Aircraft Crash"; readonly AE: "Aircraft Emergency"; readonly AES: "Aircraft Emergency Standby"; readonly LZ: "Landing Zone"; readonly AED: "AED Alarm"; readonly OA: "Alarm"; readonly CMA: "Carbon Monoxide"; readonly FA: "Fire Alarm"; readonly MA: "Manual Alarm"; readonly SD: "Smoke Detector"; readonly TRBL: "Trouble Alarm"; readonly WFA: "Waterflow Alarm"; readonly FL: "Flooding"; readonly LR: "Ladder Request"; readonly LA: "Lift Assist"; readonly PA: "Police Assist"; readonly PS: "Public Service"; readonly SH: "Sheared Hydrant"; readonly EX: "Explosion"; readonly PE: "Pipeline Emergency"; readonly TE: "Transformer Explosion"; readonly AF: "Appliance Fire"; readonly CHIM: "Chimney Fire"; readonly CF: "Commercial Fire"; readonly WSF: "Confirmed Structure Fire"; readonly WVEG: "Confirmed Vegetation Fire"; readonly CB: "Controlled Burn/Prescribed Fire"; readonly ELF: "Electrical Fire"; readonly EF: "Extinguished Fire"; readonly FIRE: "Fire"; readonly FULL: "Full Assignment"; readonly IF: "Illegal Fire"; readonly MF: "Marine Fire"; readonly OF: "Outside Fire"; readonly PF: "Pole Fire"; readonly GF: "Refuse/Garbage Fire"; readonly RF: "Residential Fire"; readonly SF: "Structure Fire"; readonly VEG: "Vegetation Fire"; readonly VF: "Vehicle Fire"; readonly WCF: "Working Commercial Fire"; readonly WRF: "Working Residential Fire"; readonly BT: "Bomb Threat"; readonly EE: "Electrical Emergency"; readonly EM: "Emergency"; readonly ER: "Emergency Response"; readonly GAS: "Gas Leak"; readonly HC: "Hazardous Condition"; readonly HMR: "Hazmat Response"; readonly TD: "Tree Down"; readonly WE: "Water Emergency"; readonly AI: "Arson Investigation"; readonly HMI: "Hazmat Investigation"; readonly INV: "Investigation"; readonly OI: "Odor Investigation"; readonly SI: "Smoke Investigation"; readonly LO: "Lockout"; readonly CL: "Commercial Lockout"; readonly RL: "Residential Lockout"; readonly VL: "Vehicle Lockout"; readonly IFT: "Interfacility Transfer"; readonly ME: "Medical Emergency"; readonly MCI: "Multi Casualty"; readonly EQ: "Earthquake"; readonly FLW: "Flood Warning"; readonly TOW: "Tornado Warning"; readonly TSW: "Tsunami Warning"; readonly CA: "Community Activity"; readonly FW: "Fire Watch"; readonly NO: "Notification"; readonly STBY: "Standby"; readonly TEST: "Test"; readonly TRNG: "Training"; readonly UNK: "Unknown"; readonly AR: "Animal Rescue"; readonly CR: "Cliff Rescue"; readonly CSR: "Confined Space"; readonly ELR: "Elevator Rescue"; readonly RES: "Rescue"; readonly RR: "Rope Rescue"; readonly TR: "Technical Rescue"; readonly TNR: "Trench Rescue"; readonly USAR: "Urban Search and Rescue"; readonly VS: "Vessel Sinking"; readonly WR: "Water Rescue"; readonly TCE: "Expanded Traffic Collision"; readonly RTE: "Railroad/Train Emergency"; readonly TC: "Traffic Collision"; readonly TCS: "Traffic Collision Involving Structure"; readonly TCT: "Traffic Collision Involving Train"; readonly WA: "Wires Arcing"; readonly WD: "Wires Down"; }; type UnitStatus = (typeof UNIT_STATUS)[keyof typeof UNIT_STATUS]; interface ActiveUnit { id: string; status: UnitStatus; } interface RecentUnit extends ActiveUnit { clearedTime?: Date; } interface IncidentImages { active: string; recent: string; } type CallType = (typeof CALL_TYPES)[keyof typeof CALL_TYPES]; interface ActiveIncident { id: string; agencyId: string; type: CallType; coordinates: [number, number]; address: string; receivedTime: Date; units: ActiveUnit[]; images: IncidentImages; } interface RecentIncident extends ActiveIncident { clearedTime: Date; units: RecentUnit[]; } interface AgencyIncidents { active: ActiveIncident[]; recent: RecentIncident[]; } interface AgencySearchData { agencyKey: string; name: string; } interface RadioFeed { url: string; name: string; description: string; } interface CityServed { city: string; state: string; country: string; } interface Agency { agencyId: string; agencyKey: string; name: string; shortName: string; initials: string; description: string; email?: string; website?: string; type: string; city: string; state: string; country: string; coordinates: [number, number]; timezone: string; psap: string; social: { twitter?: string; facebook?: string; instagram?: string; youtube?: string; linkedin?: string; }; serviceArea: { boundary: string; centroid: string; }; radioFeeds: RadioFeed[]; citiesServed: CityServed[]; } /** * Fetches the "key" and name for all agencies covering the given coordinates. `agencyKey` can be passed to `getAgencyData` to retrieve detailed information. * @param coordinates Array of two numbers representing a set of coordinates. */ declare const getAgencyByLatLng: (coordinates: [number, number]) => Promise; /** * Fetches detailed information about an agency. * @param agencyKey Obtained from `getAgencyFromLatLng`. */ declare const getAgencyData: (agencyKey: string) => Promise; /** * Fetches active and recent incidents for a given agency. * @param agencyIds String(s) representing the agency id(s), can be obtained from [PulsePoint Web](https://web.pulsepoint.org) using developer tools. */ declare const getIncidents: (agencyIds: string | string[]) => Promise; /** * Returns an array of incident types used by PulsePoint. */ declare const getIncidentTypes: () => ("Auto Aid" | "Mutual Aid" | "Strike Team/Task Force" | "Aircraft Crash" | "Aircraft Emergency" | "Aircraft Emergency Standby" | "Landing Zone" | "AED Alarm" | "Alarm" | "Carbon Monoxide" | "Fire Alarm" | "Manual Alarm" | "Smoke Detector" | "Trouble Alarm" | "Waterflow Alarm" | "Flooding" | "Ladder Request" | "Lift Assist" | "Police Assist" | "Public Service" | "Sheared Hydrant" | "Explosion" | "Pipeline Emergency" | "Transformer Explosion" | "Appliance Fire" | "Chimney Fire" | "Commercial Fire" | "Confirmed Structure Fire" | "Confirmed Vegetation Fire" | "Controlled Burn/Prescribed Fire" | "Electrical Fire" | "Extinguished Fire" | "Fire" | "Full Assignment" | "Illegal Fire" | "Marine Fire" | "Outside Fire" | "Pole Fire" | "Refuse/Garbage Fire" | "Residential Fire" | "Structure Fire" | "Vegetation Fire" | "Vehicle Fire" | "Working Commercial Fire" | "Working Residential Fire" | "Bomb Threat" | "Electrical Emergency" | "Emergency" | "Emergency Response" | "Gas Leak" | "Hazardous Condition" | "Hazmat Response" | "Tree Down" | "Water Emergency" | "Arson Investigation" | "Hazmat Investigation" | "Investigation" | "Odor Investigation" | "Smoke Investigation" | "Lockout" | "Commercial Lockout" | "Residential Lockout" | "Vehicle Lockout" | "Interfacility Transfer" | "Medical Emergency" | "Multi Casualty" | "Earthquake" | "Flood Warning" | "Tornado Warning" | "Tsunami Warning" | "Community Activity" | "Fire Watch" | "Notification" | "Standby" | "Test" | "Training" | "Unknown" | "Animal Rescue" | "Cliff Rescue" | "Confined Space" | "Elevator Rescue" | "Rescue" | "Rope Rescue" | "Technical Rescue" | "Trench Rescue" | "Urban Search and Rescue" | "Vessel Sinking" | "Water Rescue" | "Expanded Traffic Collision" | "Railroad/Train Emergency" | "Traffic Collision" | "Traffic Collision Involving Structure" | "Traffic Collision Involving Train" | "Wires Arcing" | "Wires Down")[]; export { ActiveIncident, ActiveUnit, Agency, CallType, RecentIncident, RecentUnit, UnitStatus, getAgencyByLatLng, getAgencyData, getIncidentTypes, getIncidents };