import { BaseTransportOptions, OfflineStore, Transport } from '@sentry/core'; type ConsentStateReader = () => boolean; /** * 在 miniapp 生命周期同步段内执行同意判断,同时复用 core 的离线重试能力。 * * core offline transport 的 `shouldSend` 会被 `await`,即使返回 boolean 也会产生微任务。 * 抖音小游戏在 onHide 返回后可能冻结 JS,因此门禁必须在调用 core transport 前同步完成。 */ export declare function createConsentAwareOfflineTransport(baseTransport: Transport, options: BaseTransportOptions, store: OfflineStore, hasConsent: ConsentStateReader): Transport; export {}; //# sourceMappingURL=consent.d.ts.map