declare namespace java {
    namespace io {
        // @ts-ignore
        interface Flushable {
            /**
             * Flushes this stream by writing any buffered output to the underlying
             * stream.
             */
            // @ts-ignore
             flush(): void;
        }
    }
}
