import { RenderType } from '../default/defaultConfig';
import { DocUrl } from '../types/commonData';
import { UpdateData } from '../utils/update/type';
export declare const FeatureGatingKeys: {
    enableGadgetPlugin: string;
    enableBlock: string;
    enableBlockDoc: string;
    enableBlockWorkspace: string;
    enableBlockSearch: string;
    enableWebviewSafeDomain: string;
    enableBlockH5: string;
    enableH5BlockSearch: string;
    enableH5BlockWorkspace: string;
    enableNewOpenPlatform: string;
};
export declare const PKGFileSuffix = ".ttpkg.js";
export declare const PKGFileName: string;
export declare const zipSuffix = ".zip";
export declare const zipFileName = "__dist__.zip";
declare type FeatureGating = {
    [k: string]: boolean;
};
declare type HelpConfigData = {
    docList: {
        [k: string]: DocUrl;
    };
    feedbackUrl?: string;
    feedbackTip?: string;
};
declare type CliConfig = UpdateData['cli'];
export interface IConfig {
    CacheRoot: string;
    storageFile: string;
    updateFile: string;
    fgFile: string;
    buildFile: string;
    gadgetJSSDKFiles: string;
    staticFile: string;
    userData: string;
    downloadTemp: string;
    version: string;
    slardarInitConfig: {
        bid: string;
        isOpen: boolean;
        commonTags: {
            platform: string;
            commitHash: string;
            cliVersion: string;
            ideVersion: string;
            renderType: RenderType;
        };
    };
    feedBackContext: {
        version: string;
        commitHash: string;
    };
    debugPort: number;
    opdevPacPort: number;
}
export declare class ConfigManager {
    config: IConfig;
    constructor();
    protected init(): void;
    refresh(): void;
}
export declare const configManager: ConfigManager;
export declare function featureGating(feature?: string[]): FeatureGating;
export declare function featureGating(feature: string): boolean;
export declare function featureGatingBlock(): boolean;
export declare function featureGatingH5Block(): boolean;
export declare function getHelpConfig(): HelpConfigData;
export declare function getCliConfig(): CliConfig;
export declare function clearFG(): void;
export declare const enableNewOpenPlatform: () => boolean;
export {};
