/** * Expected error that shouldn't print a stack trace */ export declare class YargsError extends Error { } export type Result = { err: null; result: T; } | { err: Error; }; export declare function wrapError(promise: Promise): Promise>; export declare function wrapFnError(fn: () => T): Result; //# sourceMappingURL=errors.d.ts.map