import type { ParserFn } from "./_registry.js"; /** Parse a scoreboard response into one row per event (from `events[]`). */ export declare function parse_scoreboard(payload: any): Record[]; /** * Parse a site-v2 teams response into one row per team * (`sports[0].leagues[0].teams[]`, with `items`/`teams` Core v2 fallbacks). */ export declare function parse_teams(payload: any): Record[]; /** Parse a standings (alt v2) response into one row per team entry. */ export declare function parse_standings(payload: any): Record[]; /** Parse a groups response into one row per group (conference/division). */ export declare function parse_groups(payload: any): Record[]; /** Parse an athlete overview response into one row per stats split. */ export declare function parse_athlete_overview(payload: any): Record[]; /** Parse an athlete stats response into one row per (category × split). */ export declare function parse_athlete_stats(payload: any): Record[]; /** Parse an athlete gamelog response into one row per game. */ export declare function parse_athlete_gamelog(payload: any): Record[]; /** Parse an athlete splits response into one row per split. */ export declare function parse_athlete_splits(payload: any): Record[]; /** Parse a statistics-by-athlete leaderboard into one row per athlete. */ export declare function parse_leaders(payload: any): Record[]; /** Parse a season coaches response into one row per coach (from `items[]`). */ export declare function parse_coaches(payload: any): Record[]; /** Parse a draft response into one row per pick (from `rounds[].picks[]`). */ export declare function parse_draft(payload: any): Record[]; /** Parse an event competitor roster into one row per athlete. */ export declare function parse_event_competitor_roster(payload: any): Record[]; /** Parse event competitor statistics into one row per stat. */ export declare function parse_event_competitor_statistics(payload: any): Record[]; /** Parse event competitor linescores into one row per period (from `items[]`). */ export declare function parse_event_competitor_linescores(payload: any): Record[]; /** Parse an event plays response into one row per play (from `items[]`). */ export declare function parse_event_plays(payload: any): Record[]; /** * Generic parser for any ESPN paginated / list response. Walks * `LIST_PAYLOAD_KEYS` in order and flattens the first key that resolves to a * non-empty array. Core v2 `$ref`-only items yield a frame with a single * `_ref` (`$ref` → snake-cased) column — this parser does NOT auto-resolve. */ export declare function parse_items(payload: any): Record[]; /** Parse a Site v2 `team/{id}/schedule` response into one row per event. */ export declare function parse_team_schedule(payload: any): Record[]; /** * Parse a Site v2 `team/{id}/roster` response into one row per athlete. * Handles both the flat shape (NBA/WNBA/MBB/WBB/CFB — `athletes` is a list of * athlete dicts) and the position-grouped shape (MLB/NFL/NHL — `athletes` is a * list of `{position, items:[...]}` groups, unrolled with a `position_group` * column carried from the parent). */ export declare function parse_team_roster(payload: any): Record[]; /** Parse a Site v2 `news` response into one row per article. */ export declare function parse_news(payload: any): Record[]; /** * Parse a Site v2 `injuries` response into one row per team that has injuries * reported. The nested per-player `injuries` sub-list is stringified (kept as a * single column) — the outer rows are per team. */ export declare function parse_injuries(payload: any): Record[]; /** Extract per-athlete boxscore stats from `boxscore.players`. */ export declare function parse_summary_boxscore_player(payload: any): Record[]; /** Extract per-team boxscore stats from `boxscore.teams`. */ export declare function parse_summary_boxscore_team(payload: any): Record[]; /** Extract the play-by-play list from `payload["plays"]`. */ export declare function parse_summary_plays(payload: any): Record[]; /** Extract win-probability over time from `payload["winprobability"]`. */ export declare function parse_summary_winprobability(payload: any): Record[]; /** Extract per-game stat leaders from `payload["leaders"]`. */ export declare function parse_summary_leaders(payload: any): Record[]; /** Extract venue + attendance from `payload["gameInfo"]`. */ export declare function parse_summary_game_info(payload: any): Record[]; /** Extract the per-game officials list from `gameInfo.officials`. */ export declare function parse_summary_officials(payload: any): Record[]; /** Extract the single-row game header from `payload["header"]`. */ export declare function parse_summary_header(payload: any): Record[]; /** Extract head-to-head season series from `payload["seasonseries"]`. */ export declare function parse_summary_season_series(payload: any): Record[]; /** Extract per-team ATS records from `payload["againstTheSpread"]`. */ export declare function parse_summary_against_the_spread(payload: any): Record[]; /** Extract a standings snapshot from `payload["standings"]`. */ export declare function parse_summary_standings(payload: any): Record[]; /** Extract TV broadcast info from `payload["broadcasts"]`. */ export declare function parse_summary_broadcasts(payload: any): Record[]; /** Extract the game format from `payload["format"]`. */ export declare function parse_summary_format(payload: any): Record[]; /** Extract pre-game odds / picks from `payload["pickcenter"]`. */ export declare function parse_summary_pickcenter(payload: any): Record[]; /** Extract odds entries from `payload["odds"]`. */ export declare function parse_summary_odds(payload: any): Record[]; /** Extract the recap article metadata from `payload["article"]`. */ export declare function parse_summary_article(payload: any): Record[]; /** Extract per-team injuries from `payload["injuries"]`. */ export declare function parse_summary_injuries(payload: any): Record[]; /** Extract the embedded news feed from `payload["news"].articles`. */ export declare function parse_summary_news(payload: any): Record[]; /** Generic single-row flattener for any ESPN single-entity payload. */ export declare function parse_single_entity(payload: any): Record[]; /** Extract per-drive context from `payload["drives"].previous` (NFL/CFB). */ export declare function parse_summary_drives(payload: any): Record[]; /** Extract the scoring-plays summary from `payload["scoringPlays"]`. */ export declare function parse_summary_scoring_plays(payload: any): Record[]; /** Explode NFL/CFB `drives.previous[].plays[]` into long-form rows. */ export declare function parse_summary_drive_plays(payload: any): Record[]; export declare const SUMMARY_SECTION_PARSERS: Record; /** * Dispatcher: parse one section of a Site v2 summary payload. * * With `section` omitted, returns an object of every parsable sub-frame keyed * by section name (21 sections). With `section=""`, returns just that one * parser's rows. An unknown section name throws. */ export declare function parse_summary(payload: any, section?: string): Record[] | Record[]>; export declare const ESPN_ENDPOINT_PARSERS: Record; /** * Return the registered parser for an endpoint short name, or `undefined`. * Mirrors the Python `parser_for`. */ export declare function parserForEndpoint(short: string): ParserFn | typeof parse_summary | undefined; //# sourceMappingURL=espn.d.ts.map