import type { ThunkAction } from 'redux-thunk'; import type { TAnyObject, TExtend } from 'tsfn'; import type { TComponents } from '../types'; import type { TMetaState } from './types'; export declare const SET_COMPONENT_KEY_ACTION = "SET_COMPONENT_KEY"; export declare const RESET_COMPONENT_KEY_ACTION = "RESET_COMPONENT_KEY"; export declare const SET_COMPONENTS_LIST_ACTION = "SET_COMPONENTS_LIST"; export declare const SET_IMPORTED_META_ACTION = "SET_IMPORTED_META"; export declare const SET_PROPS_ACTION = "SET_PROPS"; export declare const SELECT_ELEMENT_ACTION = "SELECT_ELEMENT"; export declare type TAction = { type: T; payload?: TAnyObject; }; declare type TActionWithPayload = TExtend, { payload: P; }>; declare type TActionAsync = ThunkAction, TMetaState, undefined, A>; export declare type TSetComponentKeyAction = TActionWithPayload>; export declare type TSelectElementAction = TActionWithPayload>; export declare type TResetComponentKeyAction = TAction; export declare type TSetComponentsListAction = TActionWithPayload>; export declare type TSetImportedMetaAction = TActionWithPayload; export declare type TSetPropsAction = TActionWithPayload>; export declare type TAllActions = TSetComponentKeyAction | TSelectElementAction | TResetComponentKeyAction | TSetComponentsListAction | TSetImportedMetaAction | TSetPropsAction; export declare const selectElementAction: (payload: TSelectElementAction['payload']) => TSelectElementAction; export declare const setComponentListThunk: (components: TComponents) => TActionAsync; export declare const updateComponentPropsThunk: (componentKey: string | null, propsIndex: string) => TActionAsync; export declare const setComponentThunk: (componentKey: string) => TActionAsync; export declare const applyPropPathValue: (propPath: string[], propValue: any) => TActionAsync; export {};