/** * Formats one unknown error-like value into its readable message without the stack trace. * * Use this instead of `formatUnknownErrorDetails` whenever the text is shown to the user, for example * inside a branded error, where the stack of the wrapped error would only bury the actual cause. */ export declare function formatUnknownErrorMessage(error: unknown): string;