import type { ItemSchema, LoopSchema } from "../../types/schema/model"; import type { Position } from "../../types/state/position"; /** * Type guard for `LoopSchema` objects. * * @param schema An `ItemSchema` object. * @returns A boolean indicating whether the `schema` is a `LoopSchema` object. */ export declare function is(schema: ItemSchema): schema is LoopSchema; /** * Returns the initial position for the given `LoopSchema` object if there is an initial position, otherwise it returns `null`. * * @param schema A `LoopSchema` object. * @param values An object containing the generated values within the multi-step form. * @returns A `Position` object representing the initial position, or `null` if there is no initial position. */ export declare function into(schema: LoopSchema, values: Record): Position | null; /** * Returns the next position for the given `LoopSchema` object if there is a next position, otherwise it returns `null`. * * @param schema A `LoopSchema` object. * @param position A `Position` object representing the current position. * @param values An object containing the generated values within the multi-step form. * @returns A `Position` object representing the next position, or `null` if there is no next position. */ export declare function next(schema: LoopSchema, position: Position, values: Record): Position | null; /** * Returns the `ItemSchema` object at the given position within the given `LoopSchema` object. * * @param schema The `LoopSchema` object. * @param position The position within the `LoopSchema` object. * @returns The `ItemSchema` object at the given position within the `LoopSchema` object. */ export declare function at(schema: LoopSchema, position: Position): ItemSchema; //# sourceMappingURL=flow.loop.d.ts.map