import { DamlLfCompilation } from "../../daml-lf/daml-lf-compilation.js"; import { AnalyzedDamlTypeDefinition } from "./analyzed-daml-type-definition.js"; import { AnalyzedTemplate } from "./analyzed-template.js"; export type DamlInterfacePackageMetadata = { readonly packageName: string; readonly packageVersion: string; }; export declare class DamlInterfaceAnalysisResult { readonly templates: readonly AnalyzedTemplate[]; readonly typeDefinitions: readonly AnalyzedDamlTypeDefinition[]; readonly packageMetadata: ReadonlyMap; constructor(init: { templates: readonly AnalyzedTemplate[]; typeDefinitions: readonly AnalyzedDamlTypeDefinition[]; packageMetadata?: ReadonlyMap; }); } export declare class DamlInterfaceAnalyzer { /** Analyzes compiled DAML-LF templates into generator-facing metadata. */ analyzeOrThrow(compilation: DamlLfCompilation): DamlInterfaceAnalysisResult; private analyzeTemplateOrThrow; private analyzeTemplateFieldOrThrow; private analyzeChoiceOrThrow; private toCamelCase; private toPascalCase; private toKebabCase; }