UNPKG

@jondotsoy/flags

Version:

A Javascript arguments processor

13 lines (12 loc) 723 B
import { Builder } from "./Builder.js"; import { Spec, type RedefineInitialValue, type RedefineParseResult } from "./Spec.js"; import type { Accumulate } from "../dtos/Accumulate.js"; import type { Refine } from "../dtos/Refine.js"; export declare class BooleanCommandBuilder<T extends Spec<any, any>> extends Builder<T> { initial<U>(initial: U): BooleanCommandBuilder<RedefineInitialValue<T, U>>; accumulate(accumulate: Accumulate): BooleanCommandBuilder<T>; refine<U>(refine: Refine): BooleanCommandBuilder<RedefineParseResult<T, U>>; metadata(values: Record<string, any>): BooleanCommandBuilder<T>; describe(description: string): BooleanCommandBuilder<T>; required(): BooleanCommandBuilder<T>; }