declare namespace java {
    namespace lang {
        // @ts-ignore
         class StringIndexOutOfBoundsException extends java.lang.IndexOutOfBoundsException {
            /**
             * Constructs a {@code StringIndexOutOfBoundsException} with no
             * detail message.
             */
            // @ts-ignore
            constructor()
            /**
             * Constructs a {@code StringIndexOutOfBoundsException} with
             * the specified detail message.
             */
            // @ts-ignore
            constructor(s: string)
            /**
             * Constructs a new {@code StringIndexOutOfBoundsException}
             * class with an argument indicating the illegal index.
             */
            // @ts-ignore
            constructor(index: number)
        }
    }
}
