declare namespace org {
    namespace spongepowered {
        namespace api {
            namespace text {
                namespace BookView {
                    // @ts-ignore
                     class Builder implements org.spongepowered.api.util.ResettableBuilder {
                        constructor()
                        /**
                         * Sets the title of the {@link BookView}.
                         */
                        // @ts-ignore
                        public title(title: org.spongepowered.api.text.Text): org.spongepowered.api.text.BookView.Builder;
                        /**
                         * Sets the author of the {@link BookView}.
                         */
                        // @ts-ignore
                        public author(author: org.spongepowered.api.text.Text): org.spongepowered.api.text.BookView.Builder;
                        /**
                         * Adds a page to the end of the {@link BookView}.
                         */
                        // @ts-ignore
                        public addPage(page: org.spongepowered.api.text.Text): org.spongepowered.api.text.BookView.Builder;
                        /**
                         * Adds multiple pages to the end of the {@link BookView}.
                         */
                        // @ts-ignore
                        public addPages(pages: any[] /*java.util.Collection*/): org.spongepowered.api.text.BookView.Builder;
                        /**
                         * Adds multiple pages to the end of the {@link BookView}.
                         */
                        // @ts-ignore
                        public addPages(pages: org.spongepowered.api.text.Text): org.spongepowered.api.text.BookView.Builder;
                        /**
                         * Inserts a page at the specified index of the {@link BookView}.
                         */
                        // @ts-ignore
                        public insertPage(i: number, page: org.spongepowered.api.text.Text): org.spongepowered.api.text.BookView.Builder;
                        /**
                         * Inserts multiple pages at the specified index of the
                         * {@link BookView}.
                         */
                        // @ts-ignore
                        public insertPages(i: number, pages: any[] /*java.util.Collection*/): org.spongepowered.api.text.BookView.Builder;
                        /**
                         * Inserts multiple pages at the specified index of the
                         * {@link BookView}.
                         */
                        // @ts-ignore
                        public insertPages(i: number, pages: org.spongepowered.api.text.Text): org.spongepowered.api.text.BookView.Builder;
                        /**
                         * Removes a page from the {@link BookView}.
                         */
                        // @ts-ignore
                        public removePage(page: org.spongepowered.api.text.Text): org.spongepowered.api.text.BookView.Builder;
                        /**
                         * Removes the page at the specified index of the {@link BookView}.
                         */
                        // @ts-ignore
                        public removePage(i: number): org.spongepowered.api.text.BookView.Builder;
                        /**
                         * Removes multiple pages from the {@link BookView}.
                         */
                        // @ts-ignore
                        public removePages(pages: any[] /*java.util.Collection*/): org.spongepowered.api.text.BookView.Builder;
                        /**
                         * Removes multiple pages from the {@link BookView}.
                         */
                        // @ts-ignore
                        public removePages(pages: org.spongepowered.api.text.Text): org.spongepowered.api.text.BookView.Builder;
                        /**
                         * Removes all pages from the {@link BookView}.
                         */
                        // @ts-ignore
                        public clearPages(): org.spongepowered.api.text.BookView.Builder;
                        /**
                         * Creates a new {@link BookView} from the current state of this
                         * builder.
                         */
                        // @ts-ignore
                        public build(): org.spongepowered.api.text.BookView;
                        // @ts-ignore
                        public from(value: org.spongepowered.api.text.BookView): org.spongepowered.api.text.BookView.Builder;
                        // @ts-ignore
                        public reset(): org.spongepowered.api.text.BookView.Builder;
                    }
                }
            }
        }
    }
}
