useStepQueue.d.ts 472 B

12345678
  1. import type { MotionStatus, StepStatus } from '../interface';
  2. /** Skip current step */
  3. export declare const SkipStep: false;
  4. /** Current step should be update in */
  5. export declare const DoStep: true;
  6. export declare function isActive(step: StepStatus): boolean;
  7. declare const _default: (status: MotionStatus, prepareOnly: boolean, callback: (step: StepStatus) => Promise<void> | void | typeof SkipStep | typeof DoStep) => [() => void, StepStatus];
  8. export default _default;