import { Op } from "../../../framework/ops.js"; import { AccessPayload } from "../../auth/types/auth-tokens.js"; import { VideoModelsOptions } from "./types/video-models-options.js"; export declare function makeVideoModels(options: VideoModelsOptions): { dacastModel: { state: { accessOp: Op; linkedAccountOp: Op; }; subscribe: (subscription: import("@chasemoskal/snapstate").Subscription<{ accessOp: Op; linkedAccountOp: Op; }>) => () => void; onLinkChange: (listener: (context: import("../types/dacast-link.js").DacastLinkDisplay) => void) => () => void; updateAccessOp(op: Op): Promise; initialize(): Promise; readonly linkedAccount: import("../types/dacast-link.js").DacastLinkDisplay; linkAccount({ apiKey }: { apiKey: string; }): Promise; unlinkAccount(): Promise; }; contentModel: { state: { accessOp: Op; catalogOp: Op; viewsOp: Op; privilegesOp: Op; showsOp: Op; }; subscribe: (subscription: import("@chasemoskal/snapstate").Subscription<{ accessOp: Op; catalogOp: Op; viewsOp: Op; privilegesOp: Op; showsOp: Op; }>) => () => void; updateAccessOp(op: Op): Promise; onVideoHostingUpdate(): Promise; initializeForModerationData(): Promise; initializeForVideo(label: string): Promise; readonly allowance: { canModerateVideos: boolean; canViewAllVideos: boolean; }; readonly catalog: import("../types/video-concepts.js").VideoHosting.DacastContent[]; readonly views: import("../types/video-concepts.js").VideoView[]; readonly privileges: import("../../auth/aspects/users/routines/permissions/types/privilege-display.js").PrivilegeDisplay[]; readonly shows: import("../types/video-concepts.js").VideoShow[]; getView(label: string): import("../types/video-concepts.js").VideoView; getPrivilege(id: string): import("../../auth/aspects/users/routines/permissions/types/privilege-display.js").PrivilegeDisplay; getShow(label: string): import("../types/video-concepts.js").VideoShow; setView(view: { label: string; privileges: string[]; reference: import("../types/video-concepts.js").VideoHosting.DacastReference; }): Promise; deleteView(label: string): Promise; }; updateAccessOp(accessOp: Op): void; };