import { ButtonProps } from "../../action/Button"; import { TextInputProps } from "../TextInput"; type ImportWidgetBaseProps = { title: React.ReactNode; description?: React.ReactNode; actionLabel: React.ReactNode; placeholder?: string; inputProps?: TextInputProps; actionButtonProps?: Omit; onAction: () => void; actionDisabled?: boolean; actionLoading?: boolean; } & Omit, "children">; export type ImportWidgetWithClear = ImportWidgetBaseProps & { onClear: () => void; /** Translated accessible label for the clear button */ clearAriaLabel: string; }; type ImportWidgetWithoutClear = ImportWidgetBaseProps & { onClear?: never; clearAriaLabel?: never; }; export type ImportWidgetProps = ImportWidgetWithClear | ImportWidgetWithoutClear; export declare function ImportWidget({ title, description, actionLabel, placeholder, inputProps, actionButtonProps, onAction, onClear, clearAriaLabel, actionDisabled, actionLoading, className, ref, ...divProps }: ImportWidgetProps & React.RefAttributes): import("react").JSX.Element; export declare namespace ImportWidget { var displayName: string; } export {}; //# sourceMappingURL=ImportWidget.d.ts.map