export interface FabricHarnessErrorOptions { code?: string | undefined; docUrl?: string | undefined; suggestions?: string[] | undefined; cause?: unknown | undefined; } export declare class FabricHarnessError extends Error { readonly code: string | undefined; readonly docUrl: string | undefined; readonly suggestions: string[] | undefined; readonly cause: unknown | undefined; constructor(message: string, options?: FabricHarnessErrorOptions); } export declare function levenshteinDistance(a: string, b: string): number; export declare function suggestSimilar(input: string, candidates: string[], maxDistance?: number, maxResults?: number): string[]; export interface RenderErrorOptions { json?: boolean; noColor?: boolean; } /** * Render values rejected or thrown by dependencies without collapsing plain * objects to `[object Object]`. The output stays bounded because provider * failures can contain arbitrarily large response bodies. */ export declare function formatThrownValue(value: unknown): string; export declare function renderError(error: unknown, options?: RenderErrorOptions): string; //# sourceMappingURL=errors.d.ts.map