/**
 * Get available free port.
 * @param port - Current port want to use.
 * @param tryLimits - Maximum number of retries.
 * @param strictPort - Whether to throw an error when the port is occupied.
 * @returns Available port number.
 */
export declare const getPort: (port: string | number, {
  tryLimits,
  strictPort,
  silent
}?: {
  tryLimits?: number | undefined;
  strictPort?: boolean | undefined;
  silent?: boolean | undefined;
}) => Promise<number>;