import React from "react";
import { SearchType } from "./SearchConstants";
import { SubIcon, L3ComponentProps, L3Component } from "../../types";
import { BASE_SIZES } from "../../constants";
import "./Search.scss";
export interface SearchProps extends L3ComponentProps {
    secondaryIconName?: SubIcon;
    iconName?: SubIcon;
    onChange?: () => void;
    autoFocus?: boolean;
    value?: string;
    placeholder?: string;
    disabled?: boolean;
    debounceRate?: number;
    onBlur?: (event: React.FocusEvent) => void;
    onFocus?: (event: React.FocusEvent) => void;
    wrapperClassName?: string;
    setRef?: () => void;
    autoComplete?: string;
    size?: typeof BASE_SIZES[keyof typeof BASE_SIZES];
    type?: SearchType;
    validation?: {
        status: "error" | "success";
        text: string;
    } | {
        text: string;
    };
    inputAriaLabel?: string;
    searchResultsContainerId?: string;
    activeDescendant?: string;
    iconNames?: {
        layout: string;
        primary: string;
        secondary: string;
    };
    /** shows loading animation */
    loading?: boolean;
}
declare const Search: L3Component<SearchProps, unknown> & {
    sizes?: typeof BASE_SIZES;
    types?: typeof SearchType;
};
export default Search;
