import File from '../../../java/io/File.js'; import Path from '../../../java/nio/file/Path.js'; export default interface FileLike { getContents(): Array; getFieldName(): string; getFileName(): string; } export default class FileLike { static get $javaClass(): any; constructor(file: File); constructor(path: Path); constructor(_name: string, path: Path); constructor(_name: string, contents: Array); constructor(_name: string, contents: string); constructor(_name: string, file: File); constructor(fieldName: string, fileName: string, contents: Array); }