import { FetchCollection } from './collection/collection.js'; import { BookCrossref } from './book/crossref.js'; import { GlossesBook } from './book/glosses.js'; import { NotesBook } from './book/notes.js'; import { TranslationExtra } from './collection/bibles_extra.js'; import { SearchWords } from './other/search.js'; import { BibleBookHtml, BibleBookTxt, BibleBookUsfm, BibleBookUsx } from './book/bible.js'; import { RequestHandler } from './assets/request.js'; import type { UsageOptions, UsageConfig } from './assets/types'; export interface FetchClientConfig { endpoints?: string[]; data_endpoint?: string; usage?: UsageOptions; remember_fetches?: boolean; } export declare class FetchClient { _endpoints: string[]; _data_endpoint: string; _usage: UsageConfig; collection: FetchCollection | undefined; requester: RequestHandler; constructor(config?: FetchClientConfig); fetch_collection(): Promise; fetch_book(resource: string, book: string, format?: 'html'): Promise; fetch_book(resource: string, book: string, format: 'usx'): Promise; fetch_book(resource: string, book: string, format: 'usfm'): Promise; fetch_book(resource: string, book: string, format: 'txt'): Promise; fetch_translation_extras(resource: string): Promise; fetch_glosses(resource: string, book: string): Promise; fetch_notes(resource: string, book: string, format?: 'html' | 'txt'): Promise; fetch_crossref(book: string, size?: 'small' | 'medium' | 'large'): Promise; fetch_search(id: string, format: 'strongs' | 'original'): Promise; }