import type { Locale } from 'decentraland-ui/dist/components/Language/Language'; import type { DataByKey, Model, ModelById } from './types'; export declare function setDateFnsLocale(locale: Locale): void; export declare function isMobile(): boolean; export declare function insertScript({ type, async, ...props }: { [x: string]: any; type?: string | undefined; async?: boolean | undefined; }): HTMLScriptElement; export declare function toObjectById(values: T[], currentValues?: ModelById): ModelById; export declare function toObjectByKey(values: T[], currentValues: DataByKey | undefined, key: keyof T): DataByKey; export declare function distanceInWordsToNow(date: number | string, addSuffix?: boolean): string; export declare function formatDate(date: number | string, format?: string): string; export declare function formatDateTime(date: number | string, format?: string): string; export declare function formatNumber(amount?: number, digits?: number): string; export declare function getBaseUrl(): "https://decentraland.zone" | "https://decentraland.today" | "https://decentraland.org";