export interface LeafActionData { path: (string | number)[]; creatorKey: string; CREATOR_KEY: string; compound?: boolean; custom: boolean; } export interface LeafStandardAction { type: string; leaf: LeafActionData; payload?: PayloadT; } export interface LeafStandardActionWithPayload extends LeafStandardAction { payload: PayloadT; } export interface LeafCompoundAction extends LeafStandardActionWithPayload<(LeafStandardAction | LeafCompoundAction)[]> { leaf: LeafActionData & { compound: true; bundled: string[]; }; } export declare function isLeafCompoundAction(action: LeafStandardAction): action is LeafCompoundAction; export { LeafStandardAction as LSA, LeafStandardActionWithPayload as LSAWithPayload, LeafStandardActionWithPayload as LSAwP, };