import { WixPatternsContainer, TaskState, CollectionState } from '@wix/bex-core'; import type { Essentials } from '@wix/fe-essentials/core'; export interface ViewTypeStateParams { readonly container: WixPatternsContainer; readonly dataCapsule: Essentials['dataCapsule']; readonly componentType: string; readonly collection?: CollectionState; readonly options: ViewType[]; } export type ViewType = 'table' | 'grid' | 'spreadsheet'; export declare class ViewTypeState { viewType: ViewType; readonly options: ViewType[]; readonly container: WixPatternsContainer; readonly dataCapsule: import("@wix/data-capsule").IDataCapsule>; readonly componentType: string; readonly collection: CollectionState | undefined; readonly initTask: TaskState; constructor(params: ViewTypeStateParams); init(): void; _getViewTypeFromStorage(): Promise; changeViewType(newViewType: ViewType): void; reportLayoutSwitch(): void; reportLayoutOptionClicked(option: ViewType, index: number): void; } //# sourceMappingURL=ViewTypeState.d.ts.map