/** * Azure Resource Manager template serializer. * * Converts Declarable entities into ARM template JSON with: * - resources[] array (not keyed by logical name like CloudFormation) * - apiVersion per resource (from lexicon registry) * - Resource-level fields (sku, kind, identity, tags, zones, plan, location) * hoisted from properties * - ARM bracket expression references * - parameters, outputs sections */ import type { Serializer } from "@intentius/chant/serializer"; export declare function apiVersionRegistryCandidates(dir?: string): string[]; export declare function loadApiVersions(candidates?: string[]): Map; /** Test hook: drop the cached registry so the next lookup reloads it. */ export declare function resetApiVersionCache(): void; /** * Registry lookup without the serializer's fallback: the pinned apiVersion for * `resourceType`, or `undefined` when neither the overrides nor the generated * registry know the type. ARM resource types are case-insensitive and the live * listing does not always echo the casing the registry uses, so the match is * case-insensitive too. Used by prune (#1472), which needs an apiVersion for a * type the current template no longer declares. */ export declare function lookupApiVersion(resourceType: string): string | undefined; export declare function getApiVersion(resourceType: string): string; /** * Azure ARM template serializer implementation. */ export declare const azureSerializer: Serializer; //# sourceMappingURL=serializer.d.ts.map