import { ComponentType, Component } from './types';
import { EmptyCell } from '../Display/types';
import { HeaderComponent } from '../Header/types';
export * from './constants';
export declare const initialCustomComponent: (componentId: string, dataSetId: string) => Component<Component.CustomViewAttributes>;
export declare const initial: <T extends Component.Attributes>(attributes: T) => Component<T>;
export declare const initialFromType: (type: ComponentType, dataSetId: string, viewId: string) => Component;
export declare const isBarChart: (type: ComponentType) => boolean;
export declare const isTable: (type: ComponentType) => boolean;
export declare const isEmpty: (component: Component | EmptyCell | HeaderComponent) => component is EmptyCell;
export declare const removeField: (component: Component, fieldId: string) => Component;
