@riadvargas/svelte-algolia-instantsearch
Version:
Svelte wrapper for Algolia InstantSearch
44 lines (43 loc) • 1.5 kB
TypeScript
import type { PoweredByConnectorParams } from "instantsearch.js/es/connectors/powered-by/connectPoweredBy";
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 PoweredBy: $$__sveltets_2_IsomorphicComponent<PoweredByConnectorParams & {
classes?: Partial<{
/**
* Class names to apply to the root element
*/
root: string;
/**
* Class names to apply to the root element with the light theme
*/
light: string;
/**
* Class names to apply to the root element with the dark theme
*/
dark: string;
/**
* Class names to apply to the link element
*/
link: string;
/**
* Class names to apply to the SVG logo
*/
logo: string;
}>;
theme?: "light" | "dark";
}, {
[evt: string]: CustomEvent<any>;
}, {}, {}, string>;
type PoweredBy = InstanceType<typeof PoweredBy>;
export default PoweredBy;