import { JavaClass } from "java-bridge"; import { List as java_util_List } from "./../../util/List"; import { Watchable as java_nio_file_Watchable } from "./Watchable"; /** * This class just defines types, you should import WatchKey instead of this. * This was generated by java-bridge. * You should probably not edit this. */ export declare class WatchKeyClass extends JavaClass { /** * @return original return type: 'java.util.List' */ pollEvents(): Promise; /** * @return original return type: 'java.util.List' */ pollEventsSync(): java_util_List | null; /** * @return original return type: 'void' */ cancel(): Promise; /** * @return original return type: 'void' */ cancelSync(): void; /** * @return original return type: 'java.nio.file.Watchable' */ watchable(): Promise; /** * @return original return type: 'java.nio.file.Watchable' */ watchableSync(): java_nio_file_Watchable | null; /** * @return original return type: 'boolean' */ isValid(): Promise; /** * @return original return type: 'boolean' */ isValidSync(): boolean; /** * @return original return type: 'boolean' */ reset(): Promise; /** * @return original return type: 'boolean' */ resetSync(): boolean; } declare const WatchKey_base: typeof WatchKeyClass; /** * Class java.nio.file.WatchKey. * * This actually imports the java class for further use. * The class WatchKeyClass 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 WatchKey extends WatchKey_base { /** * Private constructor to prevent instantiation * as this is either an abstract class or an interface */ private constructor(); } export default WatchKey; //# sourceMappingURL=WatchKey.d.ts.map