import type { FunctionCall } from "../function/parser.js"; import type { LoopMode } from "./types.js"; import { type Result } from "../utils/result.ts"; export interface LoopParams { iterations: number; mode: LoopMode; clamped?: boolean; warning?: string; } export type LoopParamsResult = Result; /** * Parse a `FunctionCall` from `|loop:N,mode|` syntax into validated loop params. * * @param call - FunctionCall with `args` containing `_0`/`iterations` and `_1`/`mode`. * * Mode semantics in the unified-seed model: * - `"inherit"`: Prepend the unified summary from the previous round as a seed * context for the next round (aliases: `"on"`, `"true"`). * - `"fresh"`: Start each round with no seed context — a clean slate * (aliases: `"no-inherit"`, `"off"`, `"false"`). */ export declare function parseLoopParams(call: FunctionCall): LoopParamsResult; //# sourceMappingURL=params.d.ts.map