import { type Action, type UnknownAction } from '../actions';
export declare const ComponentIcon: {
    readonly Billing: "billing";
    readonly Bolt: "bolt";
    readonly Button: "button";
    readonly Carousel: "carousel";
    readonly Chats: "chats";
    readonly Code: "code";
    readonly Countdown: "countdown";
    readonly Cube: "cube";
    readonly Database: "database";
    readonly Divider: "divider";
    readonly Form: "form";
    readonly Gallery: "gallery";
    readonly Help: "help";
    readonly Image: "image";
    readonly Layout: "layout";
    readonly Lock: "lock";
    readonly Navigation: "navigation";
    readonly SocialLinks: "social-links";
    readonly Star: "star";
    readonly Text: "text";
    readonly Users: "users";
    readonly Video: "video";
};
export type ComponentIcon = (typeof ComponentIcon)[keyof typeof ComponentIcon];
export type ComponentMeta = {
    label: string;
    icon: ComponentIcon;
    hidden: boolean;
    description?: string;
    builtinSuspense?: boolean;
};
export type State = Map<string, ComponentMeta>;
export declare function getInitialState({ componentsMeta, }?: {
    componentsMeta?: Map<string, ComponentMeta>;
}): State;
export declare function getComponentsMeta(state: State): Map<string, ComponentMeta>;
export declare function getComponentMeta(state: State, type: string): ComponentMeta | null;
export declare function reducer(state: State | undefined, action: Action | UnknownAction): State;
//# sourceMappingURL=components-meta.d.ts.map