import { type PRNG } from "./random"; export type ProbabilityEvent = { value: T; p?: number; }; export declare class Probability { #private; constructor(events?: ProbabilityEvent[], rng?: PRNG | null); event(event: ProbabilityEvent): this; sample(): ProbabilityEvent; take(): ProbabilityEvent; }