///
import { APIRunningState, IApi } from "../index";
import { IncomingMessage, ServerResponse } from "http";
export declare class EasyHealth implements IApi {
readonly fnGetHealthState?: () => Promise;
readonly api: string;
enabled: boolean;
runningRequest: number;
runningState: APIRunningState;
constructor(fnGetHealthState?: () => Promise, api?: string);
close(): Promise;
listen(port?: number): any;
callback(): (request: IncomingMessage, response: ServerResponse) => void;
start(port: number): Promise;
static TurtleFastRun(name: string, port: number | number[], fnGetHealthState?: () => Promise, id?: number | string | Buffer, healthApi?: string): Promise;
}