import { HttpRequestEndMessage, HttpRequestStartMessage } from "../_internal/monitors/types.js"; //#region src/instrumentations/userActions/util.d.ts export type TimeoutWarning = (message: string) => void; export declare function normalizeDataAttributeName(dataAttributeName: string): string; export declare function deriveUserActionTimeoutDataAttribute(dataAttributeName: string): string; export declare function normalizeInitialActivityTimeout(value: unknown, fallback?: number, warn?: TimeoutWarning): number; /** * Parses the action attribute name by removing the 'data-' prefix and converting * the remaining string to camelCase. * * This is needed because the browser will remove the 'data-' prefix and the dashes from * data attributes and make them camelCase. */ export declare function convertDataAttributeName(userActionDataAttribute: string): string; export declare function startTimeout(timeoutId: number | undefined, cb: () => void, delay: number): number; export declare function isRequestStartMessage(msg: any): msg is HttpRequestStartMessage; export declare function isRequestEndMessage(msg: any): msg is HttpRequestEndMessage; //#endregion