
import { FieldBaseProps } from "../../../shared/form.js";
import "../../../shared/index.js";
import * as react from "react";
import { ComponentType } from "react";

//#region src/components/fields/TextInputMapper/TextInputMapper.d.ts
interface CubeTextInputMapperProps extends FieldBaseProps {
  qa?: string;
  actionLabel?: string;
  isDisabled?: boolean;
  value?: Record<string, string>;
  onChange?: (value: Record<string, string> | undefined) => void;
  KeyComponent?: ComponentType<CubeTextInputMapperInputProps>;
  ValueComponent?: ComponentType<CubeTextInputMapperInputProps>;
  keyProps?: Partial<CubeTextInputMapperInputProps>;
  valueProps?: Partial<CubeTextInputMapperInputProps>;
  allowsCustomValue?: boolean;
  size?: 'small' | 'medium' | 'large' | (string & {});
}
interface CubeTextInputMapperInputProps {
  id: number;
  fieldType: 'key' | 'value';
  inputType?: 'input' | 'combobox' | 'password' | 'textarea';
  size?: 'small' | 'medium' | 'large' | (string & {});
  value?: string;
  options?: string[];
  placeholder?: string;
  onChange?: (id: number, newValue: string) => void;
  onSubmit?: (id: number) => void;
  isDisabled?: boolean;
  autoFocus?: boolean;
  allowsCustomValue?: boolean;
}
declare const _TextInputMapper: react.ForwardRefExoticComponent<CubeTextInputMapperProps & react.RefAttributes<HTMLDivElement>>;
//#endregion
export { CubeTextInputMapperInputProps, CubeTextInputMapperProps, _TextInputMapper };
//# sourceMappingURL=TextInputMapper.d.ts.map