export declare const extractErrorMessage: (error: unknown, defaultMessage?: string) => string;