UNPKG

@cdktf/hcl2cdk

Version:
11 lines 703 B
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { TFExpressionSyntaxTree as tex } from "@cdktf/hcl2json"; import { ProgramScope, Reference, TerraformResourceBlock } from "./types"; export declare function referenceToVariableName(scope: ProgramScope, ref: Reference): string; export declare function containsReference(expression: tex.ExpressionType): boolean; export declare function extractReferencesFromExpression(input: string, nodeIds: readonly string[], scopedIds?: readonly string[]): Promise<Reference[]>; export declare function findUsedReferences(nodeIds: string[], item: TerraformResourceBlock): Promise<Reference[]>; //# sourceMappingURL=references.d.ts.map