@tanstack/react-db
Version:
React integration for @tanstack/db
10 lines (9 loc) • 489 B
text/typescript
import { DbClient } from '@tanstack/db';
/**
* Reports a descriptor source that no DbClient bound, naming the provider a
* React tree needs. Returns `undefined` when a client can bind descriptors.
*/
export declare function getUnboundDescriptorReporter(client: DbClient | undefined, hookName: string): ((alias: string) => never) | undefined;
export declare function getPreparedSources(preparedValue: unknown, client: DbClient | undefined, hookName: string): Array<{
id: string;
}>;