/** * FEMA OpenFEMA SDK — typed API client for disaster declarations, grants, and assistance data. * * Standalone — no MCP server required. Usage: * * import { getDisasterDeclarations, getHousingAssistance } from "us-gov-open-data-mcp/sdk/fema"; * * No API key required. * Docs: https://www.fema.gov/about/openfema/api */ /** Disaster Declaration. */ export interface DisasterDeclaration { disasterNumber?: number; declarationDate?: string; disasterName?: string; incidentType?: string; declarationType?: string; state?: string; fipsStateCode?: string; fipsCountyCode?: string; designatedArea?: string; ihProgramDeclared?: boolean; iaProgramDeclared?: boolean; paProgramDeclared?: boolean; hmProgramDeclared?: boolean; incidentBeginDate?: string; incidentEndDate?: string; lastRefresh?: string; [key: string]: unknown; } /** Housing Assistance Record. */ export interface HousingAssistanceRecord { disasterNumber?: number; state?: string; county?: string; zipCode?: string; validRegistrations?: number; totalInspected?: number; totalDamage?: number; totalApprovedIhpAmount?: number; repairReplaceAmount?: number; rentalAmount?: number; otherNeedsAmount?: number; approvedForFemaAssistance?: number; [key: string]: unknown; } /** Public Assistance Record. */ export interface PublicAssistanceRecord { disasterNumber?: number; state?: string; applicantName?: string; county?: string; damageCategory?: string; projectAmount?: number; federalShareObligated?: number; obligatedDate?: string; projectTitle?: string; [key: string]: unknown; } /** Nfip Claim. */ export interface NfipClaim { state?: string; countyCode?: string; dateOfLoss?: string; amountPaidOnBuildingClaim?: number; amountPaidOnContentsClaim?: number; totalBuildingInsuranceCoverage?: number; floodZone?: string; yearOfLoss?: number; [key: string]: unknown; } /** Fema Region. */ export interface FemaRegion { regionNumber?: number; regionName?: string; regionAddress?: string; states?: string; [key: string]: unknown; } /** Fema List Response. */ export interface FemaListResponse { metadata?: { count?: number; skip?: number; top?: number; entityName?: string; }; [key: string]: unknown; } /** Available datasets with Socrata endpoint IDs. */ export declare const DATASETS: { readonly disaster_declarations: { readonly endpoint: "DisasterDeclarationsSummaries"; readonly name: "Disaster Declarations"; readonly description: "All federally declared disasters since 1953: major disasters, emergencies, fire management"; }; readonly housing_owners: { readonly endpoint: "HousingAssistanceOwners"; readonly name: "Housing Assistance (Owners)"; readonly description: "Individual Assistance for homeowners: inspections, damage severity, assistance amounts by county/zip"; }; readonly housing_renters: { readonly endpoint: "HousingAssistanceRenters"; readonly name: "Housing Assistance (Renters)"; readonly description: "Individual Assistance for renters: inspections, damage severity, assistance amounts by county/zip"; }; readonly public_assistance: { readonly endpoint: "PublicAssistanceGrantAwardActivities"; readonly name: "Public Assistance Awards"; readonly description: "PA project awards: applicant, county, damage category, federal share obligated"; }; readonly public_assistance_details: { readonly endpoint: "PublicAssistanceFundedProjectsDetails"; readonly name: "PA Funded Projects"; readonly description: "Detailed public assistance funded projects with damage categories and amounts"; }; readonly nfip_claims: { readonly endpoint: "FimaNfipClaims"; readonly name: "NFIP Flood Insurance Claims"; readonly description: "National Flood Insurance Program claims: loss amounts, flood zones, damage details"; }; readonly nfip_policies: { readonly endpoint: "FimaNfipPolicies"; readonly name: "NFIP Flood Insurance Policies"; readonly description: "National Flood Insurance Program policy transactions: coverage, premiums, locations"; }; readonly hazard_mitigation: { readonly endpoint: "HazardMitigationGrantProgramDisasterSummaries"; readonly name: "Hazard Mitigation Grants"; readonly description: "HMGP disaster-level financial summaries: obligations, project counts"; }; readonly mission_assignments: { readonly endpoint: "MissionAssignments"; readonly name: "Mission Assignments"; readonly description: "Work orders from FEMA to other federal agencies for disaster response (FY2013+)"; }; readonly fema_regions: { readonly endpoint: "FemaRegions"; readonly name: "FEMA Regions"; readonly description: "FEMA region boundaries, headquarters, and associated states"; }; readonly registrations: { readonly endpoint: "RegistrationIntakeIndividualsHouseholdPrograms"; readonly name: "IHP Registrations"; readonly description: "Registration and IHP data by city: call center, web, mobile registrations, eligible amounts"; }; }; /** * Search for disaster declarations. Supports OData-style filtering. */ export declare function getDisasterDeclarations(opts?: { state?: string; year?: number; incidentType?: string; declarationType?: string; top?: number; skip?: number; orderBy?: string; }): Promise; /** * Get housing assistance data for homeowners by disaster/state/county. */ export declare function getHousingAssistance(opts?: { disasterNumber?: number; state?: string; county?: string; top?: number; skip?: number; }): Promise; /** * Get Public Assistance grant award activities. */ export declare function getPublicAssistance(opts?: { disasterNumber?: number; state?: string; top?: number; skip?: number; }): Promise; /** * Get FEMA regions. */ export declare function getFemaRegions(): Promise; /** * General-purpose query against any OpenFEMA v2 dataset. */ export declare function queryDataset(opts: { dataset: string; filter?: string; select?: string; orderBy?: string; top?: number; skip?: number; }): Promise; /** Clear the FEMA SDK cache. */ export declare function clearCache(): void; //# sourceMappingURL=sdk.d.ts.map