/** * Utility functions for formatting bubble parameters */ import { BubbleParameter, ParsedBubbleWithInfo, containsFunctionLiteral, formatParameterValue, condenseToSingleLine } from '@bubblelab/shared-schemas'; export { containsFunctionLiteral, formatParameterValue, condenseToSingleLine }; export declare function buildParametersObject(parameters: BubbleParameter[], variableId?: number, includeLoggerConfig?: boolean, dependencyGraphLiteral?: string, currentUniqueId?: string): string; /** * Try to parse a tools parameter that may be provided as JSON or a JS-like array literal. * Returns an array of objects with at least a name field, or null if parsing fails. */ export declare function parseToolsParamValue(raw: unknown): Array> | null; /** * Replace a bubble instantiation with updated parameters * * This function: * 1. Replaces the bubble instantiation line with updated parameters * 2. Preserves multi-line structure when function literals are present * 3. Condenses to single-line otherwise * 4. Uses bubble.location.endLine to know exactly where to stop deleting */ export declare function replaceBubbleInstantiation(lines: string[], bubble: ParsedBubbleWithInfo): void; //# sourceMappingURL=parameter-formatter.d.ts.map