import { Serializable } from './serializable'; import { TypedBinaryParser } from './typed-binary-parser'; export declare namespace Label { class Standard implements Serializable { private readonly label; constructor(label: string); serialize(): Buffer; valueOf(): string; private getLengthOctet; } } type ParsedLabel = ParsedStandardLabel | ParsedPointerLabel; type ParsedStandardLabel = { type: 0b00; length: number; value: string; }; type ParsedPointerLabel = { type: 0b11; length: number; offset: number; value: string[]; }; export declare namespace labelsParser { type Parsed = { labels: ParsedLabel[]; }; } export declare const labelsParser: TypedBinaryParser; export {}; //# sourceMappingURL=label.d.ts.map