import { IMedia } from '../types'; export declare const MOBILE_WIDTH_THRESHOLD = 740; declare abstract class Helpers { static createArray(length: number): unknown[]; static chunkArray(array: T[], chunkSize: number): T[][]; static getAbsoluteBackgroundColor(element?: Element | null): string; static isValidJson(jsonString: string): boolean; /** * Check if the client device is a mobile */ static isMobile(width: number): boolean; static pushPostToHistory(post: IMedia): void; static replacePostInHistory(post: IMedia): void; static uniqId(): string; /** * Randomly create an id that have low chances to collide */ static randomId(): string; } export { Helpers };