import type { UseDataSourceOptions, UseDataSourceResult } from "../types.js"; /** * Reads from the data source mapped to the given semantic `key`. * * @param key - The semantic data-source key the block is wired to (e.g. `"people"`). * @param options - Optional live snapshot options. `limit` defaults to 20 and * is capped at 999. * * @example * const { items, isLoading, hasMore, error } = useDataSource("default", { limit: 25 }) */ export declare function useDataSource(key: string, options?: UseDataSourceOptions): UseDataSourceResult; //# sourceMappingURL=useDataSource.d.ts.map