export declare function startRedis(config?: RedisConfig): Promise<RedisConnection>;
export declare function stopRedis(): Promise<void>;
export declare function useRedis(config?: RedisConfig): void;
export declare function withRedis<T>(fn: (connection: RedisConnection) => Promise<T> | T, config?: RedisConfig): Promise<T>;
export declare interface RedisConfig {
  port?: number
  host?: string
  stopAfter?: boolean
}
export declare interface RedisConnection {
  port: number
  host: string
  url: string
}
