export type FadeOptions = { /** How long the animation should take in ms @default 200 */ duration?: number; }; declare const useFade: (node: HTMLElement, { duration }?: FadeOptions) => { fadeIn: () => Promise; fadeOut: () => Promise; setFadeOut: () => void; setFadeIn: () => void; }; export { useFade };