@riadvargas/svelte-algolia-instantsearch
Version:
Svelte wrapper for Algolia InstantSearch
57 lines (56 loc) • 1.84 kB
TypeScript
import type { BreadcrumbConnectorParams } from "instantsearch.js/es/connectors/breadcrumb/connectBreadcrumb";
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 Breadcrumb: $$__sveltets_2_IsomorphicComponent<BreadcrumbConnectorParams & {
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 list element
*/
list: string;
/**
* Class names to apply to each item element
*/
item: string;
/**
* Class names to apply to the selected item
*/
selectedItem: string;
/**
* Class names to apply to the separator between items
*/
separator: string;
/**
* Class names to apply to each link element
*/
link: string;
}>;
translations?: Partial<{
/**
* The label of the root element
*/
rootElementText: string;
}>;
}, {
[evt: string]: CustomEvent<any>;
}, {}, {}, string>;
type Breadcrumb = InstanceType<typeof Breadcrumb>;
export default Breadcrumb;