import { type ObjectManager } from "../ObjectManager"; import { ObjectBase } from "../ObjectBase"; /** * The base abstract class for maps with string keys. **/ export declare abstract class PdfStringMap extends ObjectBase { protected constructor(om: ObjectManager, id: number); /** * Gets the number of items in the map. **/ abstract get count(): number; /** * Gets the item with the specified key. * @param index The key of the item. **/ abstract get(key: string): TItem | undefined; /** * Sets the item with the specified key. * @param key The item key. * @param item The object to set. **/ abstract set(key: string, item: TItem): void; /** * Adds the item with the specified key. * @param key The item key. * @param item The item to add. **/ abstract add(key: string, item: TItem): void; /** * Determines whether the specified key is in the collection. * @returns true if the key is in the collection, false otherwise. **/ abstract contains(key: string): boolean; /** * Removes the item with specified key from the collection. * @param key The key to remove. * @returns true if the item with specified key was actually removed, false otherwise. **/ abstract remove(key: string): boolean; /** * Clears the collection. **/ abstract clear(): void; }