export declare const UMB_CONTEXT_REQUEST_EVENT_TYPE = "umb:context-request"; export declare const UMB_DEBUG_CONTEXT_EVENT_TYPE = "umb:debug-contexts"; export type UmbContextCallback = (instance: T | undefined) => void; /** * @interface UmbContextRequestEvent */ export interface UmbContextRequestEvent extends Event { readonly contextAlias: string; readonly apiAlias: string; readonly callback: (context: ResultType) => boolean; readonly stopAtContextMatch: boolean; clone(): UmbContextRequestEvent; } /** * @class UmbContextRequestEventImplementation * @augments {Event} * @implements {UmbContextRequestEvent} */ export declare class UmbContextRequestEventImplementation extends Event implements UmbContextRequestEvent { readonly contextAlias: string; readonly apiAlias: string; readonly callback: (context: ResultType) => boolean; readonly stopAtContextMatch: boolean; constructor(contextAlias: string, apiAlias: string, callback: (context: ResultType) => boolean, stopAtContextMatch?: boolean); clone(): UmbContextRequestEventImplementation; } export declare class UmbContextDebugRequest extends Event { readonly callback: any; constructor(callback: any); }