import { ConfigMetadata } from "./types"; /** * Serializes webpack/rspack config to YAML format with optional inline documentation. * Handles functions, RegExp, and special objects that don't serialize well to standard YAML. */ export declare class YamlSerializer { private annotate; private appRoot; constructor(options: { annotate: boolean; appRoot: string; }); /** * Serialize a config object to YAML string with metadata header */ serialize(config: unknown, metadata: ConfigMetadata): string; private static createHeader; private serializeValue; private serializeString; private serializeFunction; private serializeArray; private serializeObject; private makePathRelative; /** * Extracts the constructor name from an object * Returns null for plain objects (Object constructor) or objects without prototypes */ private static getConstructorName; } //# sourceMappingURL=yamlSerializer.d.ts.map