export type NativeArg = string | number | boolean | null | { [k: string]: NativeArg; } | NativeArg[] | Function | GeoJSON.Geometry | undefined; type FunctionKeys = keyof { [K in keyof T as T[K] extends Function ? K : never]: T[K]; }; type RefType = React.Component; export declare class NativeCommands { module: Spec; preRefMethodQueue: Array<{ method: { name: FunctionKeys; args: NativeArg[]; }; resolver: (value: unknown) => void; }>; nativeRef: RefType | undefined; constructor(module: Spec); setNativeRef(nativeRef: RefType): Promise; call(name: FunctionKeys, args: NativeArg[]): Promise; _call(name: FunctionKeys, nativeRef: RefType, args: NativeArg[]): Promise; } export {}; //# sourceMappingURL=NativeCommands.d.ts.map