14 lines
469 B
TypeScript
14 lines
469 B
TypeScript
import type { LightPlugin, LightClient, SentryEvent } from '../types';
|
|
export declare class PluginManager {
|
|
private plugins;
|
|
private client;
|
|
constructor(client: LightClient);
|
|
add(plugin: LightPlugin): void;
|
|
remove(name: string): void;
|
|
get(name: string): LightPlugin | undefined;
|
|
has(name: string): boolean;
|
|
applyBeforeReport(event: SentryEvent): SentryEvent | null;
|
|
applyAfterReport(event: SentryEvent): void;
|
|
destroy(): void;
|
|
}
|