UNPKG

@types/inquirer

Version:
38 lines (32 loc) 715 B
import { SeparatorOptions } from "../.."; /** * Represents a choice-item separator. */ declare class Separator implements SeparatorOptions { /** * @inheritdoc */ readonly type: "separator"; /** * @inheritdoc */ line: string; /** * Initializes a new instance of the `Separator` class. * * @param line * The text of the separator. */ constructor(line?: string); /** * Checks whether the specified `item` is not a separator. * * @param item * The item to check. * * @returns * A value indicating whether the item is not a separator. */ static exclude(item: any): boolean; } export = Separator;