UNPKG

@adguard/agtree

Version:
15 lines (14 loc) 556 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 InvalidRuleMarshallingMap: { readonly Error: 1; readonly Start: 2; readonly End: 3; }; export type InvalidRuleMarshallingMap = typeof InvalidRuleMarshallingMap[keyof typeof InvalidRuleMarshallingMap];