import { Proxy } from "../types"; import Peer from "../stream/peer"; export declare function check(proxy: Proxy, url?: string): Promise; export declare function checkSocks5(proxy: Proxy, url?: string, peer?: Peer): Promise; export declare function checkImage(url: string | undefined, image: { host: string; port: number; }): Promise; export declare function checkHttp(proxy: Proxy, url?: string, peer?: Peer): Promise; export declare function checkForwardHttp(proxy: Proxy, url?: string): Promise; export declare function checkLight(proxy: Proxy, url?: string, peer?: Peer): Promise; export declare function checkWS(proxy: Proxy, url?: string): Promise; export declare function checkAigo(proxy: Proxy, url?: string, peer?: Peer): Promise; export declare function checks52Aigo(proxy: Proxy & { middle: { host: string; port: number; username?: string; password?: string; }; }, url?: string, peer?: Peer): Promise; export declare function buildHttpRequest(url: string): string;