import AbstractInterruptibleChannel from './spi/AbstractInterruptibleChannel.js'; import ByteBuffer from '../../../java/nio/ByteBuffer.js'; import FileAttribute from '../../../java/nio/file/attribute/FileAttribute.js'; import FileChannel$MapMode from './FileChannel$MapMode.js'; import FileLock from './FileLock.js'; import GatheringByteChannel from './GatheringByteChannel.js'; import MappedByteBuffer from '../../../java/nio/MappedByteBuffer.js'; import OpenOption from '../../../java/nio/file/OpenOption.js'; import Path from '../../../java/nio/file/Path.js'; import ReadableByteChannel from './ReadableByteChannel.js'; import ScatteringByteChannel from './ScatteringByteChannel.js'; import SeekableByteChannel from './SeekableByteChannel.js'; import WritableByteChannel from './WritableByteChannel.js'; export default interface FileChannel extends AbstractInterruptibleChannel, SeekableByteChannel, GatheringByteChannel, ScatteringByteChannel { close(): void; force(arg0: boolean): void; isOpen(): boolean; lock(): FileLock; lock(arg0: number, arg1: number, arg2: boolean): FileLock; map(arg0: FileChannel$MapMode, arg1: number, arg2: number): MappedByteBuffer; position(): number; position(arg0: number): FileChannel; position(arg0: number): SeekableByteChannel; read(dsts: Array): number; read(arg0: ByteBuffer): number; read(arg0: ByteBuffer, arg1: number): number; read(arg0: Array, arg1: number, arg2: number): number; size(): number; transferFrom(arg0: ReadableByteChannel, arg1: number, arg2: number): number; transferTo(arg0: number, arg1: number, arg2: WritableByteChannel): number; truncate(arg0: number): FileChannel; truncate(arg0: number): SeekableByteChannel; tryLock(): FileLock; tryLock(arg0: number, arg1: number, arg2: boolean): FileLock; write(srcs: Array): number; write(arg0: ByteBuffer): number; write(arg0: ByteBuffer, arg1: number): number; write(arg0: Array, arg1: number, arg2: number): number; } export default class FileChannel { static get $javaClass(): any; static open(path: Path, options: Array): FileChannel; static open(path: Path, options: any, attrs: Array): FileChannel; }