1 | import type { Client, Event, EventHint, Integration } from '@sentry/types';
|
2 |
|
3 | export interface InboundFiltersOptions {
|
4 | allowUrls: Array<string | RegExp>;
|
5 | denyUrls: Array<string | RegExp>;
|
6 | ignoreErrors: Array<string | RegExp>;
|
7 | ignoreTransactions: Array<string | RegExp>;
|
8 | ignoreInternal: boolean;
|
9 | disableErrorDefaults: boolean;
|
10 | disableTransactionDefaults: boolean;
|
11 | }
|
12 |
|
13 | export declare class InboundFilters implements Integration {
|
14 | |
15 |
|
16 |
|
17 | static id: string;
|
18 | |
19 |
|
20 |
|
21 | name: string;
|
22 | private readonly _options;
|
23 | constructor(options?: Partial<InboundFiltersOptions>);
|
24 | /**
|
25 | * @inheritDoc
|
26 | */
|
27 | setupOnce(_addGlobaleventProcessor: unknown, _getCurrentHub: unknown): void;
|
28 | /** @inheritDoc */
|
29 | processEvent(event: Event, _eventHint: EventHint, client: Client): Event | null;
|
30 | }
|
31 | /** JSDoc */
|
32 | export declare function _mergeOptions(internalOptions?: Partial<InboundFiltersOptions>, clientOptions?: Partial<InboundFiltersOptions>): Partial<InboundFiltersOptions>;
|
33 | /** JSDoc */
|
34 | export declare function _shouldDropEvent(event: Event, options: Partial<InboundFiltersOptions>): boolean;
|
35 | //# sourceMappingURL=inboundfilters.d.ts.map |
\ | No newline at end of file |