/** * Extracts the error message and error object from a given error input. * * @param error - The error to extract data from. * @returns An object containing the error (if applicable) and its message. */ export declare function extractErrorData(error: unknown): { error: Error | null; message: string; };