import { render } from '@r8s/core'; export interface RenderOptions { includeOperators?: boolean; operatorsOnly?: boolean; /** * Skip the plaintext-credentials guardrail in the render pipeline. * Explicit opt-out — a warning is emitted on stderr, and the rendered * YAML must never be committed or applied to a cluster. */ skipSecretGuardrails?: boolean; /** * Mask plaintext credential values in the produced YAML. Automatically * combined with skipSecretGuardrails when output goes to stdout (logs), * so skipping the guardrail never leaks live credentials into CI logs. * Output written to --out files stays faithful when redaction is off. */ redactSecrets?: boolean; } export declare function bundleAndRender(entryFile: string): Promise; /** * Enforce the no-plaintext-secrets guardrail on rendered resources. * Runs by default so plaintext credentials can never reach rendered YAML, * files, or logs. Passing `skipSecretGuardrails` bypasses it — * every caller must make that an explicit, user-visible decision. * * Exported so other render paths (`r8s flux`) enforce the same guardrail * over their own manifests before anything is serialized. */ export declare function enforceSecretGuardrails(resources: ReturnType['resources'], options: RenderOptions): void; export declare function renderToYaml(entryFile: string, options?: RenderOptions): Promise; export declare function renderToOperatorsYaml(entryFile: string): Promise; //# sourceMappingURL=renderer.d.ts.map