import { Context } from '@keitoaino/datadog-browser-core'; import { LifeCycle } from './lifeCycle'; import { RumSession } from './rumSession'; export declare const VIEW_CONTEXT_TIME_OUT_DELAY: number; export declare const ACTION_CONTEXT_TIME_OUT_DELAY: number; export declare const CLEAR_OLD_CONTEXTS_INTERVAL: number; export interface ViewContext extends Context { sessionId: string | undefined; view: { id: string; url: string; }; } export interface ActionContext extends Context { userAction: { id: string; }; } export interface ParentContexts { findAction: (startTime?: number) => ActionContext | undefined; findView: (startTime?: number) => ViewContext | undefined; stop: () => void; } export declare function startParentContexts(lifeCycle: LifeCycle, session: RumSession): ParentContexts;