import type { ListrTaskWrapper, ListrRenderer } from 'listr2'; import { Listr } from 'listr2'; export declare const transformTSToJS: (filename: string, content: string) => string | Promise; /** * This returns the config present in `prettier.config.js` of a Redwood project. */ export declare const getPrettierOptions: () => Promise; export declare const prettify: (templateFilename: string, renderedTemplate: string) => Promise; export type ExistingFiles = 'OVERWRITE' | 'SKIP' | 'FAIL'; export declare const writeFile: (target: string, contents: string, { existingFiles }?: { existingFiles?: ExistingFiles; }, task?: ListrTaskWrapper) => void; /** * Creates a list of tasks that write files to the disk. * * @param files - {[filepath]: contents} */ export declare const writeFilesTask: (files: Record, options: { existingFiles: ExistingFiles; }) => Listr; //# sourceMappingURL=index.d.ts.map