import type { Base, BaseConstructor } from '../Base/index.js'; /** * Import a component on an interaction. * * @template {BaseConstructor} [T=BaseConstructor] * @param {() => Promise} fn * The import function. * @param {string|HTMLElement|HTMLElement[]} nameOrSelectorOrElement * The name or selector for the component. * @param {string|string[]} events * The events to listen to to trigger the import. * @param {Base} [parent] * The parent component. * @return {Promise>} * @link https://js-toolkit.studiometa.dev/api/helpers/importOnInteraction.html */ export declare function importOnInteraction(fn: () => Promise, nameOrSelectorOrElement: string | HTMLElement | HTMLElement[], events: string | string[], parent?: Base): Promise;