export declare function setProfiling(enabled: boolean): void; export declare function markStart(label: string): void; export declare function measureMark(label: string): void; export declare function wrap(value: Array | T | undefined): Array; export declare function unwrap(arr: Array): Array | T | undefined; export type NonStringIterable = Iterable & object; /** * Ensures a value is an array. * * This function does the same thing as wrap() above except it handles nulls * and iterables, so it is appropriate for wrapping user-provided element * children. */ export declare function arrayify(value: NonStringIterable | T | null | undefined): Array; export declare function isIteratorLike(value: any): value is Iterator | AsyncIterator; export declare function isPromiseLike(value: any): value is PromiseLike; export declare function safeRace(contenders: Iterable>): Promise>;