import {RefObject} from "react"; import {BridgeAPIOptions} from "./options.js"; import {APIParams, ConditionByIsMulti} from "./api.js"; export type OnInit = (api: RefObject) => any; export type OnMultiInit = (api: RefObject | undefined, total: RefObject[]) => any; export type ResolveInit, N extends keyof A> = ConditionByIsMulti, OnInit>;