UNPKG

@adguard/agtree

Version:
16 lines (15 loc) 578 B
/** * Property map for binary serialization. This helps to reduce the size of the serialized data, * as it allows us to use a single byte to represent a property. * * ! IMPORTANT: If you change values here, please update the {@link BINARY_SCHEMA_VERSION}! * * @note Only 256 values can be represented this way. */ export declare const ValueNodeMarshallingMap: { readonly Value: 1; readonly FrequentValue: 2; readonly Start: 3; readonly End: 4; }; export type ValueNodeMarshallingMap = typeof ValueNodeMarshallingMap[keyof typeof ValueNodeMarshallingMap];