/**
 * Default TryCP server host address.
 *
 * @public
 */
export declare const TRYCP_SERVER_HOST = "0.0.0.0";
/**
 * Default TryCP server port.
 *
 * @public
 */
export declare const TRYCP_SERVER_PORT = 9000;
/**
 * A factory class to start and stop local instances of the TryCP server.
 *
 * @public
 */
export declare class TryCpServer {
    private serverProcess;
    private constructor();
    /**
     * Builds and starts a local TryCP server on the specified port.
     *
     * @param port - The network port the server should listen on.
     * @returns A promise that resolves to the newly created server instance.
     */
    static start(port?: number): Promise<TryCpServer>;
    /**
     * Stops the server instance by killing the server process.
     *
     * @returns A promise that resolves when the process has exited.
     */
    stop(): Promise<void>;
}
/**
 * Shortcut function to stop all TryCP servers.
 *
 * @public
 */
export declare const stopAllTryCpServers: (tryCpServers: TryCpServer[]) => Promise<void[]>;
