export type SvelteActionReturnType

= { update?: (newParams?: P) => void; destroy?: () => void; } | void; export interface SvelteAction { (node: N, params?: P): void | SvelteActionReturnType

; } export type ActionEntry = SvelteAction | [SvelteAction, P]; export type ActionArray = ActionEntry[]; export declare function useActions(node: HTMLElement | SVGElement, actions: ActionArray): { update(actions: ActionArray): void; destroy(): void; };