declare namespace java {
    namespace nio {
        namespace file {
            // @ts-ignore
             class LinkPermission extends java.security.BasicPermission {
                /**
                 * Constructs a {@code LinkPermission} with the specified name.
                 */
                // @ts-ignore
                constructor(name: string)
                /**
                 * Constructs a {@code LinkPermission} with the specified name.
                 */
                // @ts-ignore
                constructor(name: string, actions: string)
            }
        }
    }
}
