export type ElementOrSelector = Element | Element[] | NodeListOf | string; export interface WithQuerySelectorAll { querySelectorAll: Element["querySelectorAll"]; } export interface AnimationScope { readonly current: T; animations: any[]; } export interface SelectorCache { [key: string]: NodeListOf; } export declare function resolveElements(elementOrSelector: ElementOrSelector, scope?: AnimationScope, selectorCache?: SelectorCache): Element[];