/** * Cannot do Math.log(x) / Math.log(10) bc if IEEE floating point issue * @param x number */ export declare function getMagnitude(x: number): number; export declare function repeat(s: string, times: number): string; export declare function setInternalSlot(map: WeakMap, pl: Instance, field: Field, value: NonNullable[Field]): void; export declare function setMultiInternalSlots(map: WeakMap, pl: Instance, props: Pick, K>): void; export declare function getInternalSlot(map: WeakMap, pl: Instance, field: Field): Internal[Field]; export declare function getMultiInternalSlots(map: WeakMap, pl: Instance, ...fields: Field[]): Pick; export interface LiteralPart { type: 'literal'; value: string; } export declare function isLiteralPart(patternPart: LiteralPart | { type: string; value?: string; }): patternPart is LiteralPart; export declare function defineProperty(target: T, name: string | symbol, { value }: { value: any; } & ThisType): void; export declare const UNICODE_EXTENSION_SEQUENCE_REGEX: RegExp; export declare function invariant(condition: boolean, message: string, Err?: any): asserts condition;