import type { TypeScriptPluginOptions } from "@rnx-kit/types-plugin-typescript"; import type { SerializerHook } from "./types.ts"; /** * Create a hook function to be registered with Metro during serialization. * Each serialization pass runs the hook which type-checks each added/updated * source file. * * Source file in node_modules (external packages) are ignored. * * @param options TypeScript validation options * @param print Optional function to use when printing status messages to the Metro console * @returns Hook function */ export declare function TypeScriptPlugin(options?: TypeScriptPluginOptions | boolean, print?: (message: string) => void): SerializerHook; export declare namespace TypeScriptPlugin { var type: string; } //# sourceMappingURL=serializerHook.d.ts.map