import { RainbowKeyValueType } from './helper/value-type';
import type { ILocalConfig, IRemoteConfig, ISecretInfo } from './types';
export declare function fetchLatestRainbowData({ secretInfo, appName, }: {
    secretInfo: ISecretInfo;
    appName: string;
}): Promise<{
    config: Array<IRemoteConfig>;
    originConfig: ILocalConfig;
    equal: boolean;
}>;
export declare function fetchLatestOneRainbowData({ secretInfo, appName, key, valueType, }: {
    secretInfo: {
        appId: string;
        groupName: string;
        envName: string;
    };
    appName: string;
    key: string;
    valueType?: RainbowKeyValueType;
}): Promise<{
    config: Array<IRemoteConfig>;
    originConfig: ILocalConfig;
    equal: boolean;
}>;
