/** * Parser for HCL block bodies. * Extracts attributes (key = value pairs) and nested blocks from block content. */ import { ParsedBody } from '../../types/blocks'; /** * Parses an HCL block body into structured attributes and nested blocks. * * @param body - The raw block body content (without outer braces) * @returns ParsedBody containing attributes and nested blocks * * @example * ```typescript * const body = ` * name = "example" * count = 5 * tags { * env = "prod" * } * `; * const parsed = parseBlockBody(body); * // parsed.attributes: { name: Value, count: Value } * // parsed.blocks: [{ type: 'tags', ... }] * ``` */ export declare function parseBlockBody(body: string): ParsedBody;