1 | import { Event, EventProcessor, Hub, 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 | ignoreInternal: boolean;
|
8 | }
|
9 |
|
10 | export declare class InboundFilters implements Integration {
|
11 | private readonly _options;
|
12 | |
13 |
|
14 |
|
15 | static id: string;
|
16 | |
17 |
|
18 |
|
19 | name: string;
|
20 | constructor(_options?: Partial<InboundFiltersOptions>);
|
21 | /**
|
22 | * @inheritDoc
|
23 | */
|
24 | setupOnce(addGlobalEventProcessor: (processor: EventProcessor) => void, getCurrentHub: () => Hub): void;
|
25 | }
|
26 | /** JSDoc */
|
27 | export declare function _mergeOptions(internalOptions?: Partial<InboundFiltersOptions>, clientOptions?: Partial<InboundFiltersOptions>): Partial<InboundFiltersOptions>;
|
28 | /** JSDoc */
|
29 | export declare function _shouldDropEvent(event: Event, options: Partial<InboundFiltersOptions>): boolean;
|
30 | //# sourceMappingURL=inboundfilters.d.ts.map |
\ | No newline at end of file |