import { default as React, JSX } from 'react';
import { OptionalFormProps } from '../../forms/Form/Form';
import { OptionalTextInputProps } from '../../forms/TextInput/TextInput';
type SearchLocalization = {
    buttonText: string;
};
export type SearchProps = {
    onSubmit: NonNullable<React.ComponentProps<'form'>['onSubmit']>;
    size?: 'big' | 'small';
    className?: string;
    inputName?: string;
    inputId?: string;
    placeholder?: string;
    label?: React.ReactNode;
    i18n?: SearchLocalization;
    buttonAriaLabel?: string;
    inputProps?: OptionalTextInputProps;
} & OptionalFormProps;
export declare const Search: ({ onSubmit, size, className, placeholder, inputName, label, inputId, i18n, buttonAriaLabel, inputProps, ...formProps }: SearchProps) => JSX.Element;
export default Search;
