import Client from './core/Client'; import ErrorPlugin from './plugins/ErrorPlugin'; import PerformancePlugin from './plugins/PerformancePlugin'; import NetworkPlugin from './plugins/NetworkPlugin'; import BehaviorPlugin from './plugins/BehaviorPlugin'; import OfflinePlugin from './plugins/OfflinePlugin'; import type { LightConfig, LightClient, SentryEvent, EventLevel, UserInfo, Breadcrumb, LightPlugin, ErrorEvent, PerformanceEvent, NetworkEvent, BehaviorEvent, DSNInfo } from './types'; declare function init(config: LightConfig): LightClient; declare function getClient(): LightClient | null; declare function captureException(error: Error | unknown): void; declare function captureMessage(message: string, level?: EventLevel): void; declare function captureEvent(event: Partial & { type: string; }): void; declare function setUser(user: UserInfo | null): void; declare function setTag(key: string, value: string): void; declare function setTags(tags: Record): void; declare function setExtra(key: string, value: unknown): void; declare function addBreadcrumb(breadcrumb: Omit): void; declare function flush(): Promise; declare function disable(): void; declare function enable(): void; export { init, getClient, captureException, captureMessage, captureEvent, setUser, setTag, setTags, setExtra, addBreadcrumb, flush, disable, enable, Client, ErrorPlugin, PerformancePlugin, NetworkPlugin, BehaviorPlugin, OfflinePlugin, }; export type { LightConfig, LightClient, LightPlugin, SentryEvent, ErrorEvent, PerformanceEvent, NetworkEvent, BehaviorEvent, EventLevel, UserInfo, Breadcrumb, DSNInfo, }; declare const _default: { init: typeof init; getClient: typeof getClient; captureException: typeof captureException; captureMessage: typeof captureMessage; captureEvent: typeof captureEvent; setUser: typeof setUser; setTag: typeof setTag; setTags: typeof setTags; setExtra: typeof setExtra; addBreadcrumb: typeof addBreadcrumb; flush: typeof flush; disable: typeof disable; enable: typeof enable; }; export default _default;