import type * as ProtoBuf from 'protobufjs'; declare const META_NULLS = "__meta_nulls"; declare const META_EMPTY = "__meta_empty"; declare type Data = Record; declare type Message = { [META_NULLS]?: number[]; [META_EMPTY]?: number[]; } & ProtoBuf.Message; /** * Responsible for processing of all custom meta fields of decoded message type. * More info: https://wiki/display/OpenAPI/Delta+compression+implementation+of+ProtoBuffers */ declare class MetaProtobuf { /** * Process data using message metadata. Iterate through each field and process supported metadata keys. * * @param message - Protobuf Message Type object. * @param data - JSON object. Object get's mutated. * @returns The result of meta processing. */ process(message: Message | null, data: Data | null): Data | null; private iterateTree; private processChild; private processData; } export default MetaProtobuf;