/**
 * PIFF 3.0 Player Prop Loader for Twitter Bot
 *
 * Adapted from Rainmaker's piff.ts. Reads today's PIFF 3.0 pick files and
 * exposes props by team abbreviation. Includes team-name reverse lookup
 * (full name -> abbreviation) for matching enriched game data to PIFF teams.
 *
 * PIFF 3.0: Direction-agnostic (overs + unders), DVP primary filter, H2H, tiers.
 */
export interface PiffLeg {
    name: string;
    team: string;
    stat: string;
    line: number;
    edge: number;
    prob: number;
    direction?: string;
    tier?: number;
    tier_label?: string;
    dvp_adj?: number;
    dvp_rank?: number;
    dvp_tier?: string;
    dvp?: number;
    h2h_games?: number;
    h2h_hr?: number;
    h2h_flag?: string;
    opponent?: string;
    is_home?: boolean;
    szn_hr?: number;
    l5_hr?: number;
    l10_hr?: number;
    gap?: number;
    league?: string;
}
/**
 * Get the team abbreviation for a full team name.
 * Returns the input as-is (uppercased) if no mapping found.
 * For soccer leagues, returns the full name since PIFF uses full names.
 */
export declare function getTeamAbbrev(fullName: string, league?: string): string;
/**
 * Load all PIFF 3.0 props for today, cached per date.
 * Reloads when the ET date changes (i.e. once per day).
 */
export declare function getPiffMapCached(): Record<string, PiffLeg[]>;
/**
 * Force-refresh the PIFF cache (call at start of each worker cycle).
 */
export declare function refreshPiffCache(): void;
/**
 * Load all PIFF 3.0 props for today, indexed by uppercase team abbreviation.
 */
export declare function loadTodaysPiffProps(): Record<string, PiffLeg[]>;
/**
 * Get PIFF props relevant to a specific game by matching team abbreviations.
 */
export declare function getPiffPropsForGame(homeShort: string, awayShort: string, piffMap?: Record<string, PiffLeg[]>): PiffLeg[];
/**
 * Format PIFF props into a prompt section for Grok.
 */
export declare function formatPiffForPrompt(props: PiffLeg[]): string;
/**
 * Get all T1_LOCK and T2_STRONG legs from today's PIFF, sorted by edge descending.
 */
export declare function getTopPiffLegs(maxLegs?: number): PiffLeg[];
//# sourceMappingURL=piff-loader.d.ts.map