import type { Client } from '../driver'; import type { ScoreBoardGetOptions, ScoreBoardGetOutput, ScoreBoardOptions, ScoreBoardOptionsInput } from './types'; export declare class ScoreBoard { protected client: Client; protected options: ScoreBoardOptions; constructor(client: Client, options?: ScoreBoardOptionsInput); get(options?: ScoreBoardGetOptions): Promise; clear(): Promise; /** * Set the score for a given key. * THe score will be set on default to performance.now() * * @param id * @param score */ add(id: string, score?: number): Promise; /** * Clear the score for a given key. * * @param id */ drop(id: string): Promise; }