import { Observable } from 'rxjs'; import { LiteralUnion, OverrideProperties } from 'value-guards'; export type ReportType = LiteralUnion<'coep' | 'coop' | 'csp-violation' | 'deprecation' | 'integrity-violation' | 'intervention' | 'permissions-policy-violation', string>; export type TypedReport = OverrideProperties; export type COEPViolationReport = OverrideProperties; disposition: LiteralUnion<'enforce' | 'reporting', string>; destination: LiteralUnion; blockedURL: string; }; }>; export type COOPViolationReport = OverrideProperties; export type CSPViolationReport = OverrideProperties; export type DeprecationReport = OverrideProperties; export type IntegrityViolationReport = OverrideProperties; reportOnly: boolean; }; }>; export type InterventionReport = OverrideProperties; export type PermissionPolicyViolationReport = OverrideProperties; featureId: string; message: string; sourceFile: string | null; lineNumber: number | null; columnNumber: number | null; }; }>; export declare function fromReportingObserver(reportTypes: ['coep']): Observable; export declare function fromReportingObserver(reportTypes: ['coop']): Observable; export declare function fromReportingObserver(reportTypes: ['csp-violation']): Observable; export declare function fromReportingObserver(reportTypes: ['deprecation']): Observable; export declare function fromReportingObserver(reportTypes: ['integrity-violation']): Observable; export declare function fromReportingObserver(reportTypes: ['intervention']): Observable; export declare function fromReportingObserver(reportTypes: ['permissions-policy-violation']): Observable; export declare function fromReportingObserver(reportTypes: ReportType[]): Observable;