react-instantsearch-core
Version:
⚡ Lightning-fast search for React, by Algolia
9 lines (8 loc) • 395 B
TypeScript
import type { PromiseWithState } from './wrapPromiseWithState';
import type { RefObject } from 'react';
export type InstantSearchRSCContextApi = {
waitForResultsRef: RefObject<PromiseWithState<void> | null> | null;
countRef: RefObject<number>;
ignoreMultipleHooksWarning: boolean;
};
export declare const InstantSearchRSCContext: import("react").Context<InstantSearchRSCContextApi>;