import { AnimationPlaybackControls } from 'motion/react';
import { MotionProps } from '../state/types';
export declare function useAnimate(): {
    animate: (el: any, props: Omit<MotionProps, "as" | "transition"> & {
        transition?: ((index: number) => MotionProps["transition"]) | MotionProps["transition"];
    }) => void;
    scope: {
        el?: any;
        animations: {
            [key: string]: AnimationPlaybackControls[];
        };
        registerElement: (el?: any) => void;
    };
};
export type ElementOrSelector = Element | Element[] | NodeListOf<Element> | string;
export interface WithQuerySelectorAll {
    querySelectorAll: Element['querySelectorAll'];
}
