import type { Pageview } from '@heap/heap-javascript-bridge-support'; import { PageviewSource } from '../core/types'; export type CountingPageviewSourceCalls = ['onSessionStart', string, Date, boolean] | ['onApplicationForegrounded', Date] | ['onApplicationBackgrounded', Date] | ['reissuePageview', Pageview, string | null, Date] | ['activePageview', string | null, Date]; export declare class CountingPageviewSource implements PageviewSource { returnsPageviews: boolean; readonly calls: Array; get calledMethods(): ("onApplicationBackgrounded" | "reissuePageview" | "onSessionStart" | "onApplicationForegrounded" | "activePageview")[]; onSessionStart(sessionId: string, timestamp: Date, foregrounded: boolean): Promise; onApplicationForegrounded(timestamp: Date): Promise; onApplicationBackgrounded(timestamp: Date): Promise; reissuePageview(pageview: Pageview, sessionId: string | null, timestamp: Date): Promise | Promise<{ pageviewKey: string; sessionId: string; properties: {}; }>; activePageview(sessionId: string | null, timestamp: Date): Promise | Promise<{ pageviewKey: string; sessionId: string; properties: {}; }>; clearCalls(): void; reset(): void; }