import { AssembleModelsOptions } from "../types/assemble-models-options.js"; export declare function assembleModels({ appId, remote, storage, authMediator, stripePopups, chatConnect, }: AssembleModelsOptions): Promise<{ exampleModel: { state: { accessOp: import("../../../framework/ops.js").Op; }; subscribe: (subscription: import("@chasemoskal/snapstate").Subscription<{ accessOp: import("../../../framework/ops.js").Op; }>) => () => void; updateAccessOp: (op: import("../../../framework/ops.js").Op) => void; }; appsModel: { state: { active: boolean; appRecords: import("../../../framework/ops.js").Op; addingNewApp: import("../../../framework/ops.js").Op; }; subscribe: (subscription: import("@chasemoskal/snapstate").Subscription<{ active: boolean; appRecords: import("../../../framework/ops.js").Op; addingNewApp: import("../../../framework/ops.js").Op; }>) => () => void; appEditService: { updateApp({ appId: appIdString, appDraft }: { appId: string; appDraft: import("../../../features/auth/aspects/apps/types/app-draft.js").AppDraft; }): Promise; deleteApp({ appId: appIdString }: { appId: string; }): Promise; listAdmins({ appId: appIdString }: { appId: string; }): Promise; assignPlatformUserAsAdmin({ appId: appIdString, platformUserId: platformUserIdString }: { appId: string; platformUserId: string; }): Promise; assignAdmin({ appId: appIdString, email }: { appId: string; email: string; }): Promise; revokeAdmin({ appId: appIdString, userId: userIdString }: { appId: string; userId: string; }): Promise; }; getApp: (appId: string) => import("../../../features/auth/aspects/apps/types/app-display.js").AppDisplay; loadApps: () => Promise; deleteApp: (appId: string) => Promise; updateApp: (appId: string, appDraft: import("../../../features/auth/aspects/apps/types/app-draft.js").AppDraft) => Promise; registerApp: (appDraft: import("../../../features/auth/aspects/apps/types/app-draft.js").AppDraft) => Promise; updateAccessOp(op: import("../../../framework/ops.js").Op): Promise; }; chatModel: { state: { accessOp: import("../../../framework/ops.js").Op; connectionOp: import("../../../framework/ops.js").Op; cache: { mutedUserIds: string[]; roomStats: import("../../../features/chat/common/types/chat-concepts.js").ChatStats; rooms: { [key: string]: { status: import("../../../features/chat/common/types/chat-concepts.js").ChatStatus; posts: import("../../../features/chat/common/types/chat-concepts.js").ChatPost[]; }; }; }; }; subscribe: (subscription: import("@chasemoskal/snapstate").Subscription<{ accessOp: import("../../../framework/ops.js").Op; connectionOp: import("../../../framework/ops.js").Op; cache: { mutedUserIds: string[]; roomStats: import("../../../features/chat/common/types/chat-concepts.js").ChatStats; rooms: { [key: string]: { status: import("../../../features/chat/common/types/chat-concepts.js").ChatStatus; posts: import("../../../features/chat/common/types/chat-concepts.js").ChatPost[]; }; }; }; }>) => () => void; subscribeToChange: (...listeners: (() => void | Promise)[]) => () => void; readonly allowance: { moderateAllChats: boolean; participateInAllChats: boolean; viewAllChats: boolean; banned: boolean; }; updateAccessOp(op: import("../../../framework/ops.js").Op): Promise; session: (label: string) => Promise<{ dispose: () => void; room: { readonly posts: import("../../../features/chat/common/types/chat-concepts.js").ChatPost[]; readonly status: import("../../../features/chat/common/types/chat-concepts.js").ChatStatus; readonly muted: string[]; readonly weAreMuted: boolean; readonly weAreBanned: boolean; setRoomStatus(status: import("../../../features/chat/common/types/chat-concepts.js").ChatStatus): void; post(draft: import("../../../features/chat/common/types/chat-concepts.js").ChatDraft): void; remove(postIds: string[]): void; clear(): void; mute(userId: string): void; unmute(userId: string): void; unmuteAll(): void; }; }>; disconnect: () => Promise; reconnect: () => Promise; }; accessModel: { subscribe: (...listeners: ((accessOp: import("../../../framework/ops.js").Op) => void | Promise)[]) => () => void; getAccessOp(): import("../../../framework/ops.js").Op; getAccess(): import("../../../features/auth/types/auth-tokens.js").AccessPayload; getValidAccess(): Promise; useExistingLogin(): Promise; sendLoginLink(email: string): Promise; login(loginToken: string): Promise; logout(): Promise; reauthorize(): Promise; }; videoModels: { dacastModel: { state: { accessOp: import("../../../framework/ops.js").Op; linkedAccountOp: import("../../../framework/ops.js").Op; }; subscribe: (subscription: import("@chasemoskal/snapstate").Subscription<{ accessOp: import("../../../framework/ops.js").Op; linkedAccountOp: import("../../../framework/ops.js").Op; }>) => () => void; onLinkChange: (listener: (context: import("../../../features/videos/types/dacast-link.js").DacastLinkDisplay) => void) => () => void; updateAccessOp(op: import("../../../framework/ops.js").Op): Promise; initialize(): Promise; readonly linkedAccount: import("../../../features/videos/types/dacast-link.js").DacastLinkDisplay; linkAccount({ apiKey }: { apiKey: string; }): Promise; unlinkAccount(): Promise; }; contentModel: { state: { accessOp: import("../../../framework/ops.js").Op; catalogOp: import("../../../framework/ops.js").Op; viewsOp: import("../../../framework/ops.js").Op; privilegesOp: import("../../../framework/ops.js").Op; showsOp: import("../../../framework/ops.js").Op; }; subscribe: (subscription: import("@chasemoskal/snapstate").Subscription<{ accessOp: import("../../../framework/ops.js").Op; catalogOp: import("../../../framework/ops.js").Op; viewsOp: import("../../../framework/ops.js").Op; privilegesOp: import("../../../framework/ops.js").Op; showsOp: import("../../../framework/ops.js").Op; }>) => () => void; updateAccessOp(op: import("../../../framework/ops.js").Op): Promise; onVideoHostingUpdate(): Promise; initializeForModerationData(): Promise; initializeForVideo(label: string): Promise; readonly allowance: { canModerateVideos: boolean; canViewAllVideos: boolean; }; readonly catalog: import("../../../features/videos/types/video-concepts.js").VideoHosting.DacastContent[]; readonly views: import("../../../features/videos/types/video-concepts.js").VideoView[]; readonly privileges: import("../../../features/auth/aspects/users/routines/permissions/types/privilege-display.js").PrivilegeDisplay[]; readonly shows: import("../../../features/videos/types/video-concepts.js").VideoShow[]; getView(label: string): import("../../../features/videos/types/video-concepts.js").VideoView; getPrivilege(id: string): import("../../../features/auth/aspects/users/routines/permissions/types/privilege-display.js").PrivilegeDisplay; getShow(label: string): import("../../../features/videos/types/video-concepts.js").VideoShow; setView(view: { label: string; privileges: string[]; reference: import("../../../features/videos/types/video-concepts.js").VideoHosting.DacastReference; }): Promise; deleteView(label: string): Promise; }; updateAccessOp(accessOp: import("../../../framework/ops.js").Op): void; }; notesModel: { initialize: () => Promise; state: { accessOp: import("../../../framework/ops.js").Op; statsOp: import("../../../framework/ops.js").Op; }; stateSubscribe: (subscription: import("@chasemoskal/snapstate").Subscription<{ accessOp: import("../../../framework/ops.js").Op; statsOp: import("../../../framework/ops.js").Op; }>) => () => void; updateAccessOp(op: import("../../../framework/ops.js").Op): Promise; readonly isLoggedIn: boolean; readonly stats: import("../../../features/notes/types/notes-concepts.js").NotesStats; propagateChangeToOtherTabs: import("../../../toolbox/subbies.js").Subbie; loadStats: () => Promise; overwriteStatsOp(op: import("../../../framework/ops.js").Op): void; createNotesCacheDetails: () => { cache: { subscribe: (subscription: import("@chasemoskal/snapstate").Subscription<{ old: boolean; pageNumber: number; pageSize: number; notesOp: import("../../../framework/ops.js").Op; }>) => () => void; cacheState: { old: boolean; pageNumber: number; pageSize: number; notesOp: import("../../../framework/ops.js").Op; }; loginStatusChanged(): Promise; readonly notes: import("../../../features/notes/types/notes-concepts.js").Notes.Any[]; fetchAppropriateNotes: () => Promise; switchTabNew(): Promise; switchTabOld(): Promise; readonly isNextPageAvailable: boolean; readonly isPreviousPageAvailable: boolean; nextPage(): Promise; previousPage(): Promise; markAllNotesOld(): Promise; markSpecificNoteOld(noteId: string): Promise; markSpecificNoteNew(noteId: string): Promise; readonly totalPages: number; }; setup: () => () => void; }; }; storeModel: { updateAccessOp(op: import("../../../framework/ops.js").Op): Promise; load: () => Promise; initialize: () => Promise; refresh: () => Promise; subscriptions: { addPlan(options: { planLabel: string; tier: import("../../../features/store/backend/services/subscriptions/types/drafts.js").SubscriptionTierDraft; }): Promise; addTier(options: { label: string; planId: string; pricing: import("../../../features/store/backend/services/subscriptions/types/drafts.js").SubscriptionPricingDraft; }): Promise; editPlan({ planId, label, archived }: { planId: string; label: string; archived: boolean; }): Promise; editTier({ planId, tierId, label, active, pricing }: { planId: string; tierId: string; label: string; active: boolean; pricing: import("../../../features/store/backend/services/subscriptions/types/drafts.js").SubscriptionPricingDraft; }): Promise; purchase({ stripePriceId, showLoadingSpinner }: { stripePriceId: string; showLoadingSpinner?: boolean; }): Promise; cancel(tierId: string): Promise; uncancel(tierId: string): Promise; load: () => Promise; }; billing: { load: () => Promise; allowance: { readonly manageStore: boolean; readonly connectStripeAccount: boolean; readonly giveAwayFreebies: boolean; }; customerPortal: () => Promise; }; connect: { load: () => Promise; readonly isOnboardingNeeded: boolean; readonly isAllowedToOnboard: boolean; stripeAccountOnboarding(): Promise; stripeLogin(): Promise; pause(): Promise; resume(): Promise; }; snap: import("@chasemoskal/snapstate").Snapstate<{ user: { accessOp: import("../../../framework/ops.js").Op; }; stripeConnect: { connectStatusOp: import("../../../framework/ops.js").Op; connectDetailsOp: import("../../../framework/ops.js").Op; }; subscriptions: { subscriptionPlansOp: import("../../../framework/ops.js").Op; mySubscriptionDetailsOp: import("../../../framework/ops.js").Op; }; billing: { paymentMethodOp: import("../../../framework/ops.js").Op; }; }>; state: { user: { accessOp: import("../../../framework/ops.js").Op; }; stripeConnect: { connectStatusOp: import("../../../framework/ops.js").Op; connectDetailsOp: import("../../../framework/ops.js").Op; }; subscriptions: { subscriptionPlansOp: import("../../../framework/ops.js").Op; mySubscriptionDetailsOp: import("../../../framework/ops.js").Op; }; billing: { paymentMethodOp: import("../../../framework/ops.js").Op; }; }; allowance: { readonly manageStore: boolean; readonly connectStripeAccount: boolean; readonly giveAwayFreebies: boolean; }; get: { is: { readonly storeActive: boolean; readonly userLoggedIn: boolean; }; user: { readonly access: import("../../../features/auth/types/auth-tokens.js").AccessPayload; }; connect: { readonly status: import("../../../features/store/isomorphic/concepts.js").StripeConnectStatus; readonly details: import("../../../features/store/isomorphic/concepts.js").StripeConnectDetails; }; subscriptions: { readonly plans: import("../../../features/store/isomorphic/concepts.js").SubscriptionPlan[]; readonly mySubscriptionDetails: import("../../../features/store/isomorphic/concepts.js").SubscriptionDetails[]; }; billing: { readonly paymentMethod: import("../../../features/store/isomorphic/concepts.js").PaymentMethod; }; }; }; personalModel: { track: (observer: import("@chasemoskal/snapstate").Observer<{ accessOp: import("../../../framework/ops.js").Op; submitDraftOp: import("../../../framework/ops.js").Op; }, X>, reaction?: import("@chasemoskal/snapstate").Reaction, options?: { flip?: boolean; }) => () => void; subscribe: (subscription: import("@chasemoskal/snapstate").Subscription<{ accessOp: import("../../../framework/ops.js").Op; submitDraftOp: import("../../../framework/ops.js").Op; }>) => () => void; readable: { accessOp: import("../../../framework/ops.js").Op; submitDraftOp: import("../../../framework/ops.js").Op; }; saveProfile(profileDraft: import("../../../features/auth/aspects/users/routines/personal/types/profile-draft.js").ProfileDraft): Promise; updateAccessOp(op: import("../../../framework/ops.js").Op): void; }; questionsModel: { subscribe: (subscription: import("@chasemoskal/snapstate").Subscription<{ access: import("../../../features/auth/types/auth-tokens.js").AccessPayload; users: import("../../../features/auth/aspects/users/types/user.js").User[]; questions: import("../../../features/questions/api/types/questions-and-answers.js").Question[]; boardOps: { [key: string]: import("../../../framework/ops.js").Op; }; postingOp: import("../../../framework/ops.js").Op; }>) => () => void; makeBoardModel: (board: string) => { getPermissions(): { readonly "read questions": boolean; readonly "post questions": boolean; readonly "moderate questions": boolean; readonly "answer questions": boolean; readonly "like questions": boolean; readonly "report questions": boolean; }; getBoardName(): string; getAccess(): import("../../../features/auth/types/auth-tokens.js").AccessPayload; getBoardOp(): import("../../../framework/ops.js").Op; getPostingOp(): import("../../../framework/ops.js").Op; getQuestions(): { answers: import("../../../features/questions/api/types/questions-and-answers.js").Answer[]; questionId: string; authorUserId: string; board: string; content: string; archive: boolean; timePosted: number; liked: boolean; likes: number; reports: number; reported: boolean; }[]; getUser(userId: string): import("../../../features/auth/aspects/users/types/user.js").User; loadQuestions(): Promise; postQuestion({ content }: { content: string; }): Promise; postAnswer(questionId: string, answerDraft: import("../../../features/questions/api/types/answer-draft.js").AnswerDraft): Promise; likeQuestion(questionId: string, like: boolean): Promise; likeAnswer(questionId: string, answerId: string, like: boolean): Promise; reportQuestion(questionId: string, report: boolean): Promise; reportAnswer(questionId: string, answerId: string, report: boolean): Promise; archiveQuestion(questionId: string, archive: boolean): Promise; archiveAnswer(questionId: string, answerId: string, archive: boolean): Promise; archiveBoard(): Promise; }; accessChange: (access: import("../../../features/auth/types/auth-tokens.js").AccessPayload) => void; }; permissionsModel: { readable: { active: boolean; accessOp: import("../../../framework/ops.js").Op; permissionsDisplay: import("../../../framework/ops.js").Op; }; subscribe: (subscription: import("@chasemoskal/snapstate").Subscription<{ active: boolean; accessOp: import("../../../framework/ops.js").Op; permissionsDisplay: import("../../../framework/ops.js").Op; }>) => () => void; track: (observer: import("@chasemoskal/snapstate").Observer<{ active: boolean; accessOp: import("../../../framework/ops.js").Op; permissionsDisplay: import("../../../framework/ops.js").Op; }, X_1>, reaction?: import("@chasemoskal/snapstate").Reaction, options?: { flip?: boolean; }) => () => void; getAccess: () => import("../../../features/auth/types/auth-tokens.js").AccessPayload; initialize: () => Promise; getUserCanCustomizePermissions: () => boolean; createRole: ({ label }: { label: string; }) => Promise; deleteRole: ({ roleId: roleIdString }: { roleId: string; }) => Promise; assignPrivilege: ({ roleId: roleIdString, privilegeId: privilegeIdString }: { roleId: string; privilegeId: string; }) => Promise; unassignPrivilege: ({ roleId: roleIdString, privilegeId: privilegeIdString }: { roleId: string; privilegeId: string; }) => Promise; deletePrivilege: ({ privilegeId: privilegeIdString }: { privilegeId: string; }) => Promise; createPrivilege: ({ label }: { label: string; }) => Promise; updateAccessOp(op: import("../../../framework/ops.js").Op): Promise; }; administrativeModel: { state: { accessOp: import("../../../framework/ops.js").Op; permissionsOp: import("../../../framework/ops.js").Op; }; subscribe: (subscription: import("@chasemoskal/snapstate").Subscription<{ accessOp: import("../../../framework/ops.js").Op; permissionsOp: import("../../../framework/ops.js").Op; }>) => () => void; getAccess: () => import("../../../features/auth/types/auth-tokens.js").AccessPayload; initialize: () => Promise; readonly isAllowed: (privilege: "universal" | "banned" | "view all chats" | "participate in all chats" | "read questions" | "post questions" | "like questions" | "report questions" | "moderate all chats" | "control stripe account" | "manage store" | "give away freebies" | "view all videos" | "moderate videos" | "edit any profile" | "customize permissions" | "answer questions" | "moderate questions" | "view stats" | "administrate user roles") => boolean; reauthorize: () => Promise; searchUsers: (options: { term: string; }) => Promise<{ user: { userId: string; profile: import("../../../features/auth/aspects/users/types/profile.js").Profile; roles: import("../../../features/auth/aspects/users/types/public-user-role.js").PublicUserRole[]; stats: import("../../../features/auth/aspects/users/types/user-stats.js").UserStats; }; roleIds: string[]; }[]>; assignRoleToUser: (options: { roleId: string; userId: string; isPublic: boolean; timeframeEnd: number; timeframeStart: number; }) => Promise; revokeRoleFromUser: (options: { roleId: string; userId: string; }) => Promise; updateAccessOp(op: import("../../../framework/ops.js").Op): Promise; }; }>;