import { Client, Integration } from '@sentry/types'; import { Hub } from './hub'; import { Scope } from './scope'; /** * A layer in the process stack. * @hidden */ export interface Layer { client?: Client; scope?: Scope; } /** * An object that contains a hub and maintains a scope stack. * @hidden */ export interface Carrier { __SENTRY__?: { hub?: Hub; /** * Extra Hub properties injected by various SDKs */ integrations?: Integration[]; extensions?: { /** Hack to prevent bundlers from breaking our usage of the domain package in the cross-platform Hub package */ domain?: { [key: string]: any; }; } & { /** Extension methods for the hub, which are bound to the current Hub instance */ [key: string]: Function; }; }; } /** * @hidden * @deprecated Can be removed once `Hub.getActiveDomain` is removed. */ export interface DomainAsCarrier extends Carrier { members: { [key: string]: any; }[]; } //# sourceMappingURL=interfaces.d.ts.map