@cdktf/hcl2cdk
Version:
Transform HCL into CDK
10 lines • 528 B
TypeScript
/**
* 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