import { ComponentDefinition } from '@plitzi/sdk-shared';
export type PluginsReducerActions = {
    type: 'init';
    plugins: Record<string, ComponentDefinition>;
} | {
    type: 'add';
    plugin: ComponentDefinition;
} | {
    type: 'addMany';
    plugins: Record<string, ComponentDefinition>;
} | {
    type: 'update';
    plugin: ComponentDefinition;
} | {
    type: 'updateMany';
    plugins: Record<string, ComponentDefinition>;
} | {
    type: 'remove';
    pluginType: string;
} | {
    type: 'removeMany';
    pluginTypes: string[];
};
declare const PluginsReducer: (state: Record<string, ComponentDefinition>, action: PluginsReducerActions) => Record<string, ComponentDefinition>;
export default PluginsReducer;
