/** * Custom error types with recovery hints for user-friendly output. */ export declare class GhlsError extends Error { readonly hint?: string | undefined; readonly exitCode: number; constructor(message: string, hint?: string | undefined, exitCode?: number); } export declare class NotARepoError extends GhlsError { constructor(); } export declare class NoRemoteError extends GhlsError { constructor(); } export declare class GhCliNotFoundError extends GhlsError { constructor(); } export declare class GhNotAuthenticatedError extends GhlsError { constructor(); } export declare class SquashMergeWarning extends GhlsError { constructor(); } export declare class StackIntegrityError extends GhlsError { constructor(detail: string); } export declare class ConflictError extends GhlsError { constructor(files: string[]); } export declare class SizeExceededError extends GhlsError { constructor(lines: number, limit: number); } /** * Wrap the top-level command handler to catch GhlsError and print nicely. */ export declare function handleError(err: unknown): never; //# sourceMappingURL=errors.d.ts.map