9 lines
472 B
TypeScript
9 lines
472 B
TypeScript
|
import type { MotionStatus, StepStatus } from '../interface';
|
||
|
/** Skip current step */
|
||
|
export declare const SkipStep: false;
|
||
|
/** Current step should be update in */
|
||
|
export declare const DoStep: true;
|
||
|
export declare function isActive(step: StepStatus): boolean;
|
||
|
declare const _default: (status: MotionStatus, prepareOnly: boolean, callback: (step: StepStatus) => Promise<void> | void | typeof SkipStep | typeof DoStep) => [() => void, StepStatus];
|
||
|
export default _default;
|