export interface IChannelPolicy { /** * The rate at which interstitial ads should be shown. * A value of 1 means always bypass interstitials call, while a value of 0 means always forbid calling interstitials. * A value between 0 and 1 means the interstitial call will be bypassed with a probability of `rate`. */ interstitialRate?: number; } interface HttpClient { get(url: string, options?: { query?: Record; }): Promise; } export declare class ChannelPolicy { readonly httpClient: HttpClient; private configs; private firstRun; constructor(httpClient: HttpClient); private init; /** * Should bypass calling interstitial based on the channel policy. * @returns */ shouldBypassCallingInterstitial(): boolean; } export {};