import { FileKindType, FileProviderType, PreviewFormatType, ProviderType } from '../types/files.types';
import { iconNamesType } from './icons';
export declare const fileSizeAsString: (size: number, significantDigits?: number) => string;
export declare function getExtension(name: string): string;
export declare function isAudio(ext: string): boolean;
export declare function isImage(ext: string): boolean;
export declare function isWebImage(path: string): boolean;
export declare function isBitmap(path: string): boolean;
export declare function isMetaFile(path: string): boolean;
export declare function isVideo(ext: string): boolean;
export declare function isMarkdown(ext: string): boolean;
export declare function isMarkup(ext: string): boolean;
export declare function isCode(ext: string): boolean;
export declare function isText(ext: string): boolean;
export declare function isOfficeDocument(path: string): boolean;
export declare function getIcon(name: string): {
    icon: iconNamesType;
    color?: string;
};
/**
 * Returns preview formats that can be rendered directly in the browser
 *
 * @param {string} name - Name of the file
 * @returns PreviewFormatType
 */
export declare function getWebPreviewFormat(name: string): PreviewFormatType;
export declare function getProvider(provider: FileProviderType | undefined): ProviderType | "";
export declare function getKind(name: string): FileKindType;
export declare function handleSelectFilename(e: Event): void;
export declare function getHash(blob?: Blob, algorithm?: AlgorithmIdentifier): Promise<string>;
//# sourceMappingURL=files.d.ts.map