import type { ErrlyOptions, ErrlyUser, Breadcrumb, CaptureContext } from './types'; export declare class ErrlyClient { private options; private user; private breadcrumbs; private transport; private integrations; constructor(options: ErrlyOptions); install(): void; capture(error: Error | unknown, context?: CaptureContext): void; captureMessage(message: string, level?: 'info' | 'warning' | 'error'): void; setUser(user: ErrlyUser): void; clearUser(): void; addBreadcrumb(crumb: Breadcrumb): void; flush(): Promise; private buildPayload; private send; private shouldIgnore; private extractFilename; private extractLine; private extractCol; }