import type { S } from '@state-designer/core'; /** * Subscribe a component to a state created with createState. * @param design A state returned from createState. */ export default function useGlobalState>>(design: S.DesignedState): S.DesignedState;