UNPKG

@iabtechlabtcf/core

Version:

Ensures consistent encoding and decoding of TC Signals for the iab. Transparency and Consent Framework (TCF).

9 lines (8 loc) 345 B
import { Segment } from '../model/index.js'; import { TCModel } from '../index.js'; export declare class SegmentEncoder { private static fieldSequence; static encode(tcModel: TCModel, segment: Segment): string; static decode(encodedString: string, tcModel: TCModel, segment: string): TCModel; private static isPublisherCustom; }