import { ValueOf } from "helpers/ts-type-helpers";
import { AdminMetadata, AlignmentData, BackgroundData, BorderData, ColorValueOrAlias, ComponentDefinition, ComponentDefinitionMap, ComponentDisplayOptions, ContainerType, CornerData, DeviceType, EnumOption, EnumOptionId, FontValueOrAlias, GridPosition, IconValue, IconValueOrPropDefinitionInstance, ImageDisplayType, ImageScale, ImageValue, ImageValueOrPropDefinitionInstance, InstanceProps, InteractionType, LayoutData, NodeId, NodeType, NumberPropDefinitionInstance, NumberValue, OverflowType, Override, OverrideDataKey, OverridesNodeMap, PaddingData, PaddingType, PageLayout, PopoverPlacementDirection, PopoverType, PropDefinition, SelectorData, SelectorId, SelectorsMap, ShadowData, SizeData, TextAlignmentType, TextStyleType, TextValue, TextValueOrPropDefinitionInstance, TextWhitespaceType, Token, Value } from "../../../data/types";
import { UndoableAction } from "./types";
export interface ComponentState {
    componentDefinitions: ComponentDefinitionMap;
    componentIds: string[];
}
export declare const componentsSlice: import("@reduxjs/toolkit").Slice<ComponentState, {
    /**
     * Components
     */
    addComponentDefinitionRaw: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        definition: ComponentDefinition;
        insertAtEnd?: boolean;
    }>) => void;
    deleteComponentDefinitionRaw: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
    }>) => void;
    moveComponentDefinition: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        index: number;
    }>) => void;
    updateComponentNameRaw: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        name: string;
    }>) => void;
    updateComponentAdminMetadataRaw: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        adminMetadata?: AdminMetadata;
    }>) => void;
    updateComponentDisplayOptions: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        displayOptions: ComponentDisplayOptions;
    }>) => void;
    updateComponentNonDeletable: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nonDeletable: boolean;
    }>) => void;
    updateComponentExtraSelectorsRaw: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        extraSelectors: SelectorsMap;
    }>) => void;
    /**
     * Core modifiers
     */
    moveElementRaw: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        elementId: NodeId;
        newParentId: NodeId | null;
        index: number;
        forceMoveRootNode?: boolean;
        forceMoveToRootNode?: boolean;
    }>) => void;
    addElementRaw: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        node: NodeType;
        parentId?: NodeId;
        index: number;
    }>) => void;
    deleteElementRaw: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        elementId: NodeId;
    }>) => void;
    /**
     * Special case modifiers; adding without modifying parent id
     */
    addElementsBulk(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodes: NodeType[];
    }>): void;
    deleteElementsBulk(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeIds: NodeId[];
    }>): void;
    /**
     * Node actions
     */
    updateNodeName: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        name: string;
    }>) => void;
    updateNodeDirection: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        direction: LayoutData["direction"];
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodeSpacing: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        spacing: LayoutData["spacing"];
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodeWrap: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        wrap: LayoutData["wrap"];
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodeAlignment: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        alignment: AlignmentData;
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodeTextAlignment: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        textAlignment: TextAlignmentType;
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodeImageScale: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        scale: ImageScale;
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodeBackground: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        background: BackgroundData | null;
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodeBorderRaw: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        border: BorderData | null;
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodeCornerRaw: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        corner: CornerData | null;
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodeShadow: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        shadow: ShadowData | null;
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodePadding: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        padding: PaddingData;
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodeVisibility: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        isVisible: boolean;
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodeOverflow: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        overflow: OverflowType;
    }>) => void;
    updateNodeHideEmptyState: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        hideEmptyState: boolean;
    }>) => void;
    updateNodeSize: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        size: Partial<SizeData> | null;
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodeTextRaw: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        text: TextValueOrPropDefinitionInstance | NumberPropDefinitionInstance;
    }>) => void;
    updateNodeFontStyleRaw: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        value: FontValueOrAlias;
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodeFontColor: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        value: ColorValueOrAlias;
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodeIcon: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        icon: IconValueOrPropDefinitionInstance;
    }>) => void;
    updateNodeIconColor: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        value: ColorValueOrAlias;
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodePlaceholder: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        placeholder: TextValueOrPropDefinitionInstance;
    }>) => void;
    updateNodeImageSrc: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        src: ImageValueOrPropDefinitionInstance;
    }>) => void;
    updateNodeImageDisplayType: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        displayType: ImageDisplayType;
    }>) => void;
    updateNodeClassName: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        className: string | null;
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodeContainerType: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        containerType: ContainerType | null;
    }>) => void;
    updateNodeTextWhitespaceType: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        whitespace: TextWhitespaceType;
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodeTextStyleType: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        textStyle: TextStyleType;
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodePaddingType: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        paddingType: PaddingType | null;
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateCustomInstanceProp: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        propDefinitionId: string;
        value: ValueOf<InstanceProps> | null;
    }>) => void;
    updateNodeNonDeletable: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        nonDeletable: boolean;
    }>) => void;
    updateNodeColumns: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        columns: number[];
    }>) => void;
    /**
     * 12 column grid
     */
    updateNodePosition: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        childNodeId: NodeId;
        position: GridPosition;
    }>) => void;
    deleteNodePosition: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        childNodeId: NodeId;
    }>) => void;
    /**
     * Slots
     */
    addSlotToNodeRaw: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        propDefinitionId: string;
    }>) => void;
    deleteSlotFromNodeRaw: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
    }>) => void;
    /**
     * Prop Definitions
     */
    addPropDefinition: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        propDefinition: PropDefinition;
    }>) => void;
    deletePropDefinitionRaw: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        propDefinitionId: string;
    }>) => void;
    movePropDefinition: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        propDefinitionId: string;
        index: number;
    }>) => void;
    updatePropDefinitionName: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        propDefinitionId: string;
        name: string;
    }>) => void;
    updateTextPropDefinitionDefaultValue: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        propDefinitionId: string;
        value: TextValue;
    }>) => void;
    updateNumberPropDefinitionDefaultValue: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        propDefinitionId: string;
        value: NumberValue;
    }>) => void;
    updateIconPropDefinitionDefaultValue: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        propDefinitionId: string;
        value: IconValue;
    }>) => void;
    updateImagePropDefinitionDefaultValue: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        propDefinitionId: string;
        value: ImageValue;
    }>) => void;
    updatePropDefinitionNonEditable(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        propDefinitionId: string;
        nonEditable: boolean;
    }>): void;
    updateEnumOptionNonEditable(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        propDefinitionId: string;
        enumOptionId: string;
        nonEditable: boolean;
    }>): void;
    addEnumOption: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        propDefinitionId: string;
        enumOption: EnumOption;
    }>) => void;
    updateEnumOptionValue: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        propDefinitionId: string;
        id: string;
        value: string;
    }>) => void;
    deleteEnumOptionRaw: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        propDefinitionId: string;
        enumOptionId: EnumOptionId;
    }>) => void;
    /**
     * Selectors
     */
    addInteractionType(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        selectorId: SelectorId;
        interactionType: InteractionType;
        overrideData?: OverridesNodeMap;
    }>): void;
    deleteInteractionType(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        selectorId: SelectorId;
        interactionType: InteractionType;
    }>): void;
    /**
     * Overrides
     */
    clearOverrideDataByKey(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        selectorId: SelectorId;
        key: OverrideDataKey;
        interaction: InteractionType;
        deviceType: DeviceType;
        useExtraSelector?: boolean;
    }>): void;
    addOverrideDataByKey(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        selectorId: SelectorId;
        key: OverrideDataKey;
        interaction: InteractionType;
        deviceType: DeviceType;
        overrideData: Value;
        useExtraSelector?: boolean;
    }>): void;
    deleteNodeFromOverride(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        selectorId: SelectorId;
        interactionType: InteractionType;
        deviceType: DeviceType;
    }>): void;
    addNodeToOverride(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        selectorId: SelectorId;
        interactionType: InteractionType;
        deviceType: DeviceType;
        data: Override;
    }>): void;
    /**
     * Popovers
     */
    addPopoverRaw(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        popover: PopoverType;
    }>): void;
    deletePopoverRaw(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
    }>): void;
    updatePopoverPlacementDirection(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        placementDirection: PopoverPlacementDirection;
    }>): void;
    updatePopoverPlacementOffset(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        offset: number;
    }>): void;
    /**
     * Compound Components
     */
    addCompoundComponentId(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        compoundComponentId: string;
    }>): void;
    moveCompoundComponentId(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        compoundComponentId: string;
        index: number;
    }>): void;
    deleteCompoundComponentId(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        parentComponentId: string;
        compoundComponentId: string;
    }>): void;
    /**
     * Page Options
     */
    updatePageOptionLayout(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        layout: PageLayout | null;
    }>): void;
    /**
     * Token-related cleanup
     */
    unlinkAllTokenReferences: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        token: Token;
    }>) => void;
    /**
     * Hacks: very specific actions that violate invariants and should be used with care
     */
    hackilyUpdateComponentRootNode: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        node: NodeType;
    }>) => void;
    hackilyUpdateNodeInstanceComponentId(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        newComponentId: string;
        newComponentName: string;
    }>): void;
    hackilyReplaceComponentRootNodeId: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        elementId: NodeId;
    }>) => void;
    hackilyUndoReplaceComponentRootNodeId: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        elementId: NodeId;
        oldParentId?: NodeId;
        oldParentChildrenIds?: NodeId[];
        oldRootNodeId?: NodeId;
    }>) => void;
}, "components">;
export declare const COMPONENTS_REDUX_ACTIONS: import("@reduxjs/toolkit").CaseReducerActions<{
    /**
     * Components
     */
    addComponentDefinitionRaw: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        definition: ComponentDefinition;
        insertAtEnd?: boolean;
    }>) => void;
    deleteComponentDefinitionRaw: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
    }>) => void;
    moveComponentDefinition: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        index: number;
    }>) => void;
    updateComponentNameRaw: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        name: string;
    }>) => void;
    updateComponentAdminMetadataRaw: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        adminMetadata?: AdminMetadata;
    }>) => void;
    updateComponentDisplayOptions: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        displayOptions: ComponentDisplayOptions;
    }>) => void;
    updateComponentNonDeletable: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nonDeletable: boolean;
    }>) => void;
    updateComponentExtraSelectorsRaw: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        extraSelectors: SelectorsMap;
    }>) => void;
    /**
     * Core modifiers
     */
    moveElementRaw: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        elementId: NodeId;
        newParentId: NodeId | null;
        index: number;
        forceMoveRootNode?: boolean;
        forceMoveToRootNode?: boolean;
    }>) => void;
    addElementRaw: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        node: NodeType;
        parentId?: NodeId;
        index: number;
    }>) => void;
    deleteElementRaw: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        elementId: NodeId;
    }>) => void;
    /**
     * Special case modifiers; adding without modifying parent id
     */
    addElementsBulk(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodes: NodeType[];
    }>): void;
    deleteElementsBulk(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeIds: NodeId[];
    }>): void;
    /**
     * Node actions
     */
    updateNodeName: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        name: string;
    }>) => void;
    updateNodeDirection: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        direction: LayoutData["direction"];
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodeSpacing: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        spacing: LayoutData["spacing"];
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodeWrap: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        wrap: LayoutData["wrap"];
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodeAlignment: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        alignment: AlignmentData;
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodeTextAlignment: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        textAlignment: TextAlignmentType;
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodeImageScale: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        scale: ImageScale;
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodeBackground: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        background: BackgroundData | null;
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodeBorderRaw: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        border: BorderData | null;
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodeCornerRaw: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        corner: CornerData | null;
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodeShadow: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        shadow: ShadowData | null;
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodePadding: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        padding: PaddingData;
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodeVisibility: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        isVisible: boolean;
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodeOverflow: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        overflow: OverflowType;
    }>) => void;
    updateNodeHideEmptyState: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        hideEmptyState: boolean;
    }>) => void;
    updateNodeSize: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        size: Partial<SizeData> | null;
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodeTextRaw: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        text: TextValueOrPropDefinitionInstance | NumberPropDefinitionInstance;
    }>) => void;
    updateNodeFontStyleRaw: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        value: FontValueOrAlias;
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodeFontColor: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        value: ColorValueOrAlias;
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodeIcon: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        icon: IconValueOrPropDefinitionInstance;
    }>) => void;
    updateNodeIconColor: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        value: ColorValueOrAlias;
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodePlaceholder: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        placeholder: TextValueOrPropDefinitionInstance;
    }>) => void;
    updateNodeImageSrc: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        src: ImageValueOrPropDefinitionInstance;
    }>) => void;
    updateNodeImageDisplayType: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        displayType: ImageDisplayType;
    }>) => void;
    updateNodeClassName: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        className: string | null;
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodeContainerType: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        containerType: ContainerType | null;
    }>) => void;
    updateNodeTextWhitespaceType: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        whitespace: TextWhitespaceType;
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodeTextStyleType: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        textStyle: TextStyleType;
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateNodePaddingType: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        paddingType: PaddingType | null;
        selectorData: SelectorData;
        useExtraSelector?: boolean;
    }>) => void;
    updateCustomInstanceProp: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        propDefinitionId: string;
        value: ValueOf<InstanceProps> | null;
    }>) => void;
    updateNodeNonDeletable: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        nonDeletable: boolean;
    }>) => void;
    updateNodeColumns: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        columns: number[];
    }>) => void;
    /**
     * 12 column grid
     */
    updateNodePosition: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        childNodeId: NodeId;
        position: GridPosition;
    }>) => void;
    deleteNodePosition: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        childNodeId: NodeId;
    }>) => void;
    /**
     * Slots
     */
    addSlotToNodeRaw: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        propDefinitionId: string;
    }>) => void;
    deleteSlotFromNodeRaw: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
    }>) => void;
    /**
     * Prop Definitions
     */
    addPropDefinition: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        propDefinition: PropDefinition;
    }>) => void;
    deletePropDefinitionRaw: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        propDefinitionId: string;
    }>) => void;
    movePropDefinition: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        propDefinitionId: string;
        index: number;
    }>) => void;
    updatePropDefinitionName: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        propDefinitionId: string;
        name: string;
    }>) => void;
    updateTextPropDefinitionDefaultValue: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        propDefinitionId: string;
        value: TextValue;
    }>) => void;
    updateNumberPropDefinitionDefaultValue: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        propDefinitionId: string;
        value: NumberValue;
    }>) => void;
    updateIconPropDefinitionDefaultValue: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        propDefinitionId: string;
        value: IconValue;
    }>) => void;
    updateImagePropDefinitionDefaultValue: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        propDefinitionId: string;
        value: ImageValue;
    }>) => void;
    updatePropDefinitionNonEditable(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        propDefinitionId: string;
        nonEditable: boolean;
    }>): void;
    updateEnumOptionNonEditable(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        propDefinitionId: string;
        enumOptionId: string;
        nonEditable: boolean;
    }>): void;
    addEnumOption: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        propDefinitionId: string;
        enumOption: EnumOption;
    }>) => void;
    updateEnumOptionValue: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        propDefinitionId: string;
        id: string;
        value: string;
    }>) => void;
    deleteEnumOptionRaw: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        propDefinitionId: string;
        enumOptionId: EnumOptionId;
    }>) => void;
    /**
     * Selectors
     */
    addInteractionType(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        selectorId: SelectorId;
        interactionType: InteractionType;
        overrideData?: OverridesNodeMap;
    }>): void;
    deleteInteractionType(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        selectorId: SelectorId;
        interactionType: InteractionType;
    }>): void;
    /**
     * Overrides
     */
    clearOverrideDataByKey(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        selectorId: SelectorId;
        key: OverrideDataKey;
        interaction: InteractionType;
        deviceType: DeviceType;
        useExtraSelector?: boolean;
    }>): void;
    addOverrideDataByKey(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        selectorId: SelectorId;
        key: OverrideDataKey;
        interaction: InteractionType;
        deviceType: DeviceType;
        overrideData: Value;
        useExtraSelector?: boolean;
    }>): void;
    deleteNodeFromOverride(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        selectorId: SelectorId;
        interactionType: InteractionType;
        deviceType: DeviceType;
    }>): void;
    addNodeToOverride(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        selectorId: SelectorId;
        interactionType: InteractionType;
        deviceType: DeviceType;
        data: Override;
    }>): void;
    /**
     * Popovers
     */
    addPopoverRaw(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        popover: PopoverType;
    }>): void;
    deletePopoverRaw(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
    }>): void;
    updatePopoverPlacementDirection(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        placementDirection: PopoverPlacementDirection;
    }>): void;
    updatePopoverPlacementOffset(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        offset: number;
    }>): void;
    /**
     * Compound Components
     */
    addCompoundComponentId(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        compoundComponentId: string;
    }>): void;
    moveCompoundComponentId(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        compoundComponentId: string;
        index: number;
    }>): void;
    deleteCompoundComponentId(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        parentComponentId: string;
        compoundComponentId: string;
    }>): void;
    /**
     * Page Options
     */
    updatePageOptionLayout(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        layout: PageLayout | null;
    }>): void;
    /**
     * Token-related cleanup
     */
    unlinkAllTokenReferences: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        token: Token;
    }>) => void;
    /**
     * Hacks: very specific actions that violate invariants and should be used with care
     */
    hackilyUpdateComponentRootNode: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        node: NodeType;
    }>) => void;
    hackilyUpdateNodeInstanceComponentId(state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        nodeId: NodeId;
        newComponentId: string;
        newComponentName: string;
    }>): void;
    hackilyReplaceComponentRootNodeId: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        elementId: NodeId;
    }>) => void;
    hackilyUndoReplaceComponentRootNodeId: (state: import("immer/dist/internal").WritableDraft<ComponentState>, action: UndoableAction<{
        componentId: string;
        elementId: NodeId;
        oldParentId?: NodeId;
        oldParentChildrenIds?: NodeId[];
        oldRootNodeId?: NodeId;
    }>) => void;
}, "components">;
export declare const addComponentDefinitionRaw: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    definition: ComponentDefinition;
    insertAtEnd?: boolean | undefined;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/addComponentDefinitionRaw">, deleteComponentDefinitionRaw: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/deleteComponentDefinitionRaw">, moveComponentDefinition: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    index: number;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/moveComponentDefinition">, updateComponentAdminMetadataRaw: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    adminMetadata?: AdminMetadata | undefined;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateComponentAdminMetadataRaw">, updateComponentNameRaw: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    name: string;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateComponentNameRaw">, updateComponentDisplayOptions: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    displayOptions: ComponentDisplayOptions;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateComponentDisplayOptions">, updateComponentNonDeletable: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nonDeletable: boolean;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateComponentNonDeletable">, updateComponentExtraSelectorsRaw: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    extraSelectors: SelectorsMap;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateComponentExtraSelectorsRaw">, moveElementRaw: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    elementId: NodeId;
    newParentId: NodeId | null;
    index: number;
    forceMoveRootNode?: boolean | undefined;
    forceMoveToRootNode?: boolean | undefined;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/moveElementRaw">, addElementRaw: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    node: NodeType;
    parentId?: string | undefined;
    index: number;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/addElementRaw">, deleteElementRaw: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    elementId: NodeId;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/deleteElementRaw">, addElementsBulk: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodes: NodeType[];
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/addElementsBulk">, deleteElementsBulk: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeIds: NodeId[];
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/deleteElementsBulk">, updateNodeName: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    name: string;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateNodeName">, updateNodeDirection: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    direction: LayoutData["direction"];
    selectorData: SelectorData;
    useExtraSelector?: boolean | undefined;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateNodeDirection">, updateNodeSpacing: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    spacing: LayoutData["spacing"];
    selectorData: SelectorData;
    useExtraSelector?: boolean | undefined;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateNodeSpacing">, updateNodeWrap: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    wrap: LayoutData["wrap"];
    selectorData: SelectorData;
    useExtraSelector?: boolean | undefined;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateNodeWrap">, updateNodeAlignment: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    alignment: AlignmentData;
    selectorData: SelectorData;
    useExtraSelector?: boolean | undefined;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateNodeAlignment">, updateNodeTextAlignment: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    textAlignment: TextAlignmentType;
    selectorData: SelectorData;
    useExtraSelector?: boolean | undefined;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateNodeTextAlignment">, updateNodeImageScale: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    scale: ImageScale;
    selectorData: SelectorData;
    useExtraSelector?: boolean | undefined;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateNodeImageScale">, updateNodeBackground: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    background: BackgroundData | null;
    selectorData: SelectorData;
    useExtraSelector?: boolean | undefined;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateNodeBackground">, updateNodeBorderRaw: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    border: BorderData | null;
    selectorData: SelectorData;
    useExtraSelector?: boolean | undefined;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateNodeBorderRaw">, updateNodeCornerRaw: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    corner: CornerData | null;
    selectorData: SelectorData;
    useExtraSelector?: boolean | undefined;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateNodeCornerRaw">, updateNodeShadow: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    shadow: ShadowData | null;
    selectorData: SelectorData;
    useExtraSelector?: boolean | undefined;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateNodeShadow">, updateNodePadding: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    padding: PaddingData;
    selectorData: SelectorData;
    useExtraSelector?: boolean | undefined;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateNodePadding">, updateNodeVisibility: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    isVisible: boolean;
    selectorData: SelectorData;
    useExtraSelector?: boolean | undefined;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateNodeVisibility">, updateNodeOverflow: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    overflow: OverflowType;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateNodeOverflow">, updateNodeHideEmptyState: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    hideEmptyState: boolean;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateNodeHideEmptyState">, updateNodeSize: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    size: Partial<SizeData> | null;
    selectorData: SelectorData;
    useExtraSelector?: boolean | undefined;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateNodeSize">, updateNodeTextRaw: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    text: TextValueOrPropDefinitionInstance | NumberPropDefinitionInstance;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateNodeTextRaw">, updateNodeFontStyleRaw: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    value: FontValueOrAlias;
    selectorData: SelectorData;
    useExtraSelector?: boolean | undefined;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateNodeFontStyleRaw">, updateNodeFontColor: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    value: ColorValueOrAlias;
    selectorData: SelectorData;
    useExtraSelector?: boolean | undefined;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateNodeFontColor">, updateNodeIcon: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    icon: IconValueOrPropDefinitionInstance;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateNodeIcon">, updateNodeIconColor: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    value: ColorValueOrAlias;
    selectorData: SelectorData;
    useExtraSelector?: boolean | undefined;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateNodeIconColor">, updateNodePlaceholder: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    placeholder: TextValueOrPropDefinitionInstance;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateNodePlaceholder">, updateNodeImageSrc: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    src: ImageValueOrPropDefinitionInstance;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateNodeImageSrc">, updateNodeImageDisplayType: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    displayType: ImageDisplayType;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateNodeImageDisplayType">, updateNodeClassName: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    className: string | null;
    selectorData: SelectorData;
    useExtraSelector?: boolean | undefined;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateNodeClassName">, updateNodeContainerType: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    containerType: ContainerType | null;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateNodeContainerType">, updateNodeTextWhitespaceType: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    whitespace: TextWhitespaceType;
    selectorData: SelectorData;
    useExtraSelector?: boolean | undefined;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateNodeTextWhitespaceType">, updateNodeTextStyleType: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    textStyle: TextStyleType;
    selectorData: SelectorData;
    useExtraSelector?: boolean | undefined;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateNodeTextStyleType">, updateNodePaddingType: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    paddingType: PaddingType | null;
    selectorData: SelectorData;
    useExtraSelector?: boolean | undefined;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateNodePaddingType">, updateCustomInstanceProp: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    propDefinitionId: string;
    value: ValueOf<InstanceProps> | null;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateCustomInstanceProp">, updateNodeNonDeletable: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    nonDeletable: boolean;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateNodeNonDeletable">, updateNodeColumns: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    columns: number[];
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateNodeColumns">, updateNodePosition: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    childNodeId: NodeId;
    position: GridPosition;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateNodePosition">, deleteNodePosition: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    childNodeId: NodeId;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/deleteNodePosition">, addSlotToNodeRaw: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    propDefinitionId: string;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/addSlotToNodeRaw">, deleteSlotFromNodeRaw: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/deleteSlotFromNodeRaw">, addPropDefinition: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    propDefinition: PropDefinition;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/addPropDefinition">, deletePropDefinitionRaw: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    propDefinitionId: string;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/deletePropDefinitionRaw">, movePropDefinition: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    propDefinitionId: string;
    index: number;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/movePropDefinition">, updatePropDefinitionName: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    propDefinitionId: string;
    name: string;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updatePropDefinitionName">, updateTextPropDefinitionDefaultValue: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    propDefinitionId: string;
    value: TextValue;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateTextPropDefinitionDefaultValue">, updateNumberPropDefinitionDefaultValue: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    propDefinitionId: string;
    value: NumberValue;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateNumberPropDefinitionDefaultValue">, updateIconPropDefinitionDefaultValue: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    propDefinitionId: string;
    value: IconValue;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateIconPropDefinitionDefaultValue">, updateImagePropDefinitionDefaultValue: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    propDefinitionId: string;
    value: ImageValue;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateImagePropDefinitionDefaultValue">, updatePropDefinitionNonEditable: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    propDefinitionId: string;
    nonEditable: boolean;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updatePropDefinitionNonEditable">, updateEnumOptionNonEditable: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    propDefinitionId: string;
    enumOptionId: string;
    nonEditable: boolean;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateEnumOptionNonEditable">, addEnumOption: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    propDefinitionId: string;
    enumOption: EnumOption;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/addEnumOption">, updateEnumOptionValue: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    propDefinitionId: string;
    id: string;
    value: string;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updateEnumOptionValue">, deleteEnumOptionRaw: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    propDefinitionId: string;
    enumOptionId: EnumOptionId;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/deleteEnumOptionRaw">, addInteractionType: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    selectorId: SelectorId;
    interactionType: InteractionType;
    overrideData?: OverridesNodeMap | undefined;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/addInteractionType">, deleteInteractionType: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    selectorId: SelectorId;
    interactionType: InteractionType;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/deleteInteractionType">, clearOverrideDataByKey: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    selectorId: SelectorId;
    key: OverrideDataKey;
    interaction: InteractionType;
    deviceType: DeviceType;
    useExtraSelector?: boolean | undefined;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/clearOverrideDataByKey">, addOverrideDataByKey: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    selectorId: SelectorId;
    key: OverrideDataKey;
    interaction: InteractionType;
    deviceType: DeviceType;
    overrideData: Value;
    useExtraSelector?: boolean | undefined;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/addOverrideDataByKey">, deleteNodeFromOverride: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    selectorId: SelectorId;
    interactionType: InteractionType;
    deviceType: DeviceType;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/deleteNodeFromOverride">, addNodeToOverride: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    selectorId: SelectorId;
    interactionType: InteractionType;
    deviceType: DeviceType;
    data: Override;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/addNodeToOverride">, addPopoverRaw: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    popover: PopoverType;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/addPopoverRaw">, deletePopoverRaw: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/deletePopoverRaw">, updatePopoverPlacementDirection: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    placementDirection: PopoverPlacementDirection;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updatePopoverPlacementDirection">, updatePopoverPlacementOffset: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    offset: number;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updatePopoverPlacementOffset">, addCompoundComponentId: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    compoundComponentId: string;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/addCompoundComponentId">, moveCompoundComponentId: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    compoundComponentId: string;
    index: number;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/moveCompoundComponentId">, deleteCompoundComponentId: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    parentComponentId: string;
    compoundComponentId: string;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/deleteCompoundComponentId">, updatePageOptionLayout: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    layout: PageLayout | null;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/updatePageOptionLayout">, unlinkAllTokenReferences: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    token: Token;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/unlinkAllTokenReferences">, hackilyUpdateComponentRootNode: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    node: NodeType;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/hackilyUpdateComponentRootNode">, hackilyUpdateNodeInstanceComponentId: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    nodeId: NodeId;
    newComponentId: string;
    newComponentName: string;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/hackilyUpdateNodeInstanceComponentId">, hackilyReplaceComponentRootNodeId: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    elementId: NodeId;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/hackilyReplaceComponentRootNodeId">, hackilyUndoReplaceComponentRootNodeId: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
    elementId: NodeId;
    oldParentId?: string | undefined;
    oldParentChildrenIds?: string[] | undefined;
    oldRootNodeId?: string | undefined;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "components/hackilyUndoReplaceComponentRootNodeId">;
export declare const componentsReducer: import("redux").Reducer<ComponentState>;
//# sourceMappingURL=components.d.ts.map