import { Tree } from '@nx/devkit';

interface InitGeneratorSchema {
  unitTestRunner?: "vitest" | "jest" | "none";
  skipFormat?: boolean;
  js?: boolean;
  template?: "fetch-handler" | "scheduled-handler" | "hono" | "none";
}

declare function initGenerator(tree: Tree, schema: InitGeneratorSchema): Promise<() => Promise<void>>;

declare const initSchematic: (generatorOptions: InitGeneratorSchema) => (tree: any, context: any) => Promise<any>;

export { type InitGeneratorSchema as I, initSchematic as a, initGenerator as i };
