import type { LightConfig, LightClient, LightPlugin, DSNInfo, SentryEvent, EventLevel, UserInfo, Breadcrumb } from '../types'; declare class Client implements LightClient { dsn: DSNInfo; private configManager; private eventBus; private queue; private reporter; private pluginManager; private breadcrumbs; private enabled; private get maxBreadcrumbs(); get config(): LightConfig; constructor(config: LightConfig); init(): void; private flushEvents; private syncFlushEvents; on(event: string, handler: (...args: unknown[]) => void): void; off(event: string, handler: (...args: unknown[]) => void): void; emit(event: string, ...args: unknown[]): void; captureException(error: Error | unknown): void; captureMessage(message: string, level?: EventLevel): void; captureEvent(event: Partial & { type: string; }): void; private buildErrorEvent; setUser(user: UserInfo | null): void; setTag(key: string, value: string): void; setTags(tags: Record): void; setExtra(key: string, value: unknown): void; addBreadcrumb(breadcrumb: Omit): void; flush(): Promise; disable(): void; enable(): void; use(plugin: LightPlugin): void; destroy(): void; } export default Client;