import { ReactElement } from 'react';
import { SearchResult } from '@goatim/client';
import { To } from 'react-router';
export type SearchInputTheme = 'light' | 'lighter';
export interface SearchInputProps {
    onSearch?: (query: string) => unknown;
    results?: SearchResult[];
    onClickResult?: (result: SearchResult) => unknown;
    toResult?: (result: SearchResult) => To;
    throttle?: number;
    theme?: SearchInputTheme;
    flat?: boolean;
}
export declare function SearchInput({ onSearch, results, onClickResult, toResult, throttle, theme, flat, }: SearchInputProps): ReactElement;
