import type { ResolvedPresetAsset } from '@presetter/types'; /** * generates dynamic ES module content for the specified preset * @param exports an array of export names to include in the generated content * @returns a string representing the dynamically generated ES module content */ export declare function buildEsmFile(exports: string[]): string; /** * serialize a configuration content to the right format according to its destination * @param destination the path to which the content will be written * @param content configuration content * @returns serialized content */ export declare function serialize(destination: string, content: ResolvedPresetAsset): string | Buffer; //# sourceMappingURL=serialization.d.ts.map