import { DotAccessor } from '@iotize/common/data-accessor';
import { IotizeConfigModel, IotizeVariableModel } from '@iotize/device-client.js/config/iotize-studio';
import { Actions as ButtonActions, Layout, Page } from '../../schema/appconfig';
import { AppThemeGenerator, ConfigGenerator } from '../config-generator';
import { AdapterInput } from './definitions';
export declare function convertToArrayIfNot<T>(d: T): T[] | (T & any[]);
export declare function convertIoTizeStudioPageConfig<T extends Page>(configGenerator: ConfigGenerator, iotizeStudioConfigModel: IotizeConfigModel, pages: DotAccessor, key: string): T;
export declare function parseButtonActions(buttonChoicesString: string): ButtonActions;
export declare function parseSelectOptions(choices: string): ButtonActions;
export declare class IoTizeStudioConfigAdapter {
    static createAppConfigFromIotizeStudioConfig(xmlConfigContent: string): ConfigGenerator | undefined;
    static createAppTheme(xAppConfig: DotAccessor, appThemeBuilder: AppThemeGenerator): void;
    static renderOptionsToComponent(input: AdapterInput): undefined | Layout;
}
export declare function extractDigitsInfo(variableConfig: IotizeVariableModel): string | undefined;
