/** * Copyright (c) 2017-2020 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author David Sehnal * @author Alexander Rose */ import { BitFlags } from './bit-flags.js'; import { StringBuilder } from './string-builder.js'; import { UUID } from './uuid.js'; import { Mask } from './mask.js'; import { Progress } from '../mol-task/index.js'; export * from './value-cell.js'; export { BitFlags, StringBuilder, UUID, Mask }; export declare const noop: () => void; export declare function round(n: number, d: number): number; export declare function arrayEqual(arr1: T[], arr2: T[]): boolean; export declare function deepEqual(a: any, b: any): boolean; export declare function shallowEqual(a: any, b: any): boolean; export declare function shallowEqualObjects(a: {}, b: {}): boolean; export declare function shallowEqualArrays(a: any[], b: any[]): boolean; /** Returns `value` if not `undefined`, otherwise returns `defaultValue` */ export declare function defaults(value: T | undefined, defaultValue: T): T; export declare function extend(object: S, source: T, guard?: U): S & T & U; export declare function shallowClone(o: T): T; export declare function _assignType(o: T, ...from: any[]): T; export declare const assign: ((o: T, ...from: any[]) => T); export declare const merge: ((source: T, ...rest: Partial[]) => T); export declare function formatTime(d: Date): string; export declare function formatProgress(p: Progress): string; export declare function formatBytes(count: number): string;