import type seedrandom from "seedrandom"; /** * Utitilies for generating [[IRuntime.replicaID]]s. */ export declare class ReplicaIDs { private constructor(); /** * Characters used for generated replicaIDs: the base64 chars. */ static readonly CHARS = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; /** * The default length of a replicaID, in characters. */ static readonly DEFAULT_LENGTH = 10; /** * Returns a cryptographically random replicaID made of base64 characters. */ static random(length?: number): string; /** * Returns a pseudorandom replicaID made of base64 characters * generated from `rng` (npm package "seedrandom"). * * For tests and benchmarks, it is recommended to use such a * replicaID with a fixed seed. You can supply the replicaID * to [[CRuntime]] using its `options.debugReplicaID` constructor * arg. */ static pseudoRandom(rng: seedrandom.prng, length?: number): string; }