import { ServerInfo } from './types';
import { QueryProtocol } from './protocol';
/**
 * These two bytes will cause the server to send a reply.
 */
export declare const queryBytes: Buffer<ArrayBuffer>;
export declare class LegacyQueryProtocol implements QueryProtocol {
    handshakePacket(): Buffer;
    pingPacket(): Buffer;
    parse(response?: Buffer): ServerInfo;
}
