import * as loading from "../toolbox/loading.js"; import { LiveshowLizardTopic, MetalUser } from "../../types.js"; import { AuthPayload, PrivilegeLevel, VideoPayload } from "../types.js"; export declare type HandleAuthUpdate = (auth: loading.Load>) => Promise; export declare class LiveshowModel { private liveshowLizard; constructor(options: { liveshowLizard: LiveshowLizardTopic; }); authLoadPubsub: import("../../toolbox/pubsub.js").Pubsub; handleAuthLoad(authLoad: loading.Load>): void; dispose(): void; makeViewModel: ({ label }: { label: string; }) => { dispose: () => void; viewModel: LiveshowViewModel; }; } /** * Component-level liveshow state */ export declare class LiveshowViewModel { validationMessage: string; videoLoad: loading.Load; privilege: PrivilegeLevel; private label; private getAuthContext; private liveshowLizard; constructor(options: { label: string; liveshowLizard: LiveshowLizardTopic; }); ascertainPrivilege(user: MetalUser): PrivilegeLevel; handleAuthLoad(authLoad: loading.Load>): Promise; updateVideo(vimeostring: string): Promise; private loadVideo; }