export declare class Utils { static areEqual(value: unknown, other: unknown): boolean; static assertUnreachable(_x: never): never; static clone(value: T): T; /** * Find the greatest common divisor of 2 numbers */ static gcd(a: number, b: number): number; /** * Find the least dividend and divisor by given quotient */ static ldd(quotient: number, divisorLimit?: number): { dividend: number; divisor: number; } | null; /** * Returns a function, that, as long as it continues to be invoked, will not * be triggered. The function will be called after it stops being called for * N milliseconds. */ static debounce(func: (...args: any[]) => void, wait: number): (...args: unknown[]) => void; static throttle any>(func: T, wait: number): (...args: Parameters) => ReturnType; static sleep: (ms: number) => Promise; static poll: (fn: () => Promise, continueWhileTrueFn: (input: T) => boolean, ms?: number) => Promise; static nameof: (name: keyof T) => keyof T; static unsubscribe(sub: UnsubscribeMethod | UnsubscribeMethod[] | null | undefined): void; } export type Without = Pick>; export type UnsubscribeMethod = () => void;