UNPKG

517 BTypeScriptView Raw
1import { Node } from './node';
2export declare function and(...criteria: ((node: Node) => boolean)[]): (node: Node) => boolean;
3export declare function by(criteria: (node: Node) => boolean): {
4 (node: Node): boolean;
5 and: (criteria: (node: Node) => boolean) => (node: Node) => boolean;
6};
7export declare function isInProgress(node: Node): boolean;
8export declare function isPending(node: Node): boolean;
9export declare function isDirty(node: Node): boolean;
10export declare function isDone(node: Node): boolean;