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<any, any>;
}
type ViewType = 'table' | 'grid';
export declare class ViewTypeState {
    viewType: ViewType;
    readonly container: WixPatternsContainer;
    readonly dataCapsule: import("@wix/data-capsule").IDataCapsule<import("@wix/data-capsule").BaseStorageOptions & Record<string, any>>;
    readonly componentType: string;
    readonly collection: CollectionState<any, any> | undefined;
    readonly initTask: TaskState<unknown>;
    constructor(params: ViewTypeStateParams);
    init(): void;
    _getViewTypeFromStorage(): Promise<void>;
    changeViewType(newViewType: string): void;
}
export {};
//# sourceMappingURL=ViewTypeState.d.ts.map