@riadvargas/svelte-algolia-instantsearch
Version:
Svelte wrapper for Algolia InstantSearch
35 lines (34 loc) • 1.26 kB
TypeScript
import type { HitsPerPageConnectorParams } from "instantsearch.js/es/connectors/hits-per-page/connectHitsPerPage";
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 HitsPerPage: $$__sveltets_2_IsomorphicComponent<HitsPerPageConnectorParams & {
classes?: Partial<{
/**
* Class names to apply to the root element
*/
root: string;
/**
* Class names to apply to the select element
*/
select: string;
/**
* Class names to apply to the option element
*/
option: string;
}>;
}, {
[evt: string]: CustomEvent<any>;
}, {}, {}, string>;
type HitsPerPage = InstanceType<typeof HitsPerPage>;
export default HitsPerPage;