import { ComponentActionTypes, DefineComponent, ComponentEvent, CreateComponentOptionDefaults, UpdateComponentOptionDefaults, PartialProps } from './types'; import { Spec } from '../specs/types'; import { AppThunk, State, Dispatch } from '../types'; import { VariableTypes } from '../variables/types'; import { ComponentShortcut, VariableShortcut } from '../shortcuts'; export declare function defineComponent(component: DefineComponent, spec: Spec): ComponentActionTypes; export declare function removeComponent(id: string): ComponentActionTypes; export declare function componentShortcut>(dispatch: Dispatch, getState: () => State, id: string): ComponentShortcut; export declare function createComponent>(specName: string, properties: { [P in keyof T]: PartialProps | VariableShortcut; }, events?: Record>, options?: Partial): AppThunk>; export declare function updateComponent>(id: string, properties: { [P in keyof T]: PartialProps | VariableShortcut; }, events?: Record>, options?: Partial): AppThunk>; export declare function sendComponentEvent(componentId: string, name: string, values?: VariableTypes[]): AppThunk;