baggage-impl.d.ts 510 B

123456789101112
  1. import type { Baggage, BaggageEntry } from '../types';
  2. export declare class BaggageImpl implements Baggage {
  3. private _entries;
  4. constructor(entries?: Map<string, BaggageEntry>);
  5. getEntry(key: string): BaggageEntry | undefined;
  6. getAllEntries(): [string, BaggageEntry][];
  7. setEntry(key: string, entry: BaggageEntry): BaggageImpl;
  8. removeEntry(key: string): BaggageImpl;
  9. removeEntries(...keys: string[]): BaggageImpl;
  10. clear(): BaggageImpl;
  11. }
  12. //# sourceMappingURL=baggage-impl.d.ts.map