/// import { MemoryRouterProps } from 'react-router-dom'; import { ListViewAttributes } from '../models/listViewAttributes'; import StorytellerStoriesBaseView from './storytellerStoriesBaseView'; import { ListConfiguration } from '../../configuration/models/listConfiguration'; import { StoriesResponse } from '../../stories/models/story'; type StorytellerStoriesListConfiguration = ListConfiguration<'StorytellerStoriesGridView'>; declare abstract class StorytellerStoriesView extends StorytellerStoriesBaseView { protected logTag: string; protected attributes_: T; protected rootEl_: HTMLElement; protected abstract renderList(): JSX.Element; constructor(elementId: string, listCategories?: string[], useGoogleWebStoryUrls?: boolean); protected set listConfiguration(configuration: Partial); protected get listConfiguration(): StorytellerStoriesListConfiguration; protected get shouldShowInstructions(): boolean; /** * @deprecated * Use Storyteller.openStory instead * */ openStory(id: string): void; /** * @deprecated * Use Storyteller.openPage instead * */ openPage(pageId: string, onError?: (message: string) => void): void; reloadData(): Promise; protected onStoriesLoadSuccess(value: StoriesResponse): void; protected onStoriesLoadFailure(reason: unknown): void; protected loadStories(): Promise; protected get memoryRouterProps_(): MemoryRouterProps | null; protected onStoriesMismatch_(): void; protected set playerShouldBeAppendedToDOM(isPlayerVisible: boolean); protected initialize(): void; protected updatePlayerVisibility(isPlayerVisible: boolean): void; protected registerListView(): void; /** * @deprecated Use `configuration` instead. */ set categories(categories: string[]); /** * @deprecated Use `configuration.categories` instead. */ get categories(): string[]; protected renderStorytellerList(): void; protected renderStoryteller(): void; } export default StorytellerStoriesView;