UNPKG

surrogate

Version:

Object method hooks made easy

9 lines (8 loc) 337 B
import type { NextNode, NextOptions } from '../../../next'; import type { NextRule } from './interfaces'; export declare class ProgressRule<T extends object> implements NextRule<T> { protected readonly nextOptions: NextOptions; constructor(nextOptions: NextOptions); shouldRun(): boolean; run(node: NextNode<T>): void; }