@empathyco/x-components
Version:
Empathy X Components
47 lines • 2.04 kB
TypeScript
import type { SearchResponse } from '@empathyco/x-types';
export declare const mockedApiUrl = "https://api.empathy.co";
export declare const getIdentifierResultsEndpoint = "https://api.empathy.co/identifier-results";
export declare const getRecommendationsEndpoint = "https://api.empathy.co/recommendations";
export declare const getQuerySuggestionsEndpoint = "https://api.empathy.co/query-suggestions";
export declare const getRelatedTagsEndpoint = "https://api.empathy.co/related-tags";
export declare const getPopularSearchesEndpoint = "https://api.empathy.co/popular-searches";
export declare const getNextQueriesEndpoint = "https://api.empathy.co/next-queries";
export declare const searchEndpoint = "https://api.empathy.co/search";
export declare const trackEndpoint = "https://api.empathy.co/track";
export declare const getSemanticQueriesEndpoint = "https://api.empathy.co/semantic-queries";
export declare const mockedResponses: {
'identifier-results': {
results: import("@empathyco/x-types").Result[];
};
'next-queries': {
nextQueries: import("@empathyco/x-types").NextQuery[];
};
'popular-searches': {
suggestions: import("@empathyco/x-types").Suggestion[];
};
'query-suggestions': {
suggestions: import("@empathyco/x-types").Suggestion[];
};
recommendations: {
results: import("@empathyco/x-types").Result[];
};
search: SearchResponse;
'semantic-queries': {
semanticQueries: import("@empathyco/x-types").SemanticQuery[];
};
'related-tags': {
relatedTags: import("@empathyco/x-types").RelatedTag[];
};
'related-prompts': {
relatedPrompts: import("@empathyco/x-types").RelatedPrompt[];
};
};
/**
* Creates a search response.
*
* @param partial - Partial search response to override default fields.
*
* @returns A complete search response object.
*/
export declare function createSearchResponse(partial?: Partial<SearchResponse>): SearchResponse;
//# sourceMappingURL=mocked-responses.d.ts.map