import type { AutocaptureApi, InteractionNode, InteractionType, Pageview, PageviewProperties, Properties, Source, SourceInfo, SourceManagementApi } from '@heap/heap-javascript-bridge-support'; export type TestHeapCall = ['addSource', Source, boolean | undefined, Date | undefined] | ['removeSource', string] | [ 'trackPageview', PageviewProperties, Date | null | undefined, SourceInfo | null | undefined, any ] | [ 'trackInteraction', InteractionType, Array, string | null | undefined, Date | null | undefined, SourceInfo | null | undefined, Properties | null | undefined, Pageview | 'none' | null | undefined ]; export declare class TestHeap implements SourceManagementApi, AutocaptureApi { source: Source | null; returnsPageviews: boolean; lastPageview: Promise; readonly sessionId = "test session id"; readonly calls: Array; get calledMethods(): ("trackInteraction" | "addSource" | "removeSource" | "trackPageview")[]; addSource(source: Source, isDefault?: boolean | undefined, timestamp?: Date | undefined): void; removeSource(name: string): void; trackPageview(properties: PageviewProperties, timestamp?: Date | null | undefined, sourceInfo?: SourceInfo | null | undefined, userInfo?: T | undefined): Promise | null>; trackInteraction(interaction: InteractionType, nodes: Array, callbackName?: string | null | undefined, timestamp?: Date | null | undefined, sourceInfo?: SourceInfo | null | undefined, sourceProperties?: Properties | null, pageview?: Pageview | 'none' | null | undefined): Promise; clearCalls(): void; reset(): void; }