/**
 * Team Asset Service — resolves team logos via local disk or TheSportsDB API
 *
 * Pipeline: check local disk → query TheSportsDB → record provenance
 * TheSportsDB is free (CC-BY-SA 4.0) and provides team badges.
 */
/** Normalize an abbreviation to match our local filename convention */
export declare function normalizeAbbr(shortName: string): string;
/** Get the logo league directory (ncaaf shares ncaab, wnba shares nba) */
export declare function getLogoLeague(league: string): string;
/** Get the full filesystem path for a team logo */
export declare function getLogoPath(league: string, abbr: string): string;
/** Check if a logo file exists on disk */
export declare function logoExistsOnDisk(league: string, abbr: string): boolean;
/** Query TheSportsDB for a team badge URL */
export declare function searchTheSportsDB(teamName: string, league: string): Promise<{
    badgeUrl: string;
    tsdbTeamName: string;
    tsdbId: string;
} | null>;
/**
 * Search ESPN for a team logo.
 * Major leagues: direct CDN URL by abbreviation.
 * NCAAB: search ESPN teams API → get ESPN team ID → CDN URL.
 */
export declare function searchESPN(teamName: string, league: string, abbr: string): Promise<{
    imageUrl: string;
} | null>;
/** Download a PNG image to a local path with atomic write */
export declare function downloadLogo(imageUrl: string, destPath: string): Promise<{
    success: boolean;
    checksum?: string;
    error?: string;
}>;
/** Full resolution pipeline for a single team */
export declare function resolveTeamLogo(league: string, abbr: string, teamName?: string, force?: boolean): Promise<{
    status: string;
    source: string;
    message: string;
}>;
//# sourceMappingURL=team-asset.d.ts.map