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; } type ViewType = 'table' | 'grid'; export declare class ViewTypeState { viewType: 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: string): void; } export {}; //# sourceMappingURL=ViewTypeState.d.ts.map