UNPKG

@ryo-98/react-api-bridge

Version:
9 lines (8 loc) 642 B
/// <reference types="react" /> import { BoundaryContextValue } from "../types/boundary.js"; import { BridgeAPIOptions, GetUpperAPIOptions } from "../types/options.js"; import { APIParams } from "../types/api.js"; export declare function getUpperApiDesc<A extends APIParams, N extends keyof A, O extends BridgeAPIOptions<A>, P>(contextValue: BoundaryContextValue<A, P, O>, _name: N, options: GetUpperAPIOptions<A, N, O, P> | undefined, bridgeOptions: O | undefined): { apiNList: import("../types/api.js").ConditionByIsMulti<O, N, import("react").RefObject<A[N]>[], import("react").RefObject<A[N]>>; isInitial: boolean; } | undefined;