@riadvargas/svelte-algolia-instantsearch
Version:
Svelte wrapper for Algolia InstantSearch
69 lines (68 loc) • 2.18 kB
TypeScript
import type { RangeConnectorParams } from "instantsearch.js/es/connectors/range/connectRange";
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 RangeInput: $$__sveltets_2_IsomorphicComponent<RangeConnectorParams & {
classes?: Partial<{
/**
* Class names to apply to the root element
*/
root: string;
/**
* Class names to apply to the root element when there are no refinements possible
*/
noRefinementRoot: string;
/**
* Class names to apply to the form element
*/
form: string;
/**
* Class names to apply to each label element
*/
label: string;
/**
* Class names to apply to each input element
*/
input: string;
/**
* Class names to apply to the minimum input element
*/
inputMin: string;
/**
* Class names to apply to the maximum input element
*/
inputMax: string;
/**
* Class names to apply to the separator element
*/
separator: string;
/**
* Class names to apply to the submit button
*/
submit: string;
}>;
translations?: Partial<{
/**
* The label of the separator, between the minimum and maximum inputs
*/
separatorElementText: string;
/**
* The label of the submit button
*/
submitButtonText: string;
}>;
}, {
[evt: string]: CustomEvent<any>;
}, {}, {}, string>;
type RangeInput = InstanceType<typeof RangeInput>;
export default RangeInput;