/// <reference types="react" />
import { WixPatternsContainer, WixPatternsError, DataExtensionState, FiltersMap, TaskState, CustomField, DataExtensionOverrides } from '@wix/bex-core';
import { ToolbarCollectionState } from '../../state';
import { DataExtensionProps, DataExtensionType } from './DataExtension';
import { FilterElement } from '../CollectionToolbarFilters';
import { CustomFieldsPanelState } from '../../state/CustomFields/CustomFieldsPanelState';
import { MoreActionItemFactory } from '../MoreActions/MoreActionsBase';
export interface CollectionDataExtensionStateParams<T, F extends FiltersMap> extends DataExtensionOverrides {
    container: WixPatternsContainer;
    toolbar: ToolbarCollectionState<T, F>;
    DataExtension: DataExtensionType;
    props?: DataExtensionProps;
}
export declare class CollectionDataExtensionState<T, F extends FiltersMap> {
    readonly dataExtension: DataExtensionState;
    readonly customFieldsPanel: CustomFieldsPanelState;
    readonly toolbar: ToolbarCollectionState<T, F>;
    readonly DataExtension: import("react").FC<DataExtensionOverrides> & import("./DataExtension").DataExtensionObjectType;
    readonly initTask: TaskState<unknown>;
    readonly components: {
        CollectionToolbarFilters: ((props: import("../CollectionToolbarFilters").CollectionToolbarFiltersProps) => import("react").JSX.Element) & {
            displayName: string;
        };
    };
    readonly props: DataExtensionOverrides | undefined;
    get featuredPageActions(): MoreActionItemFactory[];
    constructor(params: CollectionDataExtensionStateParams<T, F>);
    _getFetchSchemasError(err: unknown): WixPatternsError;
    _handleFetchSchemasError(): void;
    _addCustomFieldFilters(): void;
    init(): () => void;
    buildCustomFieldFilterWrapper(customField: CustomField): FilterElement<any>;
    buildCustomFieldFilters(): FilterElement<any>[];
}
//# sourceMappingURL=CollectionDataExtensionState.d.ts.map