import { type RenderOptions } from './renderer'; export interface FluxRecipeOptions extends RenderOptions { /** Output directory for the recipe (files land in stacks/ + clusters/). */ out: string; /** Stack name — defaults to the entry file basename without extension. */ name?: string; /** GitRepository name the Kustomizations reconcile from (flux bootstrap's default). */ source?: string; /** Namespace of the GitRepository — also home of the Kustomization CRs. */ sourceNamespace?: string; /** Fallback namespace for Helm resources when an operator declares none. */ namespace?: string; /** Cluster directory under clusters/ — 'default' when omitted. */ cluster?: string; /** * Emit only the shared operators layer — `stacks//operators/` + * the single `-operators` Kustomization CR. Use with a synthetic * entry that declares every operator a full-catalog install shares. * Mutually exclusive with `sharedOperators`. */ operatorsOnly?: boolean; /** * Emit only the package stack layer, depending on the named shared * operators Kustomization (instead of the per-stack `-operators`). * Operators declared in the entry are skipped — they belong to the * shared layer. Mutually exclusive with `operatorsOnly`. */ sharedOperators?: string; } export interface FluxRecipeResult { name: string; cluster: string; /** Paths written, relative to the output directory. */ files: string[]; } /** * Which layers the recipe emits: both (default), only the shared operators * layer, or only the package stack layer. */ export type FluxRecipeMode = 'default' | 'operators-only' | 'shared-operators'; /** * Render `` and write the full Flux stack recipe under * `options.out`. Exported for tests — the CLI wraps it with arg parsing. */ export declare function writeFluxRecipe(entryFile: string, options: FluxRecipeOptions): Promise; //# sourceMappingURL=flux.d.ts.map