export default function extractErrorMessage(err: unknown): string;