import { ap as AnalyticsBatchRequest, aq as AnalyticsBatchAccepted, a as QuranAnswers, d as QuranAudio, Q as QuranChapters, V as VerseKey, i as AnswersByAyahResponse, k as AnswerCountWithinRangeResponse, h as AnswerQuestion, C as ChapterId, l as ChapterRecitation, N as NormalizedVerseRecitation, I as Pagination, o as Chapter, p as ChapterInfo, q as ChapterInfoResponse, s as HadithReferencesByAyahResponse, x as HadithCountWithinRangeResponse, w as HadithsByAyahResponse, G as Juz, a1 as ContentSyncResourceGroup, ak as ContentResourceSnapshot, _ as ChapterInfoResource, a0 as ChapterReciterResource, Z as LanguageResource, Y as RecitationStylesResource, L as RecitationInfoResource, K as RecitationResource, X as TafsirInfoResource, U as TafsirResource, O as TranslationInfoResource, M as TranslationResource, $ as VerseMediaResource, ag as ContentSyncOptions, aj as ContentSyncResponse, E as Verse, H as HizbNumber, J as JuzNumber, P as PageNumber, R as RubNumber, e as QuranHadithReferences, c as QuranJuzs, f as QuranResources, g as QuranSearch, S as SearchResponse, b as QuranVerses } from './verses-C4J7NqEd.js'; import { R as RawOperation, Q as QuranReflectPostsFacade } from './runtime-utils-CASDV4hu.js'; import { a6 as ServerClientConfig, aa as OperationRequest, G as AppStateTransport, k as ApiParams, a4 as UserSession, a9 as TokenResponse, m as SearchParams } from './app-state-state-DN5xrHqP.js'; export { N as AppStateAccountState, x as AppStateBootstrapPage, y as AppStateChange, D as AppStateChangesOptions, z as AppStateChangesPage, q as AppStateCollection, s as AppStateConfiguration, t as AppStateDocument, u as AppStateDocumentWithEtag, A as AppStateErrorCode, b as AppStateErrorPayload, c as AppStateHttpError, n as AppStateJsonValue, r as AppStateLimits, F as AppStateMutationOptions, v as AppStateMutationResult, w as AppStatePage, C as AppStatePageOptions, K as AppStatePendingDelete, M as AppStatePendingMutation, I as AppStatePendingMutationBase, J as AppStatePendingPut, e as AppStateProtocolError, E as AppStatePutBody, Z as AppStateReconciler, Y as AppStateReconcilerOptions, p as AppStateResponse, R as AppStateStateView, X as AppStateStore, U as AppStateStoreReducer, H as AppStateStoredDocument, o as AppStateSuccess, O as AppStateVisibleDocument, a as QuranHttpError, f as createAppStateMemoryStore, d as createAppStateReconciler, g as getAppStateErrorCode, i as isAppStateHttpError } from './app-state-state-DN5xrHqP.js'; declare const createServerClient: (config: ServerClientConfig) => { analytics: { v1: { events: { submit: (request: AnalyticsBatchRequest) => Promise; }; raw: Record Promise>; }; events: { submit: (request: AnalyticsBatchRequest) => Promise; }; raw: Record Promise>; }; answers: QuranAnswers; audio: QuranAudio; auth: { v1: { appState: AppStateTransport; collections: { addBookmark: (collectionId: string, body: Record) => Promise; create: (body: Record) => Promise; get: (collectionId: string, query?: ApiParams) => Promise; list: (query?: ApiParams) => Promise; listAll: (query?: ApiParams) => Promise; remove: (collectionId: string) => Promise; removeBookmark: (collectionId: string, bookmarkId: string) => Promise; update: (collectionId: string, body: Record) => Promise; }; bookmarks: { create: (body: Record) => Promise; get: (query?: ApiParams | string) => Promise; list: (query?: ApiParams) => Promise; listCollections: (query?: ApiParams) => Promise; listRange: (query?: ApiParams) => Promise; remove: (bookmarkId: string) => Promise; }; goals: { create: (body: Record) => Promise; estimate: (query?: ApiParams) => Promise; getTodaysPlan: (query?: ApiParams) => Promise; remove: (id: string) => Promise; update: (id: string, body: Record) => Promise; }; notes: { create: (body: Record) => Promise; get: (noteId: string) => Promise; list: (query?: ApiParams) => Promise; listByAttachedEntity: (query?: ApiParams) => Promise; listByRange: (query?: ApiParams) => Promise; listByVerseKey: (verseKey: string, query?: ApiParams) => Promise; publish: (noteId: string, body?: Record) => Promise; remove: (noteId: string) => Promise; update: (noteId: string, body: Record) => Promise; }; preferences: { bulkUpdate: (body: Record) => Promise; get: (query?: ApiParams) => Promise; update: (body: Record) => Promise; }; raw: Record; readingSessions: { create: (body: Record) => Promise; list: (query?: ApiParams) => Promise; }; }; appState: AppStateTransport; collections: { addBookmark: (collectionId: string, body: Record) => Promise; create: (body: Record) => Promise; get: (collectionId: string, query?: ApiParams) => Promise; list: (query?: ApiParams) => Promise; listAll: (query?: ApiParams) => Promise; remove: (collectionId: string) => Promise; removeBookmark: (collectionId: string, bookmarkId: string) => Promise; update: (collectionId: string, body: Record) => Promise; }; bookmarks: { create: (body: Record) => Promise; get: (query?: ApiParams | string) => Promise; list: (query?: ApiParams) => Promise; listCollections: (query?: ApiParams) => Promise; listRange: (query?: ApiParams) => Promise; remove: (bookmarkId: string) => Promise; }; goals: { create: (body: Record) => Promise; estimate: (query?: ApiParams) => Promise; getTodaysPlan: (query?: ApiParams) => Promise; remove: (id: string) => Promise; update: (id: string, body: Record) => Promise; }; notes: { create: (body: Record) => Promise; get: (noteId: string) => Promise; list: (query?: ApiParams) => Promise; listByAttachedEntity: (query?: ApiParams) => Promise; listByRange: (query?: ApiParams) => Promise; listByVerseKey: (verseKey: string, query?: ApiParams) => Promise; publish: (noteId: string, body?: Record) => Promise; remove: (noteId: string) => Promise; update: (noteId: string, body: Record) => Promise; }; preferences: { bulkUpdate: (body: Record) => Promise; get: (query?: ApiParams) => Promise; update: (body: Record) => Promise; }; raw: Record; readingSessions: { create: (body: Record) => Promise; list: (query?: ApiParams) => Promise; }; }; chapters: QuranChapters; clearCachedTokens: () => void; content: { v4: { answers: { byAyah: (key: VerseKey, query?: ApiParams) => Promise; countWithinRange: (from: VerseKey, to: VerseKey, query?: ApiParams) => Promise; get: (questionId: string | number) => Promise; }; audio: { chapterRecitation: { get: (reciterId: string, chapterId: ChapterId, query?: ApiParams) => Promise; list: (reciterId: string, query?: ApiParams) => Promise; }; verseRecitation: { byChapter: (chapterId: ChapterId, recitationId: string, query?: ApiParams) => Promise<{ audioFiles: NormalizedVerseRecitation[]; pagination: Pagination; }>; byKey: (verseKey: VerseKey, recitationId: string, query?: ApiParams) => Promise<{ audioFiles: NormalizedVerseRecitation[]; pagination: Pagination; }>; }; }; chapters: { get: (id: ChapterId, query?: ApiParams) => Promise; getInfo: (id: ChapterId, query?: ApiParams) => Promise; getInfoResponse: (id: ChapterId, query?: ApiParams) => Promise; list: (query?: ApiParams) => Promise; }; hadithReferences: { byAyah: (key: VerseKey, query?: ApiParams) => Promise; countWithinRange: (from: VerseKey, to: VerseKey, query?: ApiParams) => Promise; hadithsByAyah: (key: VerseKey, query?: ApiParams) => Promise; }; juzs: { list: () => Promise; }; raw: Record Promise>; resources: { findSnapshot: (resourceGroup: ContentSyncResourceGroup, id: string | number, query?: ApiParams) => Promise>>; chapterInfos: { list: (query?: ApiParams) => Promise; }; chapterReciters: { list: (query?: ApiParams) => Promise; }; languages: { list: (query?: ApiParams) => Promise; }; recitationStyles: { list: (query?: ApiParams) => Promise; }; recitations: { getInfo: (id: string, query?: ApiParams) => Promise; list: (query?: ApiParams) => Promise; }; tafsirs: { getInfo: (id: string, query?: ApiParams) => Promise; list: (query?: ApiParams) => Promise; }; translations: { getInfo: (id: string, query?: ApiParams) => Promise; list: (query?: ApiParams) => Promise; }; verseMedia: { list: (query?: ApiParams) => Promise; }; sync: (query?: ContentSyncOptions) => Promise>>; }; verses: { byChapter: (id: ChapterId, query?: ApiParams) => Promise; byHizb: (id: HizbNumber, query?: ApiParams) => Promise; byJuz: (id: JuzNumber, query?: ApiParams) => Promise; byKey: (key: VerseKey, query?: ApiParams) => Promise; byPage: (page: PageNumber, query?: ApiParams) => Promise; byRange: (from: VerseKey, to: VerseKey, query?: ApiParams) => Promise; byRub: (id: RubNumber, query?: ApiParams) => Promise; random: (query?: ApiParams) => Promise; }; }; answers: { byAyah: (key: VerseKey, query?: ApiParams) => Promise; countWithinRange: (from: VerseKey, to: VerseKey, query?: ApiParams) => Promise; get: (questionId: string | number) => Promise; }; audio: { chapterRecitation: { get: (reciterId: string, chapterId: ChapterId, query?: ApiParams) => Promise; list: (reciterId: string, query?: ApiParams) => Promise; }; verseRecitation: { byChapter: (chapterId: ChapterId, recitationId: string, query?: ApiParams) => Promise<{ audioFiles: NormalizedVerseRecitation[]; pagination: Pagination; }>; byKey: (verseKey: VerseKey, recitationId: string, query?: ApiParams) => Promise<{ audioFiles: NormalizedVerseRecitation[]; pagination: Pagination; }>; }; }; chapters: { get: (id: ChapterId, query?: ApiParams) => Promise; getInfo: (id: ChapterId, query?: ApiParams) => Promise; getInfoResponse: (id: ChapterId, query?: ApiParams) => Promise; list: (query?: ApiParams) => Promise; }; hadithReferences: { byAyah: (key: VerseKey, query?: ApiParams) => Promise; countWithinRange: (from: VerseKey, to: VerseKey, query?: ApiParams) => Promise; hadithsByAyah: (key: VerseKey, query?: ApiParams) => Promise; }; juzs: { list: () => Promise; }; raw: Record Promise>; resources: { findSnapshot: (resourceGroup: ContentSyncResourceGroup, id: string | number, query?: ApiParams) => Promise>>; chapterInfos: { list: (query?: ApiParams) => Promise; }; chapterReciters: { list: (query?: ApiParams) => Promise; }; languages: { list: (query?: ApiParams) => Promise; }; recitationStyles: { list: (query?: ApiParams) => Promise; }; recitations: { getInfo: (id: string, query?: ApiParams) => Promise; list: (query?: ApiParams) => Promise; }; tafsirs: { getInfo: (id: string, query?: ApiParams) => Promise; list: (query?: ApiParams) => Promise; }; translations: { getInfo: (id: string, query?: ApiParams) => Promise; list: (query?: ApiParams) => Promise; }; verseMedia: { list: (query?: ApiParams) => Promise; }; sync: (query?: ContentSyncOptions) => Promise>>; }; verses: { byChapter: (id: ChapterId, query?: ApiParams) => Promise; byHizb: (id: HizbNumber, query?: ApiParams) => Promise; byJuz: (id: JuzNumber, query?: ApiParams) => Promise; byKey: (key: VerseKey, query?: ApiParams) => Promise; byPage: (page: PageNumber, query?: ApiParams) => Promise; byRange: (from: VerseKey, to: VerseKey, query?: ApiParams) => Promise; byRub: (id: RubNumber, query?: ApiParams) => Promise; random: (query?: ApiParams) => Promise; }; }; getUserSession: () => Promise; hadithReferences: QuranHadithReferences; juzs: QuranJuzs; oauth2: { v1: { authorizeUrl: (query: Record) => string; exchangeCode: (params: { code: string; codeVerifier?: string; redirectUri: string; scope?: string; }) => Promise; getUserInfo: (accessToken?: string) => Promise; introspect: (token: string) => Promise; logout: (query?: ApiParams) => Promise; raw: Record; refresh: (refreshToken?: string) => Promise; }; authorizeUrl: (query: Record) => string; exchangeCode: (params: { code: string; codeVerifier?: string; redirectUri: string; scope?: string; }) => Promise; getUserInfo: (accessToken?: string) => Promise; introspect: (token: string) => Promise; logout: (query?: ApiParams) => Promise; raw: Record; refresh: (refreshToken?: string) => Promise; }; quranReflect: { v1: { comments: { [x: string]: (request?: OperationRequest) => Promise; }; posts: QuranReflectPostsFacade; raw: Record Promise>; rooms: { [x: string]: (request?: OperationRequest) => Promise; }; tags: { [x: string]: (request?: OperationRequest) => Promise; }; users: { [x: string]: (request?: OperationRequest) => Promise; }; }; comments: { [x: string]: (request?: OperationRequest) => Promise; }; posts: QuranReflectPostsFacade; raw: Record Promise>; rooms: { [x: string]: (request?: OperationRequest) => Promise; }; tags: { [x: string]: (request?: OperationRequest) => Promise; }; users: { [x: string]: (request?: OperationRequest) => Promise; }; }; raw: { analytics: { v1: Record; }; auth: { v1: Record; }; content: { v4: Record; }; oauth2: { v1: Record; }; quranReflect: { v1: Record; }; search: { v1: Record; }; }; resources: QuranResources; search: QuranSearch & { query: ({ query: searchQuery, ...options }: { query: string; } & Omit) => Promise; raw: Record; v1: { query: ({ query: searchQuery, ...options }: { query: string; } & Omit) => Promise; raw: Record; }; }; verses: QuranVerses; }; type ServerClient = ReturnType; export { AppStateTransport, type ServerClient, createServerClient };