export declare function useAnimations(): {
    animations: () => MapIterator<[string, {
        animations: import('framer-motion').AnimationPlaybackControls[];
        id: string;
        state: import('../state').MotionState;
    }]>;
    stop: (key?: string) => void;
    play: (key?: string) => void;
    getByID: (id?: string) => import('framer-motion').AnimationPlaybackControls[] | undefined;
};
