import React from "react"; import type { HydrateState } from "../Contexts/workflow-storage-context/types"; interface ShortLinkStateHydratorProps { children: React.ReactElement; /** Data from ShortLink API to be hydrated into the */ sharedState: HydrateState; /** Used to clear temporary storage variable in the AppProvider */ clearTemporaryState: () => void; } /** * Hydrator which is a wrapper for workflows * Will check on load if there exists any hydrated data for the current workflow * If there is it will populate the state and provide an alert above the workflow */ declare const ShortLinkStateHydrator: ({ children, clearTemporaryState, sharedState, }: ShortLinkStateHydratorProps) => React.ReactElement; export default ShortLinkStateHydrator; //# sourceMappingURL=short-link-state-hydrator.d.ts.map