svelte-algolia-instantsearch
Version:
Svelte wrapper for Algolia InstantSearch
34 lines (33 loc) • 965 B
TypeScript
import { SvelteComponentTyped } from "svelte";
export type StatsTranslationOptions = {
nbHits: number;
processingTimeMS: number;
nbSortedHits?: number;
areHitsSorted?: boolean;
};
declare const __propDef: {
props: {
classes?: Partial<{
/**
* Class names to apply to the root element
*/
root: string;
}> | undefined;
translations?: Partial<{
/**
* Alternative text for the root element text.
*/
rootElementText(options: StatsTranslationOptions): string;
}> | undefined;
};
events: {
[evt: string]: CustomEvent<any>;
};
slots: {};
};
export type StatsProps = typeof __propDef.props;
export type StatsEvents = typeof __propDef.events;
export type StatsSlots = typeof __propDef.slots;
export default class Stats extends SvelteComponentTyped<StatsProps, StatsEvents, StatsSlots> {
}
export {};