import { In as TargetLanguage, Ln as TransformResult, s as CompilerPlugin } from "./_chunks/plugin-BnNQpFbA.js"; //#region src/testing.d.ts export interface TestNativePluginOptions { readonly target: TargetLanguage; /** Throw when the compile reports any warning. */ readonly requireNoWarnings?: boolean | undefined; readonly filename?: string | undefined; } /** * Compile `source` with exactly one plugin installed, for a plugin's own test. * * @example * const { code } = testNativePlugin(myPlugin, "const s = useMyHook()", { target: 'swift', requireNoWarnings: true }) * expect(code).toContain('PyreonMyThing()') */ export declare function testNativePlugin(plugin: CompilerPlugin, source: string, options: TestNativePluginOptions): TransformResult; //#endregion