/// <reference types="node" />
import { type WarResult, type JsonResult } from '../CommonInterfaces';
import { type Translator } from './Translator';
import { type ObjectModificationTable, ObjectType } from '../data/ObjectModificationTable';
export declare class ObjectsTranslator implements Translator<ObjectModificationTable> {
    private static readonly instances;
    private readonly type;
    private constructor();
    static getInstance(type: ObjectType): ObjectsTranslator;
    static jsonToWar(type: ObjectType, info: ObjectModificationTable): WarResult;
    static warToJson(type: ObjectType, buffer: Buffer): JsonResult<ObjectModificationTable>;
    static readonly ObjectType: typeof ObjectType;
    private static readonly varTypes;
    jsonToWar(json: ObjectModificationTable): WarResult;
    warToJson(buffer: Buffer): JsonResult<ObjectModificationTable>;
}
