import { BorderData, ComponentDefinition, ComponentDefinitionMap, CornerData, CustomComponentDefinition, FontValueOrAlias, ImageValue, NodeId, SelectorData } from "../../data/types";
import { AppThunk } from "../reducers/root";
export declare function duplicateComponent(component: ComponentDefinition): AppThunk<ComponentDefinition[]>;
export declare function addComponentDefinition({ definition, insertAtEnd, }: {
    definition: ComponentDefinition;
    insertAtEnd?: boolean;
}): AppThunk<ComponentDefinition>;
export declare function deleteComponent({ componentId }: {
    componentId: string;
}): AppThunk<void>;
export declare function addImageAssetsIfNeeded(imageValues: ImageValue[]): AppThunk;
export declare const TEMPLATE_TRUNCATED_PROJECT_ID = "2fca08d85357";
export declare function addFromTemplateAndDependenciesIfNeeded({ definitionIds, dependencies, showToast, ignoredComponentIds, insertAtEnd, }: {
    definitionIds: string[];
    dependencies?: ComponentDefinitionMap;
    showToast?: boolean;
    ignoredComponentIds?: string[];
    insertAtEnd?: boolean;
}): AppThunk<ComponentDefinition[]>;
export declare function duplicatePrebuiltComponent({ componentId }: {
    componentId: string;
}): AppThunk<ComponentDefinition[]>;
export declare function updateComponentName({ componentId, name }: {
    componentId: string;
    name: string;
}): AppThunk<string>;
export declare function updateNodeFontStyle({ componentId, nodeId, value, selectorData, }: {
    componentId: string;
    nodeId: NodeId;
    value: FontValueOrAlias;
    selectorData: SelectorData;
}): AppThunk<void>;
export declare function updateNodeCorner({ componentId, nodeId, corner, selectorData, }: {
    componentId: string;
    nodeId: NodeId;
    corner: CornerData | null;
    selectorData: SelectorData;
}): AppThunk<void>;
export declare function updateNodeBorder({ componentId, nodeId, border, selectorData, }: {
    componentId: string;
    nodeId: NodeId;
    border: BorderData | null;
    selectorData: SelectorData;
}): AppThunk<void>;
export declare function createBlankCustomComponent(definition?: Partial<CustomComponentDefinition>): AppThunk<CustomComponentDefinition>;
//# sourceMappingURL=component-thunks.d.ts.map