import { NavigationItemViewType } from '../types/Plugins';

export declare const downloadFile: (url: string) => Promise<void>;
export declare const copyToClipboard: (text: string) => Promise<void>;
export declare const getFileSize: (byteSize: number, decimals: number) => string;
export declare const getModuleKey: ({ namespace, viewType, }: {
    namespace: string;
    viewType: NavigationItemViewType;
}, locale: string) => string;
/**
 * Create accessor function that gets value by path (like 'person.name', 'person.address[0].street')
 * @template T
 * @param {object} obj - Source object
 * @param {string} pathAsString - Path to specific property
 * @return {T} The value of the property found in the specified path
 */
export declare const getBy: <T>(obj: any, pathAsString: any) => T;
