import { GestureResponderEvent, TextInputProps } from "react-native";
import { WithTestID } from "src/utils/types";
type SearchInputPressableProps = {
    onPress: (event: GestureResponderEvent) => void;
};
type SearchInputActionProps = {
    pressable: SearchInputPressableProps;
    keepCancelVisible?: never;
    onCancel?: never;
    onChangeText?: never;
    value?: never;
} | {
    pressable?: never;
    keepCancelVisible?: boolean;
    onCancel: (event: GestureResponderEvent) => void;
    onChangeText: (value: string) => void;
    value: string;
};
type SearchInputProps = WithTestID<{
    accessibilityLabel: TextInputProps["accessibilityLabel"];
    cancelButtonLabel: string;
    clearAccessibilityLabel: string;
    placeholder: TextInputProps["placeholder"];
    autoFocus?: TextInputProps["autoFocus"];
}> & SearchInputActionProps;
export type SearchInputRef = {
    focus: () => void;
};
export declare const SearchInput: import("react").ForwardRefExoticComponent<SearchInputProps & import("react").RefAttributes<SearchInputRef>>;
export {};
//# sourceMappingURL=SearchInput.d.ts.map