UNPKG

@twilio/flex-ui

Version:

Twilio Flex UI

27 lines (26 loc) 841 B
import { Spy, SpyCommonConfigurableOptions, SpyConstructorOptions } from "./Spy"; /** * @package * @typedef {object} DOMEventsSpySpecificOptions * @property {Array<string>} [events] events to listen to * @memberof Log */ type DOMEventsSpySpecificOptions = { events: Array<string>; }; /** * @typedef DOMEventsSpyOptions * @mixes Log.SpyCommonConfigurableOptions * @mixes Log.DOMEventsSpySpecificOptions * @memberof Log */ export type DOMEventsSpyOptions = SpyCommonConfigurableOptions & DOMEventsSpySpecificOptions; export type DOMEventsSpyConstructorOptions = SpyConstructorOptions & DOMEventsSpySpecificOptions; export declare class DOMEventsSpy extends Spy { private readonly events; constructor(options: DOMEventsSpyConstructorOptions); start(): void; stop(): void; private applyMiddleware; } export {};