type AnimatryContextType = { animations: Set; scope: HTMLElement | null; add: (animation: any) => void; revert: () => void; }; declare const context: { contexts: Set; current: AnimatryContextType | null; create(scope?: HTMLElement | null): AnimatryContextType; setCurrent(context: AnimatryContextType | null): void; clear(context: AnimatryContextType): void; }; type AnimatryCallback = (ctx: typeof context.current) => void | (() => void); declare function matchMedia(query: string, callback: AnimatryCallback): () => void; export { matchMedia };