/** * Writes a package xml object to disk, in both raw and zipped format */ import JSZip from 'jszip'; import type { ITerminal } from '@rushstack/terminal'; import type IFile from './models/packageXml/IFile'; import type IOpenDocumentConventionXml from './models/packageXml/IOpenDocumentConventionXml'; import type IPackageXml from './models/packageXml/IPackageXml'; import type IFeatureXml from './models/packageXml/IFeatureXml'; import type IIcon from './models/packageXml/IIcon'; import type { IPackageSolutionConfig } from '../SolutionPackager'; /** * Writes the ISolutionXml object containing the solution package xml to the disk using provided config */ export declare function writePackageAsync(terminal: ITerminal, solution: IPackageXml, config: IPackageSolutionConfig, noSpppkg: boolean): Promise; /** * Ensures that the contents of config.paths.debugDir have been deleted */ export declare function cleanRawPackageDirectoryAsync(terminal: ITerminal, config: IPackageSolutionConfig): Promise; export declare function writeFeatureAsync(terminal: ITerminal, feature: IFeatureXml, config: IPackageSolutionConfig, zip: JSZip): Promise; /** * Write the app icon related files: The icon file itself, and the config.xml * If there is no icon it does nothing. * If the icon path is invalid, it throws an error. */ export declare function writeIconAsync(terminal: ITerminal, icon: IIcon, config: IPackageSolutionConfig, zip: JSZip): Promise; export declare function writeXmlFileAsync(terminal: ITerminal, file: IFile, config: IPackageSolutionConfig, zip: JSZip): Promise; export declare function writeODCFileAsync(terminal: ITerminal, file: IOpenDocumentConventionXml, config: IPackageSolutionConfig, zip: JSZip): Promise; //# sourceMappingURL=writePackage.d.ts.map