import { IVariable } from "../types";
/**
 * 数据源工具类
 */
export declare class DataSourceUtils {
    static executeAllVariable(variableData: IVariable[]): void;
    static replaceObjectVariables(obj: any): any;
    static replaceStringVariables(str: string): string;
    static getObjectVariableNames(obj: any): string[];
    static getStringVariableNames(str: string): string[];
    static parseVariablePath(path: any): {
        varName: any;
        propPath: any;
    };
    static getEnvironments(): {
        envName: string;
        envBaseUrl: string;
    };
    static setEnvironments(environments: any[]): void;
    static getVariables(): any[];
    static setVariables(variable: any[]): void;
    static setVariableById(variable: any, value: any, updateWidget?: boolean): void;
    static getVariableById(id: string): any;
    static getVariableByName(name: string): any;
    static getVariableValueByName(name: string): any;
    static addVariable: (variable: any) => void;
    static updateVariable: (variable: any) => void;
    static deleteVariableById: (id: any) => void;
    static noneData(id: string): {
        id: string;
        finalKeyData: {
            id: string;
            data: any;
        };
        finalUserData: {
            id: string;
            data: any;
        };
        filteredData: any;
        rawData: any;
        noMappingData: any;
    };
}
