/*!
Copyright © 2024 Open Text Corporation, All Rights Reserved.

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
import { Model, OcpdItemManagerHelper } from './ocpd-item-manager-helper';
import { Config, LabelConfig } from '../models/control-config';
export declare class OcpdExportJsonToRuntime {
    private static _instance;
    designerJson: any[];
    _ocpdItemManagerHelper: OcpdItemManagerHelper;
    constructor();
    convertDesignerJSONToRuntimeJSON(models: Model[]): {
        runtimeJSON: any;
        designerJSON: Model[];
    };
    buildJsonTree(parentModel: Model, models: Model[], parentRuntimeJSON: any): void;
    addControlToParent(parentModel: any, parentRuntimeJSON: any, childRuntimeJSON: any, model: any): void;
    getNoMargin(containerConfig: Config): true;
    getContainer(config: Config, models: Model[]): Config;
    getJsonForContainer(config: Config, models: Model[]): any;
    getTitleConfig(config: Config): {
        show: boolean;
        text: string;
    };
    getNumberOfColumns(config: Config): number;
    getVariableHeightTable(config: Config): true;
    getResponsiveGridConfig(config: Config, models: any): {
        gridTemplateRows: string;
        gap: number;
        noMargin: true;
    };
    getInheritParentColumnCount(config: Config): false;
    getRearrangeColumnsForSmallScreens(config: Config): false;
    getShowPagination(config: Config): true;
    getAllowFacetedFiltering(config: Config): true;
    getSingleSelection(config: Config): boolean;
    getAllowSearchButton(config: Config): boolean;
    getAllowAddButton(config: Config): boolean;
    getShowCheckColumn(config: Config): boolean;
    getMaxRows(childModels: Model[]): number;
    buildGridTemplateRows(config: Config, models: Model[]): string;
    getRuntimeBorderStyles(config: Config): string | null;
    getRuntimeBackgroundColor(config: Config): string | null;
    processTextStyle(config: Config): string;
    processLabelStyle(config: Config, fontSize: any): string;
    getLabelFontSize(config: Config, label: LabelConfig, fontSize: any): string;
    getLabelFontFamily(config: Config, label: LabelConfig): string;
    getLabelFontWeight(config: Config, label: LabelConfig, fontWeight: any): string;
    getLabelDecoration(config: Config, label: LabelConfig): string;
    getLabelStyle(config: Config, label: LabelConfig): string;
    getLabelColor(config: Config, label: LabelConfig): string;
    getLabelJustify(config: Config, label: LabelConfig): string;
    getTextFontSize(config: Config, inputFont: any): string;
    getTextColor(config: Config, inputFont: any): string;
    getTextFontWeight(config: Config, inputFont: any): string;
    getTextDecoration(config: Config, inputFont: any): string;
    getTextFamily(config: Config, inputFont: any): string;
    getTextStyle(config: Config, inputFont: any): string;
    getTextAlign(config: Config, inputFont: any): string;
    getLabelWidth(config: Config): string;
    getRowOrientation(config: Config): string;
    getJsonForControl(config: Config, parentModel: Model): any;
    getPropertyPath(config: Config, parentModel: Model): string;
    getPlaceholder(config: Config): string;
    getAutoComplete(config: Config): string;
    getTooltip(config: Config): string;
    getSort(config: Config): string;
    getShowUsers(config: Config): boolean;
    getShowGroups(config: Config): boolean;
    getRequired(config: Config): boolean;
    getRepeating(config: Config): boolean;
    getReadonly(config: Config): boolean;
    getAutoHeight(config: Config): boolean;
    getLinkConfig(config: Config): {
        visited: string;
        unvisited: string;
        hover: string;
        active: string;
    };
    getUrlData(config: Config): {
        url: string;
        referrerPolicy: string;
        sandbox: string;
        link: {
            visited: string;
            unvisited: string;
            hover: string;
            active: string;
        };
    };
    getURLFromConfig(config: Config): string;
    getType(config: Config, parentModel: Model): string;
    removeNullsFromJSON(jsonData: any): any;
    findRootModel(models: Model[], rootModelId: any): Model;
}
