type GlobalStateType = Record; declare class GlobalState { RAW: GlobalStateType; private STATE; constructor(); /** * Updates the global state with the provided key-value pairs. * @param keyValue - An object containing the key-value pairs to update the state with. * @returns A function that updates the state when called. */ updateState: () => ((keyValue: GlobalStateType) => Promise); /** * Retrieves the global state. * @returns A function that returns the global state when called. */ getMyState: () => (() => GlobalStateType); /** * Retrieves a specific property from the global state. * @returns A function that returns the value of the specified property when called. */ get: () => ((prop: string) => any); /** * Retrieves all state values. * @returns An iterator for the values of the state. */ getAllState: () => IterableIterator; /** * Clears the global state. * @returns A function that clears the global state when called. */ clear: () => (() => void); } export { GlobalState }; //# sourceMappingURL=globalstateClass.d.ts.map