import { default as React } from 'react';
type InputWithErrorProps = {
    id?: string;
    value: string;
    ariaLabel: string;
    error: string | undefined;
    errorId: string;
    onDraftChange: (value: string) => void;
    onCommit: (rawValue: string) => Promise<void>;
    hasDraft?: boolean;
    isCommitting?: boolean;
    commitErrorContext: string;
};
export default function InputWithError({ id, value, ariaLabel, error, errorId, onDraftChange, onCommit, hasDraft, isCommitting, commitErrorContext, }: InputWithErrorProps): React.JSX.Element;
export {};
//# sourceMappingURL=InputWithError.d.ts.map