import { DsnComponents } from './dsn' ; import { Event , EventHint } from './event' ; import { Integration , IntegrationClass } from './integration' ; import { Options } from './options' ; import { Scope } from './scope' ; import { Session } from './session' ; import { SeverityLevel } from './severity' ; import { Transport } from './transport' ; /**
 * User-Facing Sentry SDK Client.
 *
 * This interface contains all methods to interface with the SDK once it has
 * been installed. It allows to send events to Sentry, record breadcrumbs and
 * set a context included in every event. Since the SDK mutates its environment,
 * there will only be one instance during runtime.
 *
 */ export interface Client < O extends Options = Options > { param exception param hint param scope returns captureException ( exception , hint ? , scope ? ) : string | undefined ; param message param level param hint param scope returns captureMessage ( message , level ? , hint ? , scope ? ) : string | undefined ; param event param hint param scope returns captureEvent ( event , hint ? , scope ? ) : string | undefined ; param session captureSession ? ( session ) : void ; /** Returns the current Dsn. */ getDsn ( ) : DsnComponents | undefined ; /** Returns the current options. */ getOptions ( ) : O ; /** Returns clients transport. */ getTransport ? ( ) : Transport ; /**
     * Flush the event queue and set the client to `enabled = false`. See  Client . flush .
     *
     *  param timeout returns close ( timeout ? ) : PromiseLike < boolean > ; param timeout returns flush ( timeout ? ) : PromiseLike < boolean > ; /** Returns an array of installed integrations on the client. */ getIntegration < T extends Integration > ( integration ) : T | null ; /** This is an internal function to setup all integrations that should run on the client */ setupIntegrations ( ) : void ; }