import { type Policy } from '@cloud-copilot/iam-policy'; import { StringBuffer } from '../util/StringBuffer.js'; import { type Converter } from './converter.js'; export declare class CloudFormationConverter implements Converter { convert(policy: Policy, sb: StringBuffer): void; /** * Recursively prints the given `value` (object, array, or scalar) as YAML lines * using StringBuffer's pushLine/pushInline. */ private writeYamlValue; private pushObjectValue; /** * Return true if `value` is null or a primitive (string/number/boolean). */ private isPrimitiveOrNull; /** * Convert primitive to a YAML-friendly string (quoted if it's a string). */ private stringifyScalar; /** * Stringify a key for YAML output. If it's a valid YAML key, return as-is. * * @param key the key to convert to a YAML key * @returns the key as a valid YAML key */ private yamlKey; } //# sourceMappingURL=cloudFormation.d.ts.map