import { GetZwizCheckBotPageResponse } from '../api/type';
import { UserAddress, TFileItem, FileMessage, ChatConnection, TChatItem, TConnection, TZwizPackageData, TZwizPackageInfo, ChatSender } from '../store/type';
export declare const getAddressAsText: (address?: UserAddress | null) => string;
export declare const isUrl: (value: string) => boolean;
export declare const getFileNameFromUrl: (url: string) => string;
export declare const getFileTypeAndMimeFromUrl: (url: string) => TFileItem;
export declare const getFileTypeFromMime: (mimeType: string) => TFileItem;
export declare const getFileTypeFromBlobUrl: (blobUrl: string) => Promise<TFileItem>;
export declare function isValidTelNumber(value: string): boolean;
export declare const downloadFileMessage: (file: Pick<FileMessage, "url" | "name">) => Promise<void>;
export declare const getConnectionId: (connection?: ChatConnection) => string | undefined;
export declare const getConnectionItem: (chatItem?: Pick<TChatItem, "connection">) => TConnection | null;
export declare const getZwizPackageData: (chatItem?: Pick<TChatItem, "connection">) => TZwizPackageData | null;
export declare const getZwizPackageType: (zwizCheckBotPage: GetZwizCheckBotPageResponse) => TZwizPackageInfo;
export declare const convertBytesToGB: (bytes: number, decimals?: number) => number;
export declare const openWindow: (url: string, windowName?: string) => void;
export declare const getSenderName: (sender?: ChatSender) => string;
