/** * @module MockRuleData */ import { RuleCompletionChecker } from './mock-rule-types'; export declare type CompletionCheckerData = (AlwaysData | OnceData | TwiceData | ThriceData | TimesData); export declare type CompletionCheckerType = CompletionCheckerData['type']; export declare type CompletionCheckerDataLookup = { 'always': AlwaysData; 'once': OnceData; 'twice': TwiceData; 'thrice': ThriceData; 'times': TimesData; }; export declare class AlwaysData { readonly type: 'always'; constructor(); } export declare class OnceData { readonly type: 'once'; constructor(); } export declare class TwiceData { readonly type: 'twice'; constructor(); } export declare class ThriceData { readonly type: 'thrice'; constructor(); } export declare class TimesData { count: number; readonly type: 'times'; constructor(count: number); } export declare function buildCompletionChecker(completionCheckerData?: D): RuleCompletionChecker | undefined;