/** * @license * Copyright Stbui All Rights Reserved. * https://github.com/stbui/prophet */ declare const _default: () => { startLoading: () => void; stopLoading: () => void; errorLoading: () => void; }; /** * @example * * import { useUpdateLoading } from '@stbui/prophet-core' * * const MyComponent = () => { * const { startLoading, stopLoading } = useUpdateLoading(); * useEffect(() => { * startLoading(); * fetch('http://www.stbui.com/api') * .finally(() => stopLoading()); * }, []); * return stbui; * } * */ export default _default;