import { IOpenSearchDashboardsSearchResponse } from '..' ; returns export const isErrorResponse = ( response ? ) => { return ! response || ( ! response . isRunning && response . isPartial ) ; } ; returns export const isCompleteResponse = ( response ? ) => { return response && ! response . isRunning && ! response . isPartial ; } ; returns export const isPartialResponse = ( response ? ) => { return response && response . isRunning && response . isPartial ; } ;