declare namespace java {
    namespace net {
        // @ts-ignore
        interface FileNameMap {
            /**
             * Gets the MIME type for the specified file name.
             */
            // @ts-ignore
             getContentTypeFor(fileName: string): string;
        }
    }
}
