import { ReactNode } from 'react'; import { UseMutationResult } from 'react-query'; import { InputProps } from '../inputv2/inputv2'; type InlineInputForm = { value: string; }; type CheckResult = { hasError: true; message: string; } | { hasError: false; }; type ConfirmationModalRenderArgs = { isOpen: boolean; pendingValue: string; currentValue: string; onConfirm: () => void; onCancel: () => void; isLoading: boolean; error: unknown; }; export type InlineInputProps = { defaultValue?: string; changeMutation: UseMutationResult; check?: (value: string) => CheckResult; confirmationModal?: (args: ConfirmationModalRenderArgs) => ReactNode; editTooltip?: string; loadingTooltip?: string; helperTextPlacement?: 'bottom' | 'right'; } & Omit; export declare const InlineInput: ({ defaultValue, changeMutation, check, confirmationModal, editTooltip, loadingTooltip, helperTextPlacement, id, ...inputProps }: InlineInputProps) => import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=InlineInput.d.ts.map