/** * disappear — removes the host element from the DOM after `ms` milliseconds. * * Useful for self-dismissing messages, temporary overlays, or any element * that should vanish after a delay without any component re-render. * * The countdown is cancelled automatically if the element is removed from * the DOM before the delay elapses (e.g. parent unmounts). * * If `ms` changes on re-render a fresh countdown is started from the new value. * * @param ms Delay in milliseconds before the element is removed. * * @example * // Remove a toast message after 3 seconds * html`
This hint disappears soon.
` */ export declare const disappear: (nextMs: number) => import("lit-html/directive").DirectiveResult; //# sourceMappingURL=disappear.d.ts.map