/** * Change the collection of Contexts into a simplified array of data * @param contexts This is a map of the collected contexts from umb-debug * @returns An array of simplified context data */ export declare function contextData(contexts: Map): Array; export interface UmbDebugContextData { /** * The alias of the context * @type {string} * @memberof UmbDebugContextData */ alias: string; /** * The type of the context such as object or string * @type {("string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function")} * @memberof UmbDebugContextData */ type: 'string' | 'number' | 'bigint' | 'boolean' | 'symbol' | 'undefined' | 'object' | 'function'; /** * Data about the context that includes method and property names * @type {UmbDebugContextItemData} * @memberof UmbDebugContextData */ data: UmbDebugContextItemData; } export interface UmbDebugContextItemData { type: string; methods?: Array; properties?: Array; value?: unknown; } export interface UmbDebugContextItemPropertyData { /** * The name of the property * @type {string} * @memberof UmbDebugContextItemPropertyData */ key: string; /** * The type of the property's value such as string or number * @type {("string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function")} * @memberof UmbDebugContextItemPropertyData */ type: 'string' | 'number' | 'bigint' | 'boolean' | 'symbol' | 'undefined' | 'object' | 'function'; /** * Simple types such as string or number can have their value displayed stored inside the property * @type {("string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function")} * @memberof UmbDebugContextItemPropertyData */ value?: unknown; }