import { ElementPart, nothing } from 'lit'; import { AsyncDirective } from 'lit/async-directive.js'; import { PartInfo } from 'lit/directive.js'; export declare class ForwardEventDirective extends AsyncDirective { protected _element?: Element; protected _host?: EventTarget; protected _type?: keyof GlobalEventHandlersEventMap; protected _dispose?: () => void; constructor(partInfo: PartInfo); render(type: keyof GlobalEventHandlersEventMap): typeof nothing; update(part: ElementPart, [type]: Parameters): typeof nothing; protected _addEventListener(): void; protected _removeEventListener(): void; protected reconnected(): void; protected disconnected(): void; } /** * @param type - The name of the event to listen to and forward. */ export declare const forwardEvent: (type: keyof GlobalEventHandlersEventMap) => import("lit-html/directive").DirectiveResult;