molstar
Version:
A comprehensive macromolecular library.
19 lines (18 loc) • 525 B
TypeScript
/**
* Copyright (c) 2018-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
*
* @author Alexander Rose <alexander.rose@weirdbyte.de>
*/
/** A File or Blob object or a URL string */
export declare type FileInput = File | Blob | string;
export interface FileInfo {
path: string;
name: string;
ext: string;
base: string;
dir: string;
protocol: string;
query: string;
src: FileInput;
}
export declare function getFileInfo(file: FileInput): FileInfo;