import { type INodeComponent } from '../../composables/useNode'; export declare const useEditorStore: import("pinia").StoreDefinition<"editor", Pick<{ state: import("vue").Ref<{ node: { _id: string; type: string; props: any; data: any; children: any[]; }[]; selectedNode: { _id: string; type: string; props: any; data: any; children: any[]; } | null; copied: { _id: string; type: string; props: any; data: any; children: any[]; } | null; firstFetchedData: string | null; }, IEditorState | { node: { _id: string; type: string; props: any; data: any; children: any[]; }[]; selectedNode: { _id: string; type: string; props: any; data: any; children: any[]; } | null; copied: { _id: string; type: string; props: any; data: any; children: any[]; } | null; firstFetchedData: string | null; }>; setNodeList: (newNode: INodeComponent[]) => void; setRootNode: (newNode: INodeComponent) => void; setFromTemplate: (businessId: string, templateId: string) => Promise; setCurrentNode: (node: any) => void; updateNode: (node: any) => void; removeNode: (node: INodeComponent) => void; setCopiedNode: (node: INodeComponent) => void; isSaved: () => boolean; }, "state">, Pick<{ state: import("vue").Ref<{ node: { _id: string; type: string; props: any; data: any; children: any[]; }[]; selectedNode: { _id: string; type: string; props: any; data: any; children: any[]; } | null; copied: { _id: string; type: string; props: any; data: any; children: any[]; } | null; firstFetchedData: string | null; }, IEditorState | { node: { _id: string; type: string; props: any; data: any; children: any[]; }[]; selectedNode: { _id: string; type: string; props: any; data: any; children: any[]; } | null; copied: { _id: string; type: string; props: any; data: any; children: any[]; } | null; firstFetchedData: string | null; }>; setNodeList: (newNode: INodeComponent[]) => void; setRootNode: (newNode: INodeComponent) => void; setFromTemplate: (businessId: string, templateId: string) => Promise; setCurrentNode: (node: any) => void; updateNode: (node: any) => void; removeNode: (node: INodeComponent) => void; setCopiedNode: (node: INodeComponent) => void; isSaved: () => boolean; }, never>, Pick<{ state: import("vue").Ref<{ node: { _id: string; type: string; props: any; data: any; children: any[]; }[]; selectedNode: { _id: string; type: string; props: any; data: any; children: any[]; } | null; copied: { _id: string; type: string; props: any; data: any; children: any[]; } | null; firstFetchedData: string | null; }, IEditorState | { node: { _id: string; type: string; props: any; data: any; children: any[]; }[]; selectedNode: { _id: string; type: string; props: any; data: any; children: any[]; } | null; copied: { _id: string; type: string; props: any; data: any; children: any[]; } | null; firstFetchedData: string | null; }>; setNodeList: (newNode: INodeComponent[]) => void; setRootNode: (newNode: INodeComponent) => void; setFromTemplate: (businessId: string, templateId: string) => Promise; setCurrentNode: (node: any) => void; updateNode: (node: any) => void; removeNode: (node: INodeComponent) => void; setCopiedNode: (node: INodeComponent) => void; isSaved: () => boolean; }, "setNodeList" | "setRootNode" | "setFromTemplate" | "setCurrentNode" | "updateNode" | "removeNode" | "setCopiedNode" | "isSaved">>; interface IEditorState { node: INodeComponent[]; selectedNode: INodeComponent | null; copied: INodeComponent | null; firstFetchedData: string | null; } export {};