export type OnOffParserMode = 'exact' | 'contains' | 'regex'; export interface OnOffParserConfig { readonly onValue: string; readonly mode: OnOffParserMode; } export declare class OnOffParser { private readonly config; private readonly regex; constructor(config: OnOffParserConfig); parse(stdout: string): boolean; }