import { PositionedElement, Subgrid } from '../types/Form'; interface Step { subgrids: Subgrid[]; servar_fields: any[]; } export declare function inRepeat(elementKey: string, parentKey: string, addCommaToElement?: boolean): boolean; /** * Gets the repeating container ancestor of an element * @param step * @param element * @returns */ export declare function getRepeatedContainer(step: Step, element: PositionedElement): Subgrid | undefined; /** * Gets all of the repeated container for a step * @param step * @returns */ export declare function getRepeatedContainers(step: Step): Subgrid[]; /** * Gets all of the server field descendants of a repeating container * @param step * @param repeatContainer * @returns */ export declare function getFieldsInRepeat(step: { servar_fields: any[]; }, repeatContainer: PositionedElement): any[]; /** * Gets the container with the given id on the step * @param step * @param id * @returns */ export declare function getContainerById(step: { subgrids: Subgrid[]; }, id: string): Subgrid | undefined; export {}; //# sourceMappingURL=repeat.d.ts.map