/** * Custom hook that provides access to the current status of PowerSync. * @returns The PowerSync Database status. * @example * import { useStatus } from "@powersync/react"; * * const Component = () => { * const status = useStatus(); * * return
* status.connected ? 'wifi' : 'wifi-off' *
* }; */ export declare const useStatus: () => import("@powersync/common").SyncStatus;