export interface SharedPromise { value: T | undefined; promise: Promise; } export declare function sharedPromise(getter: () => Promise): SharedPromise; export declare function arrayWrap(value: T | T[]): T[]; export declare function trimUndefinedProperties(object: any): void; export declare function isTweetStreamV2ErrorPayload(payload: any): boolean; export declare function hasMultipleItems(item: string | string[]): boolean; export interface IDeprecationWarning { instance: string; method: string; problem: string; resolution: string; } export declare function safeDeprecationWarning(message: IDeprecationWarning): void;