/** * Copyright (c) 2019-2025 Mark Sandford * Licensed under the MIT License. See LICENSE and NOTICE files. */ /** * Committee to Agency Mapping * * Maps congressional committees to the federal agencies they oversee. * This enables hypertext connections between representatives (via their * committee assignments) and relevant federal spending, regulations, * and executive actions. */ export interface AgencyInfo { name: string; slug: string; abbreviation: string; keywords: string[]; } export interface CommitteeMapping { committeeCode: string; committeeName: string; chamber: 'House' | 'Senate' | 'Joint'; agencies: AgencyInfo[]; topics: string[]; } /** * House committee mappings */ export declare const HOUSE_COMMITTEE_MAPPINGS: CommitteeMapping[]; /** * Senate committee mappings */ export declare const SENATE_COMMITTEE_MAPPINGS: CommitteeMapping[]; /** * All committee mappings combined */ export declare const ALL_COMMITTEE_MAPPINGS: CommitteeMapping[]; /** * Get agencies for a committee by name (fuzzy match) */ export declare function getAgenciesForCommittee(committeeName: string): AgencyInfo[]; /** * Get topics for a committee by name (fuzzy match) */ export declare function getTopicsForCommittee(committeeName: string): string[]; /** * Get all agencies for multiple committees */ export declare function getAgenciesForCommittees(committeeNames: string[]): AgencyInfo[]; /** * Get committees that oversee a given agency (reverse lookup). */ export declare function getCommitteesForAgency(agencySlug: string): CommitteeMapping[]; /** * Get all topics for multiple committees */ export declare function getTopicsForCommittees(committeeNames: string[]): string[]; //# sourceMappingURL=committee-agency-map.d.ts.map