import { fetchRainbowConfig } from '../rainbow/rainbow-user';
export declare function getCIConfig(rainbowConfigKey: string, rainbowSecretInfo: Parameters<typeof fetchRainbowConfig>[1]): Promise<any>;
export declare function getRobot({ config, branch, env, }: {
    config: Record<string, any>;
    branch: string;
    env: string;
}): any;
export declare function writeEnvAndPrivateKey({ branch, env, root, rainbowConfigKey, rainbowAppId, rainbowEnvName, rainbowGroupName, }: Record<'branch' | 'env' | 'rainbowConfigKey' | 'rainbowAppId' | 'rainbowEnvName' | 'rainbowGroupName' | 'root', string>): Promise<void>;
export declare function writeEnvAndPrivateKeyByOptions(options: any): Promise<void>;
