///
import * as T from './types';
import { ChildProcess } from 'child_process';
declare type PartialConfigSeedArgs = {
adminPort: number;
zomePort: number;
configDir: string;
};
export declare type TrycpClient = {
setup: (id: any) => Promise;
dna: (url: string) => Promise<{
path: string;
}>;
player: (id: any, config: T.RawConductorConfig) => Promise;
spawn: (id: any) => Promise;
kill: (id: any, signal?: any) => Promise;
ping: (id: any) => Promise;
reset: () => Promise;
closeSession: () => Promise;
};
export declare const trycpSession: (url: any) => Promise;
declare type MmmConfigItem = {
service: string;
subnet: string;
region: string;
image: string;
instance_type: string;
};
/** Generates some fake config which resembles data that would be sent to the MMM EC2 node spinner upper */
export declare const fakeMmmConfigs: (num: any, dockerImage: any) => MmmConfigItem[];
/**
* Simulates MMM, taking a config and spawning a local cluster of trycp servers.
* Returns an array of endpoints which can be passed to try-o-rama machinePerPlayer middleware,
* as well as an array of child processes which can be used to kill the processes after testing is complete.
*/
export declare const spinupLocalCluster: (mmmConfig: MmmConfigItem[], docker: boolean) => Promise<[string[], ChildProcess[]]>;
export declare const awsClusterConfig2Endpoints: (config: any) => string[];
export {};