UNPKG

react-native-node-api

Version:
26 lines 772 B
import { type NodeApiVersion } from "node-api-headers"; /** * Generates source code for a version script for the given Node API version. * @param version */ export declare function getNodeApiHeaderAST(version: NodeApiVersion): { kind: "TranslationUnitDecl"; inner: { kind: string; type?: { qualType: string; } | undefined; name?: string | undefined; }[]; }; export type FunctionDecl = { name: string; kind: "engine" | "runtime"; returnType: string; noReturn: boolean; argumentTypes: string[]; libraryPath: string; fallbackReturnStatement: string; }; export declare function getNodeApiFunctions(version?: NodeApiVersion): FunctionDecl[]; //# sourceMappingURL=node-api-functions.d.ts.map