export interface GeneratorOptions { name: string; path?: string; } export interface StoreGeneratorOptions extends GeneratorOptions { stateProperties?: string[]; actions?: string[]; getters?: string[]; } export interface ComposableGeneratorOptions extends GeneratorOptions { props?: string[]; returnValues?: string[]; } export interface ComponentGeneratorOptions extends GeneratorOptions { props?: string[]; emits?: string[]; hasStore?: boolean; storeName?: string; } export interface ApiGeneratorOptions extends GeneratorOptions { methods?: string[]; } export declare function generatePiniaStore(options: StoreGeneratorOptions): string; export declare function generateComposable(options: ComposableGeneratorOptions): string; export declare function generateVueComponent(options: ComponentGeneratorOptions): string; export declare function generateApiFunction(options: ApiGeneratorOptions): string; export interface AsyncDataGeneratorOptions extends GeneratorOptions { endpoint?: string; key?: string; hasLazyLoad?: boolean; } export declare function generateUseAsyncDataComposable(options: AsyncDataGeneratorOptions): string; export declare function generateType(options: GeneratorOptions): string; export interface WriteFileOptions { targetPath?: string; relativePath: string; module?: string; content: string; } export declare function writeFileToTarget(options: WriteFileOptions): { success: boolean; filePath: string; error?: string; }; export interface GenerateAndWriteOptions { type: "store" | "composable" | "component" | "api" | "type" | "async-data"; name: string; relativePath: string; module?: string; targetPath?: string; options?: StoreGeneratorOptions | ComposableGeneratorOptions | ComponentGeneratorOptions | ApiGeneratorOptions | AsyncDataGeneratorOptions; } export declare function generateAndWrite(options: GenerateAndWriteOptions): { success: boolean; filePath: string; content: string; error?: string; }; //# sourceMappingURL=generator.d.ts.map