import type { ClientOptions } from './transport.ts'; import type { MapStats, MatchOptions, MatchPage, OperatorStats, Platform, PlayerOverview, Playlist, PlaylistOptions, SeasonFilters, SegmentFilters, StatsSegment, TrackerResult } from './types.ts'; /** A reusable statistics client with bounded requests and explicit cleanup. */ export declare class R6StatsClient { #private; constructor(options?: ClientOptions); /** Retrieve identity, lifetime totals, aliases and recorded season statistics. */ getOverview(platform: Platform, username: string): Promise>; /** Select recorded seasons from the shared profile response. */ getSeasons(platform: Platform, username: string, filters?: SeasonFilters): Promise>; /** Retrieve one playlist's recorded current season, selected season or lifetime. */ getPlaylist(platform: Platform, username: string, playlist: Playlist, options?: PlaylistOptions): Promise>; /** Retrieve Ranked totals using the same season semantics as getPlaylist. */ getRanked(platform: Platform, username: string, options?: PlaylistOptions): Promise>; /** Retrieve Unranked without substituting combined lifetime statistics. */ getUnranked(platform: Platform, username: string, options?: PlaylistOptions): Promise>; /** Retrieve Quick Match without substituting combined lifetime statistics. */ getQuickMatch(platform: Platform, username: string, options?: PlaylistOptions): Promise>; /** Retrieve exactly one recent-match page for the requesting player. */ getMatches(platform: Platform, username: string, options?: MatchOptions): Promise>; /** Retrieve operator match and round statistics from the public frontend. */ getOperators(platform: Platform, username: string, filters?: SegmentFilters): Promise>; /** Find one operator slug without making a second request for its statistics. */ getOperator(platform: Platform, username: string, operator: string, filters?: SegmentFilters): Promise>; /** Retrieve map statistics, including their documented coverage boundary. */ getMaps(platform: Platform, username: string, filters?: SegmentFilters): Promise>; /** Close this client's browser and discard its response cache. */ close(): Promise; } /** Create a reusable client with headless browser handling enabled by default. */ export declare function createClient(options?: ClientOptions): R6StatsClient;