import { R as RawOperation, Q as QuranReflectPostsFacade } from './runtime-utils-BgscSsmR.mjs'; import { a7 as PublicClientConfig, G as AppStateTransport, k as ApiParams, a4 as UserSession, a9 as TokenResponse, aa as OperationRequest } from './app-state-state-DN5xrHqP.mjs'; 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, a5 as TokenStorage, f as createAppStateMemoryStore, d as createAppStateReconciler, g as getAppStateErrorCode, i as isAppStateHttpError } from './app-state-state-DN5xrHqP.mjs'; declare const createPublicClient: (config: PublicClientConfig) => { answers: ((...args: unknown[]) => Promise) & { [key: string]: (((...args: unknown[]) => Promise) & /*elided*/ any) | undefined; }; audio: ((...args: unknown[]) => Promise) & { [key: string]: (((...args: unknown[]) => Promise) & /*elided*/ any) | undefined; }; 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: ((...args: unknown[]) => Promise) & { [key: string]: (((...args: unknown[]) => Promise) & /*elided*/ any) | undefined; }; clearCachedTokens: () => void; content: ((...args: unknown[]) => Promise) & { [key: string]: (((...args: unknown[]) => Promise) & /*elided*/ any) | undefined; }; getUserSession: () => Promise; hadithReferences: ((...args: unknown[]) => Promise) & { [key: string]: (((...args: unknown[]) => Promise) & /*elided*/ any) | undefined; }; juzs: ((...args: unknown[]) => Promise) & { [key: string]: (((...args: unknown[]) => Promise) & /*elided*/ any) | undefined; }; oauth2: { v1: { authorizeUrl: (query: Record) => string; exchangeCode: (params: { code: string; codeVerifier?: string; redirectUri: string; scope?: string; }) => Promise; getUserInfo: (accessToken?: string) => Promise; introspect: () => never; 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: () => never; 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: { auth: { v1: Record; }; content: { v4: ((...args: unknown[]) => Promise) & { [key: string]: (((...args: unknown[]) => Promise) & /*elided*/ any) | undefined; }; }; oauth2: { v1: Record; }; quranReflect: { v1: Record Promise>; }; search: { v1: ((...args: unknown[]) => Promise) & { [key: string]: (((...args: unknown[]) => Promise) & /*elided*/ any) | undefined; }; }; }; resources: ((...args: unknown[]) => Promise) & { [key: string]: (((...args: unknown[]) => Promise) & /*elided*/ any) | undefined; }; search: ((...args: unknown[]) => Promise) & { [key: string]: (((...args: unknown[]) => Promise) & /*elided*/ any) | undefined; }; verses: ((...args: unknown[]) => Promise) & { [key: string]: (((...args: unknown[]) => Promise) & /*elided*/ any) | undefined; }; }; type PublicClient = ReturnType; export { AppStateTransport, type PublicClient, UserSession, createPublicClient };