import { IListViewDelegate, ListViewDelegate } from '../infrastructure/activity/listViewDelegate'; import { BaseService } from '../services/abstract/baseService'; import { ListViewAttributes } from './models/listViewAttributes'; import { IUiTheme } from '../configuration/models/theme/uiTheme'; import { UiStyle } from '../configuration/models/uiStyle'; import { StorytellerListViewCellType } from './models/storytellerListViewCellType'; import { Subset } from '../../types/subset'; import { IStorytellerTheme } from '../configuration/models/theme/storytellerTheme'; import { MediaType } from './components/list/models/mediaType'; import { ListConfiguration } from '../configuration/models/listConfiguration'; import { MemoryRouterProps } from 'react-router-dom'; import { ClipsListViewService, StoriesListViewService } from './abstract/listViewService'; import { ViewTheme } from '../infrastructure/api/types'; type StorytellerClipsListConfiguration = ListConfiguration<'StorytellerClipsRowView'>; type StorytellerStoriesListConfiguration = ListConfiguration<'StorytellerStoriesGridView'>; declare abstract class StorytellerListView extends BaseService { protected logTag: string; protected rootEl_?: HTMLElement; protected playerContainerEl_?: HTMLElement; protected attributes_: T; protected cellType_: StorytellerListViewCellType; protected displayLimit_?: number; protected delegate_: ListViewDelegate; protected isDefaultView_: boolean; protected isReadUnreadOrderingEnabled_: boolean; protected listRenderedAt_: number; protected listTheme_: IStorytellerTheme; protected listViewService_: StoriesListViewService | ClipsListViewService; protected theme_: IUiTheme; protected themeInput: Subset; protected useGoogleWebStoryUrls_: boolean; protected viewTheme_: ViewTheme; protected parseAttributes(baseAttributes: ListViewAttributes): T; protected parseBaseAttributes(): ListViewAttributes; get delegate(): IListViewDelegate; set delegate(delegateObj: IListViewDelegate); /** * @deprecated Use `configuration.theme` instead. */ get theme(): Subset; /** * @deprecated Use `configuration` instead. */ set theme(theme: Subset); /** * @deprecated Use `configuration.uiStyle` instead. */ get uiStyle(): UiStyle; /** * @deprecated Use `configuration` instead. */ set uiStyle(uiStyle: UiStyle); protected buildTheme(): void; /** * @deprecated Use `configuration` instead. */ set displayLimit(limit: number | undefined); /** * @deprecated Use `configuration.displayLimit` instead. */ get displayLimit(): number | undefined; protected onError(error: Error): void; protected get basename(): string; protected set basename(newBasename: string); protected get id(): string; protected initializeListView(): void; protected updateListConfiguration(configuration: Partial): void; protected assignViewBasename(configurationBasename?: string): void; private updatePlayerContainerEl; protected abstract onDisabledStateUpdate_(): void; protected abstract registerListView(): void; protected abstract initialize(): void; protected abstract renderStoryteller(): void; protected abstract get memoryRouterProps_(): MemoryRouterProps | null; protected abstract mediaType: MediaType; } export default StorytellerListView;