Sha256: bd8f15b4d8da15df2cdad0b26fd138ccb5dc870d1a41a39cf3bfe972d2a07332
Contents?: true
Size: 911 Bytes
Versions: 52
Compression:
Stored size: 911 Bytes
Contents
import type { InquirerReadline } from '@inquirer/type'; export declare function withHooks<T>(rl: InquirerReadline, cb: (cycle: (render: () => void) => void) => T): T; export declare function readline(): InquirerReadline; export declare function withUpdates<R, T extends (...args: any[]) => R>(fn: T): (...args: Parameters<T>) => R; type SetPointer<Value> = { get(): Value; set(value: Value): void; initialized: true; }; type UnsetPointer<Value> = { get(): void; set(value: Value): void; initialized: false; }; type Pointer<Value> = SetPointer<Value> | UnsetPointer<Value>; export declare function withPointer<Value, ReturnValue>(cb: (pointer: Pointer<Value>) => ReturnValue): ReturnValue; export declare function handleChange(): void; export declare const effectScheduler: { queue(cb: (readline: InquirerReadline) => void): void; run(): void; clearAll(): void; }; export {};
Version data entries
52 entries across 26 versions & 1 rubygems