import { LoadingState } from '../../infrastructure/api/models/LoadingState'; import { BaseService } from '../../services/abstract/baseService'; import { Story } from '../../stories/models/story'; import { Clip } from '../components/list/models/clip'; export declare const STORYTELLER_PLAYER_PREFIX = "storyteller-player-"; export type PlayerContainerId = `${typeof STORYTELLER_PLAYER_PREFIX}${string}`; declare abstract class ListViewService extends BaseService { protected logTag: string; protected id_: string; protected basename_: string; protected isBasenameBasedOnContent_: boolean; protected isDisabled_: boolean; protected loadingState_: LoadingState; protected playerContainerId_: PlayerContainerId; protected urlsDisabled_: boolean; protected onLoaded_: (() => void)[]; protected onDisabledStateUpdate_: () => void; constructor(onDisabledStateUpdate: () => void); enable(): void; disable(): void; get id(): string; set id(id: string); get basename(): string; set basename(basename: string); get isBasenameBasedOnContent(): boolean; set isBasenameBasedOnContent(isBasenameBasedOnContent: boolean); get isDisabled(): boolean; get loadingState(): LoadingState; set loadingState(loadingState: LoadingState); get playerContainerId(): PlayerContainerId; set playerContainerId(playerContainerId: PlayerContainerId); get urlsDisabled(): boolean; set urlsDisabled(urlsDisabled: boolean); whenLoaded(onLoaded: () => void): void; } export declare class StoriesListViewService extends ListViewService { protected logTag: string; protected categories_: string[]; protected stories_: Story[] | null; constructor(onDisabledStateUpdate: () => void); get categories(): string[]; set categories(categories: string[]); get stories(): Story[] | null; set stories(stories: Story[] | null); } export declare class ClipsListViewService extends ListViewService { protected logTag: string; protected clips_: Clip[] | null; protected collection_: string; protected isUnreachable_: boolean; constructor(onDisabledStateUpdate: () => void); get clips(): Clip[] | null; set clips(clips: Clip[] | null); get collection(): string; set collection(collection: string); get isUnreachable(): boolean; set isUnreachable(isUnreachable: boolean); } export {};