import { JavaClass, BasicOrJavaType } from "java-bridge"; import { Subject as javax_security_auth_Subject } from "./../../../../javax/security/auth/Subject"; /** * This class just defines types, you should import UserPrincipal instead of this. * This was generated by java-bridge. * You should probably not edit this. */ export declare class UserPrincipalClass extends JavaClass { /** * @param var0 original type: 'java.lang.Object' * @return original return type: 'boolean' */ equals(var0: BasicOrJavaType | null): Promise; /** * @param var0 original type: 'java.lang.Object' * @return original return type: 'boolean' */ equalsSync(var0: BasicOrJavaType | null): boolean; /** * @return original return type: 'java.lang.String' */ toString(): Promise; /** * @return original return type: 'java.lang.String' */ toStringSync(): string; /** * @return original return type: 'int' */ hashCode(): Promise; /** * @return original return type: 'int' */ hashCodeSync(): number; /** * @return original return type: 'java.lang.String' */ getName(): Promise; /** * @return original return type: 'java.lang.String' */ getNameSync(): string | null; /** * @param var0 original type: 'javax.security.auth.Subject' * @return original return type: 'boolean' */ implies(var0: javax_security_auth_Subject | null): Promise; /** * @param var0 original type: 'javax.security.auth.Subject' * @return original return type: 'boolean' */ impliesSync(var0: javax_security_auth_Subject | null): boolean; } declare const UserPrincipal_base: typeof UserPrincipalClass; /** * Class java.nio.file.attribute.UserPrincipal. * * This actually imports the java class for further use. * The class UserPrincipalClass 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 UserPrincipal extends UserPrincipal_base { /** * Private constructor to prevent instantiation * as this is either an abstract class or an interface */ private constructor(); } export default UserPrincipal; //# sourceMappingURL=UserPrincipal.d.ts.map