export declare function useValidate(): { isFlowValid: () => boolean; isNodeValid: (nodeId: string) => boolean; };