UNPKG

@ryo-98/react-api-bridge

Version:
4 lines (3 loc) 429 B
import { BoundaryContextValue } from "../types/boundary.js"; import { GetUpperAPIOptions } from "../types/options.js"; export declare const useFinalContextValue: <A extends object, N extends keyof A, O extends Partial<Record<keyof A, import("../types/options.js").APIOptions>>, P>(options: GetUpperAPIOptions<A, N, O, P> | undefined, bridgeContext: React.Context<BoundaryContextValue<A, P, O>>) => BoundaryContextValue<A, P, O>;