export declare enum PopCommandType { User = "USER", Pass = "PASS", Quit = "QUIT", Stat = "STAT", List = "LIST", Retr = "RETR", Dele = "DELE", Noop = "NOOP", Rset = "RSET", Top = "TOP", Uidl = "UIDL", Capa = "CAPA", Lang = "LANG", Apop = "APOP" } export declare class PopCommand { readonly type: PopCommandType; readonly args: string | null; /** * Constructs a new PopCommand. * @param type the type of command. * @param args the arguments. */ constructor(type: PopCommandType, args: string | null); /** * Gets the args as a single string. */ get argument(): string | null; /** * Gets the args as multiple arguments. */ get arguments(): string[] | null; /** * Decodes the given command string. * @param raw the raw command. * @returns the parsed command. */ static decode(raw: string): PopCommand; /** * Encodes the current command. * @param add_newline if the encoded version should include a newline. */ encode(add_newline?: boolean): string; }