import { JavaClass } from "java-bridge"; import { ByteBuffer as java_nio_ByteBuffer } from "./../ByteBuffer"; /** * This class just defines types, you should import ReadableByteChannel instead of this. * This was generated by java-bridge. * You should probably not edit this. */ export declare class ReadableByteChannelClass extends JavaClass { /** * @param var0 original type: 'java.nio.ByteBuffer' * @return original return type: 'int' */ read(var0: java_nio_ByteBuffer | null): Promise; /** * @param var0 original type: 'java.nio.ByteBuffer' * @return original return type: 'int' */ readSync(var0: java_nio_ByteBuffer | null): number; /** * @return original return type: 'void' */ close(): Promise; /** * @return original return type: 'void' */ closeSync(): void; /** * @return original return type: 'boolean' */ isOpen(): Promise; /** * @return original return type: 'boolean' */ isOpenSync(): boolean; } declare const ReadableByteChannel_base: typeof ReadableByteChannelClass; /** * Class java.nio.channels.ReadableByteChannel. * * This actually imports the java class for further use. * The class ReadableByteChannelClass only defines types, this is the class you should actually import. * Please note that this statement imports the underlying java class at runtime, which may take a while. * This was generated by java-bridge. * You should probably not edit this. */ export declare class ReadableByteChannel extends ReadableByteChannel_base { /** * Private constructor to prevent instantiation * as this is either an abstract class or an interface */ private constructor(); } export default ReadableByteChannel; //# sourceMappingURL=ReadableByteChannel.d.ts.map