import { LogLevel } from '../types/interfaces';
import { DialogProps } from '../types';
export declare const isDev: () => boolean;
export declare const log: (type: keyof typeof LogLevel, text: string, data?: any, forUser?: boolean) => void;
export declare const getRoomId: (pathname: string) => string;
export declare const parseMessage: (message: string) => object;
export declare const parseQueryString: () => Record<string, string> | null;
export declare const getCodec: () => string;
export declare const getPathname: () => string | null;
export declare const dateToString: (date: Date) => string;
export declare const dateToTime: (date: Date) => string;
export declare const dateToDateTime: (date: Date) => string;
export declare function getUTCDate(date: string): Date;
export declare const isMobile: () => boolean;
export declare const getDialogPosition: ({ _clientX, _clientY, width, height, }: {
    _clientX: number;
    _clientY: number;
    width: number;
    height: number;
}) => {
    clientX: number;
    clientY: number;
};
export declare const isClickByDialog: ({ clientY, clientX, dialog, }: {
    clientX: number;
    clientY: number;
    dialog: Omit<DialogProps<any>, 'children'>;
}) => boolean;
export declare const rangeRandom: ({ min, max }: {
    min: number;
    max: number;
}) => number;
export declare const getTime: (startTime: number) => string;
export declare const getDocumentWidth: () => number;
