import * as files from "../filesystem/index.js"; /** * Represents a UserError that has not been printed via the formatter. * This happens for user errors before the formatter could be instantiated */ export declare class UserError extends Error { /** optional longer user-facing guidance on how to resolve the error */ readonly guidance: string; readonly location: files.Location | undefined; constructor(message: string, guidance: string, location?: files.Location); } export declare function isUserError(arg: unknown): arg is UserError; //# sourceMappingURL=user-error.d.ts.map