import type { Breadcrumb, Package } from '@sentry/core'; import type { CapacitorOptions } from './options'; interface serializedObject { [key: string]: string; } export type NativeDeviceContextsResponse = { [key: string]: Record; }; export type NativeLogAttributesResponse = { contexts?: { device?: { brand?: string; model?: string; family?: string; }; os?: { name?: string; version?: string; }; }; release?: string; }; export interface ISentryCapacitorPlugin { addBreadcrumb(breadcrumb: Breadcrumb): void; captureEnvelope(payload: { envelope: string; }): PromiseLike; clearBreadcrumbs(): void; closeNativeSdk(): Promise; crash(): void; fetchNativeRelease(): Promise<{ build: string; id: string; version: string; }>; fetchNativeSdkInfo(): Promise; fetchNativeDeviceContexts(): PromiseLike; fetchNativeLogAttributes(): PromiseLike; getStringBytesLength(payload: { string: string; }): Promise<{ value: number; }>; initNativeSdk(payload: { options: CapacitorOptions; }): Promise; setUser(payload: { defaultUserKeys: serializedObject | null; otherUserKeys: serializedObject | null; }): void; setTag(payload: { key: string; value: string; }): void; setExtra(payload: { key: string; value: string; }): void; setContext(payload: { key: string; value: serializedObject | null; }): void; pauseAppHangTracking(): void; resumeAppHangTracking(): void; } export {}; //# sourceMappingURL=definitions.d.ts.map