import { Plugin } from 'vite'; import { Flags } from './flags.ts'; export { stripGXTDebug } from './babel.ts'; export type { TransformResult } from './test'; /** * Detect a genuine `hbs\`...\`` tagged template in a .ts/.js module. * * The negative lookbehind excludes file-extension / inline-code PROSE in doc * comments — `.hbs`, 'hbs', "hbs", \`hbs — which would otherwise route the * whole module through the template transform and mangle its exports. A docs * sentence like "components were authored in paired \`.hbs\` files" hit * exactly this in emberjs/ember.js#21340 (the closing backtick of the * inline-code span follows "hbs" directly). Genuine tags are preceded by * whitespace, `=`, `(`, `,`, `return`, start-of-file, etc. */ export declare function hasHbsTaggedTemplate(code: string): boolean; type Options = { authorMode?: boolean; disableHMR?: boolean; flags?: Partial; }; export declare function compiler(mode: string, options?: Options): Plugin;