import type { NodePlopAPI } from 'plop';
type GetGeneratorLanguageOptions = {
    plugin?: string;
    filePath: string;
};
/**
 * Detect whether generated files should use TypeScript or JavaScript templates.
 *
 * For plugin generation, the check is scoped to the plugin server directory derived
 * from the generator output path. For everything else, it checks the `dir` option
 * passed to `generate()` (via `getDestBasePath()`).
 */
declare const getGeneratorLanguage: ({ plugin, filePath }: GetGeneratorLanguageOptions, plop: Pick<NodePlopAPI, "getDestBasePath">) => "ts" | "js";
export default getGeneratorLanguage;
//# sourceMappingURL=get-generator-language.d.ts.map