import { NextQuery } from '@empathyco/x-types' ; /**
 * Creates a  {@link @empathyco/x-types#NextQuery | next queries} stub.
 *
 *  param amount returns internal export function getNextQueriesStub ( amount = 3 ) { return Array . from < number , NextQuery > ( { length : amount } , ( _ , index ) => createNextQueryStub ( `Next query ${ index + 1 }` ) ) ; } param query param nextQuery returns export function createNextQueryStub ( query , nextQuery ? ) { return { facets : [ ] , query , totalResults : 10 , results : [ ] , modelName : 'NextQuery' , ... nextQuery } ; }