icebox/dist/file/index.d.ts

12 lines
231 B
TypeScript

interface FileInfo {
success: boolean;
hash?: string;
size?: number;
created?: number;
error?: Error | undefined;
}
export declare class File {
static info(filePath: string): Promise<FileInfo>;
}
export {};