UNPKG

svelte-search-engine

Version:

A wrapper for Google's Programmable Search Engine, providing a Svelte-friendly interface.

12 lines (11 loc) 332 B
import { SvelteComponent } from 'svelte'; import type { Promotion, Result } from './search'; export declare class SearchEngineComponent extends SvelteComponent<{ promos?: Promotion[]; results: Result[]; }> { } export type UIComponents = { web?: typeof SearchEngineComponent; image?: typeof SearchEngineComponent; };