nitro-codegen
Version:
The code-generator for react-native-nitro-modules.
18 lines (17 loc) • 574 B
TypeScript
import type { SourceImport } from '../SourceFile.js';
interface Props {
/**
* The name of the Hybrid Object under which it should be registered and exposed to JS to.
*/
hybridObjectName: string;
/**
* The name of the Kotlin/Java class that will be default-constructed
*/
jniClassName: string;
}
interface JNIHybridObjectRegistration {
cppCode: string;
requiredImports: SourceImport[];
}
export declare function createJNIHybridObjectRegistration({ hybridObjectName, jniClassName, }: Props): JNIHybridObjectRegistration;
export {};