import { CellProps } from '../../basic-components/cell/cell-types';
import { DataColumn, DataLayoutField, DataLayoutSection } from '../../types/data-structures';
/**
 * Maps layout sections into subsections based on layout parameters such as columns.
 * @param {DataLayoutSection[]} sections - Layout sections to map
 * @param {string[]} cells - List of cell IDs to filter from content
 * @returns {DataLayoutSection[]} New sections array to handle
 */
export declare const mapSections: (sections: DataLayoutSection[], cells: string[]) => DataLayoutSection[];
/**
 * Retrieves the grid template value for a set of layout subsections and returns a CSS style object.
 * @param {DataLayoutSection[]} sections - Array of layout subsections used to generate the grid template string
 * @param {string} ccsVarName - The Smeup CSS variable name to assign (e.g., "--smp-grid-template-cols")
 * @returns {{[gridTemplateKey: string]: string}} An object containing the CSS variable name as the key and the generated grid template string as the value
 */
export declare const getSectionGridTemplateStyleString: (sections: DataLayoutSection[], ccsVarName: string) => {
    [x: string]: string;
};
/**
 * Check if vertical dimension needs to be handled. Use this only if `section.horizantal = false | undefined`
 * @param {DataLayoutSection[]} sections - Array of layout subsections that needs to check if vertical dimension need to be handled
 * @returns {boolean} vertical dimension need to be handled
 */
export declare const hasVerticalDim: (sections: DataLayoutSection[]) => boolean;
export declare const isVisible: (field: DataLayoutField, column?: DataColumn) => boolean;
/**
 * Creates a unique section ID generator that uses positional tracking to handle duplicate section.id values.
 * @returns {{ getSectionPathId: (indices: number[]) => string }} An object with a getSectionPathId method
 */
export declare const createUniqueSectionId: () => {
    getSectionPathId: (indices: number[]) => string;
};
/**
 * Recursively checks if a section or its nested sections contain any fields with errors
 */
export declare const sectionHasErrors: (section: DataLayoutSection, childrenMap: {
    [index: string]: React.ReactElement<CellProps>;
}) => boolean;
//# sourceMappingURL=layout-utils.d.ts.map