/// <reference types="node" />
import { ReactElement } from 'react';
import { SearchResult } from '@goatim/client';
import { UrlObject } from 'url';
import { FieldComponentProps } from '@cezembre/forms';
export type SearchInputTheme = 'light' | 'lighter';
export interface SearchInputProps extends FieldComponentProps<string> {
    onSearch?: (query: string) => unknown;
    results?: SearchResult[];
    onClickResult?: (result: SearchResult) => unknown;
    resultHref?: (result: SearchResult) => string | UrlObject;
    throttle?: number;
    theme?: SearchInputTheme;
    flat?: boolean;
}
export declare function SearchBar({ onSearch, results, onClickResult, resultHref, throttle, theme, flat, }: SearchInputProps): ReactElement;
