import { Logger } from "@decaf-ts/logging"; export declare class FabricCAClientConfigBuilder { private log; private config; constructor(logger?: Logger); setCustom(key: string, value: any): this; deleteBCCSP(): this; /** * @description Saves the current configuration to a file. * @summary Writes the current Fabric CA Server configuration to a YAML file at the specified path. If the directory doesn't exist, it will be created. * @param {string} cpath - The path where the configuration file should be saved. * @return {this} The current instance of the builder for method chaining. * @example * const builder = new FabricCAServerCommandBuilder(); * builder.save('/path/to/config/fabric-ca-server.yaml'); * * @mermaid * sequenceDiagram * participant Client * participant Builder as FabricCAServerCommandBuilder * participant FileSystem as File System * Client->>Builder: saveConfig('/path/to/config/fabric-ca-server.yaml') * Builder->>Builder: Check if cpath is defined * alt cpath is defined * Builder->>FileSystem: Check if directory exists * alt Directory doesn't exist * Builder->>FileSystem: Create directory * end * Builder->>Builder: Log debug message * Builder->>FileSystem: Write YAML configuration to file * end * Builder-->>Client: Return this */ save(cpath?: string): this; }