UNPKG

pastoralist

Version:

A tool to watch over node module resolutions and overrides

22 lines (21 loc) 1.6 kB
import type { SpinnerState, Spinner } from "./types"; import type { Output } from "./output"; export declare const hideCursor: (out?: Output) => void; export declare const showCursor: (out?: Output) => void; export declare const clearLine: (out?: Output) => void; export declare const renderFrame: (frames: readonly string[], index: number, text: string, out?: Output) => void; export declare const stopInterval: (state: SpinnerState) => SpinnerState; export declare const updateStateText: (state: SpinnerState, text: string) => SpinnerState; export declare const incrementFrame: (state: SpinnerState) => SpinnerState; export declare const startInterval: (state: SpinnerState, out?: Output) => SpinnerState; export declare const writeSymbol: (symbol: string, text: string, out?: Output) => void; export declare const start: (state: SpinnerState, out?: Output) => Spinner; export declare const stop: (state: SpinnerState, out?: Output) => Spinner; export declare const succeed: (state: SpinnerState, text?: string, out?: Output) => Spinner; export declare const fail: (state: SpinnerState, text?: string, out?: Output) => Spinner; export declare const info: (state: SpinnerState, text?: string, out?: Output) => Spinner; export declare const warn: (state: SpinnerState, text?: string, out?: Output) => Spinner; export declare const update: (state: SpinnerState, text: string, out?: Output) => Spinner; export declare const createSpinnerMethods: (state: SpinnerState, out?: Output) => Spinner; export declare const createSpinner: (text: string, out?: Output) => Spinner; export default createSpinner;