UNPKG

@cdktf/hcl2cdk

Version:
10 lines 528 B
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import * as t from "@babel/types"; import { ProgramScope, Reference } from "./types"; export declare function referenceToVariableName(scope: ProgramScope, ref: Reference): string; export declare function constructAst(scope: ProgramScope, type: string, isModuleImport: boolean): t.MemberExpression | t.Identifier; export declare function variableName(scope: ProgramScope, resource: string, name: string): string; //# sourceMappingURL=variables.d.ts.map