/** * Converts an error-like value to an Error instance. If the input is already an Error, returns it * directly. Otherwise, creates a new Error with an appropriate string representation of the input. * * @param value - The value to convert. * @returns An Error instance containing a string representation of the input */ export declare function toError(value: unknown): Error;