import type { GeneratedConfig } from '@ms-cloudpack/common-types'; /** * Comment added to the top of the generated file (exported for testing only). * @internal */ export declare const fileHeaderComment = "/**\n * THIS FILE IS AUTO-GENERATED.\n * DO NOT MANUALLY EDIT THIS FILE.\n */\n"; /** * Clean up the generated config (sort it and remove empty settings) and write it to * cloudpack.generated.json. This is used at the end of `init`. * * If the config file exists but is no longer needed, it will be deleted. * * @returns * - `'written'` if the config was written * - `'deleted'` if the config previously existed but is now empty and was deleted * - `'no-op'` if the config didn't previously exist and is still empty */ export declare function writeGeneratedConfig(config: GeneratedConfig, appPath: string): Promise<'written' | 'deleted' | 'no-op'>; /** * Due to optimization, some package settings may end up with empty settings. * These would add useless bloat, so filter them out before writing the generated config. * This function removes those settings by mutating the input generated config. */ export declare function cleanGeneratedConfig(config: GeneratedConfig): void; //# sourceMappingURL=writeGeneratedConfig.d.ts.map