UNPKG

@riadvargas/svelte-algolia-instantsearch

Version:
39 lines (38 loc) 1.34 kB
export type StatsTranslationOptions = { nbHits: number; processingTimeMS: number; nbSortedHits?: number; areHitsSorted?: boolean; }; import type { StatsConnectorParams } from "instantsearch.js/es/connectors/stats/connectStats"; interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> { new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & { $$bindings?: Bindings; } & Exports; (internal: unknown, props: Props & { $$events?: Events; $$slots?: Slots; }): Exports & { $set?: any; $on?: any; }; z_$$bindings?: Bindings; } declare const Stats: $$__sveltets_2_IsomorphicComponent<StatsConnectorParams & { classes?: Partial<{ /** * Class names to apply to the root element */ root: string; }>; translations?: Partial<{ /** * Alternative text for the root element text. */ rootElementText(options: StatsTranslationOptions): string; }>; }, { [evt: string]: CustomEvent<any>; }, {}, {}, string>; type Stats = InstanceType<typeof Stats>; export default Stats;