declare class OrderedMap { private constructor(content: Array) get(key: string): T | undefined update(key: string, value: T, newKey?: string): OrderedMap remove(key: string): OrderedMap addToStart(key: string, value: T): OrderedMap addToEnd(key: string, value: T): OrderedMap addBefore(place: string, key: string, value: T): OrderedMap forEach(fn: (key: string, value: T) => any): void prepend(map: MapLike): OrderedMap append(map: MapLike): OrderedMap subtract(map: MapLike): OrderedMap toObject(): Record; readonly size: number static from(map: MapLike): OrderedMap } export type MapLike = Record | OrderedMap export default OrderedMap