/** * Generic editorial parser (catch-all). After peeling the `service` envelope it * handles a bare list, an object wrapping records under a list-bearing key, or a * single resource object (emitted as one row). Returns `[]` when empty. */ export declare function parse_yahoo_editorial_list(raw: any): Record[]; /** * Parse the editorial scoreboard into one row per game. * * Shape: `service.scoreboard.games..g.` is a map keyed by game id; * each value is a game object (teams / status / odds nested). This unrolls the * keyed map into one row per game (the map key becomes the `id` column, nested * `home`/`away`/`status` blocks deep-flatten to `home_*` / `away_*` / `status_*` * columns). Falls back to the generic list flattener for un-keyed shapes. * Returns `[]` when empty / malformed. */ export declare function parse_yahoo_editorial_scoreboard(raw: any): Record[]; /** * Parse the editorial boxscore into one row per player. * * Shape: `service.boxscore.player_stats..p.` is a map keyed by * player id; each value is that player's stat block. This unrolls the keyed map * into one row per player (the map key becomes the `id` column). Falls back to * the generic list flattener. Returns `[]` when empty / malformed. */ export declare function parse_yahoo_editorial_boxscore(raw: any): Record[]; /** * Endpoint (parser name) -> parser. Mirrors the Python-side registries; keyed by * the parser function name the YAML references. Registered in * src/parsers/_registry.ts. */ export declare const YAHOO_EDITORIAL_PARSERS: { parse_yahoo_editorial_list: typeof parse_yahoo_editorial_list; parse_yahoo_editorial_scoreboard: typeof parse_yahoo_editorial_scoreboard; parse_yahoo_editorial_boxscore: typeof parse_yahoo_editorial_boxscore; }; //# sourceMappingURL=yahoo_editorial.d.ts.map