/** * Political Party Data Loader * * Loads real political party data for 5 key countries * * @module data/loadParties */ import { PoliticalParty } from '../core/PoliticalParty'; /** * Load all parties for a specific country * * @param countryCode - ISO 3166-1 alpha-3 country code * @returns Array of PoliticalParty instances, or empty array if country not found */ export declare function loadParties(countryCode: string): PoliticalParty[]; /** * Load all parties from all countries * * @returns Map of country codes to party arrays */ export declare function loadAllParties(): Map; /** * Get governing parties for a country * * @param countryCode - ISO 3166-1 alpha-3 country code * @returns Array of parties currently in government */ export declare function getGoverningParties(countryCode: string): PoliticalParty[]; /** * Get opposition parties for a country * * @param countryCode - ISO 3166-1 alpha-3 country code * @returns Array of parties currently in opposition */ export declare function getOppositionParties(countryCode: string): PoliticalParty[]; /** * Get a specific party by country and party ID * * @param countryCode - ISO 3166-1 alpha-3 country code * @param partyId - Party ID * @returns PoliticalParty instance or undefined if not found */ export declare function getParty(countryCode: string, partyId: string): PoliticalParty | undefined; /** * Get list of all countries with party data */ export declare function getCountriesWithPartyData(): string[]; /** * Check if a country has party data available */ export declare function hasPartyData(countryCode: string): boolean; /** * Get party count for a country */ export declare function getPartyCount(countryCode: string): number; /** * Get largest party by seat share */ export declare function getLargestParty(countryCode: string): PoliticalParty | undefined; /** * Check if government has majority * * @param countryCode - ISO 3166-1 alpha-3 country code * @returns True if governing parties have >50% seats */ export declare function hasGovernmentMajority(countryCode: string): boolean;