25 lines
720 B
TypeScript
25 lines
720 B
TypeScript
import type { LightPlugin, LightClient } from '../types';
|
|
declare class InteractionPlugin implements LightPlugin {
|
|
name: string;
|
|
version: string;
|
|
private client;
|
|
private config;
|
|
private currentTransaction;
|
|
private idleTimer;
|
|
private maxDurationTimer;
|
|
private debounceTimer;
|
|
setup(client: LightClient): void;
|
|
private loadConfig;
|
|
private handleClick;
|
|
private handleSubmit;
|
|
private isEventIgnored;
|
|
private scheduleInteractionTransaction;
|
|
private getElementName;
|
|
private startInteractionTransaction;
|
|
private scheduleIdleFinish;
|
|
private scheduleMaxDuration;
|
|
private finishCurrentTransaction;
|
|
destroy(): void;
|
|
}
|
|
export default InteractionPlugin;
|