/** * Object that stores data key/item pairs. * * @see https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/dictionary-object */ export declare class Dictionary { private readonly d; /** * Returns the number of key/item pairs in a Dictionary object. * @see https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/count-property-dictionary-object */ get Count(): number; /** * Sets or returns an item for a specified key in a Dictionary object. * For collections, returns an item based on the specified key. Read/write. * * @see https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/item-property-dictionary-object */ Item: { [key: string]: V | null; }; /** * Sets a key in a Dictionary object. * @see https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/key-property */ Key: { [key: string]: V | null; }; /** * Adds a key and item pair to a Dictionary object. * * @param key The key associated with the item being added. * @param item The item associated with the key being added. * @see https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/add-method-dictionary */ Add(key: string | number | symbol, item: V): void; /** * Returns True if a specified key exists in the Dictionary object; False if it does not. * * @param key Key value being searched for in the Dictionary object. * @see https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/exists-method */ Exists(key: string | number | symbol): boolean; /** * Returns an array containing all the items in a Dictionary object. * @see https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/items-method */ Items(): Array; /** * Returns an array containing all existing keys in a Dictionary object. * @see https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/keys-method */ Keys(): Array; /** * Removes a key/item pair from a Dictionary object. * @param key Key associated with the key/item pair that you want to remove from the Dictionary object. * @see https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/remove-method-dictionary-object */ Remove(key: string | number | symbol): void; /** * The RemoveAll method removes all key, item pairs from a Dictionary object * @see https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/removeall-method */ RemoveAll(): void; }