import type { EnvField } from "../introspect.js"; export interface TfvarsOptions { /** Header banner placed at the top of the file. */ header?: string; /** Group secret variables under a separate `# Secrets` section. Default: true. */ groupSecrets?: boolean; /** * Pre-fill specific variables with concrete values. Useful for * pipelines that need a non-placeholder file at write time. Secrets * are still rendered with a REPLACE_ME placeholder unless explicitly * listed here. */ values?: Record; /** End-of-line. Default: `"\n"`. */ eol?: string; } /** * Generate the contents of a Terraform `.tfvars` file from * introspected env-field metadata. The output uses HCL2 syntax: * * ```hcl * # Description of the variable * VARIABLE_NAME = "REPLACE_ME" * ``` * * Required values default to `"REPLACE_ME"`; optional fields use * their schema default. Booleans and numbers are emitted as their * native HCL types; everything else is quoted as a string. Override * any key via `options.values`. * * Pair with a `variable "VARIABLE_NAME" {}` block in your Terraform * module — this generator only produces the values file, not the * variable declarations (those live alongside the resources that * read them, so they're project-specific). */ export declare function generateTfvars(fields: readonly EnvField[], options?: TfvarsOptions): string; //# sourceMappingURL=tfvars.d.ts.map