import { Component, type MutableRefObject, type SyntheticEvent } from "react"; import { type NativeArg } from "../utils"; export type RNMLEvent = { payload: PayloadType; type: string; }; type UseNativeBridge = { _nativeModuleName: string; _onAndroidCallback: (e: SyntheticEvent) => void; _callbackMap: MutableRefObject>; _preRefMapMethodQueue: MutableRefObject; _addAddAndroidCallback: (id: string, resolve: (value: ReturnType) => void, reject: (error: Error) => void) => void; _removeAndroidCallback: (id: string) => void; _runPendingNativeCommands: (nativeRef: RefType | null | undefined) => Promise; _runNativeCommand: (methodName: string, nativeRef: RefType | undefined | null, args?: NativeArg[]) => Promise; }; export declare const useNativeBridge: (moduleName: string) => UseNativeBridge; export {}; //# sourceMappingURL=useNativeBridge.d.ts.map