import { Pipe } from './index'; import Core from '../core'; import { SendType } from '../interface'; /** * 请求采样率配置的逻辑 * 监听 onConfigChange 事件,请求 rateLimitUrl 接口获取采样率配置 * 支持 ttl 定时刷新 */ export declare const initRateLimitConfig: (aegis: Core) => void; /** * 按类型采样 pipe * 在 sendPipeline 中使用,根据 SendType 判断采样率 * @param aegis Core 实例 * @param sendType 当前上报的 SendType */ export declare const createTypeSamplePipe: (aegis: Core, sendType: SendType) => Pipe;