import { JavaClass } from "java-bridge"; import { WatchKey as java_nio_file_WatchKey } from "./WatchKey"; import { WatchService as java_nio_file_WatchService } from "./WatchService"; import { WatchEvent$Kind as java_nio_file_WatchEvent$Kind } from "./WatchEvent$Kind"; import { WatchEvent$Modifier as java_nio_file_WatchEvent$Modifier } from "./WatchEvent$Modifier"; /** * This class just defines types, you should import Watchable instead of this. * This was generated by java-bridge. * You should probably not edit this. */ export declare class WatchableClass extends JavaClass { /** * @param var0 original type: 'java.nio.file.WatchService' * @param var1 original type: 'java.nio.file.WatchEvent$Kind[]' * @param var2 original type: 'java.nio.file.WatchEvent$Modifier[]' * @return original return type: 'java.nio.file.WatchKey' */ register(var0: java_nio_file_WatchService | null, var1: (java_nio_file_WatchEvent$Kind | null)[] | null, var2: (java_nio_file_WatchEvent$Modifier | null)[] | null): Promise; /** * @param var0 original type: 'java.nio.file.WatchService' * @param var1 original type: 'java.nio.file.WatchEvent$Kind[]' * @param var2 original type: 'java.nio.file.WatchEvent$Modifier[]' * @return original return type: 'java.nio.file.WatchKey' */ registerSync(var0: java_nio_file_WatchService | null, var1: (java_nio_file_WatchEvent$Kind | null)[] | null, var2: (java_nio_file_WatchEvent$Modifier | null)[] | null): java_nio_file_WatchKey | null; /** * @param var0 original type: 'java.nio.file.WatchService' * @param var1 original type: 'java.nio.file.WatchEvent$Kind[]' * @return original return type: 'java.nio.file.WatchKey' */ register(var0: java_nio_file_WatchService | null, var1: (java_nio_file_WatchEvent$Kind | null)[] | null): Promise; /** * @param var0 original type: 'java.nio.file.WatchService' * @param var1 original type: 'java.nio.file.WatchEvent$Kind[]' * @return original return type: 'java.nio.file.WatchKey' */ registerSync(var0: java_nio_file_WatchService | null, var1: (java_nio_file_WatchEvent$Kind | null)[] | null): java_nio_file_WatchKey | null; } declare const Watchable_base: typeof WatchableClass; /** * Class java.nio.file.Watchable. * * This actually imports the java class for further use. * The class WatchableClass 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 Watchable extends Watchable_base { /** * Private constructor to prevent instantiation * as this is either an abstract class or an interface */ private constructor(); } export default Watchable; //# sourceMappingURL=Watchable.d.ts.map