import type { CollectionsOfDatabase, RxDatabase } from '../../../types/index.d.ts'; /** * The `useRxDatabase` hook retrieves the RxDB database instance from context. * * @returns The RxDB database instance. * @throws {Error} Throws an error if the component is not wrapped in a . * This ensures the database context is properly initialized before use. */ export declare function useRxDatabase(): RxDatabase;