
import { FieldBaseProps } from "../../../shared/form.js";
import "../../../shared/index.js";
import { BaseProps, BlockStyleProps, ContainerStyleProps, PositionStyleProps, Props, Styles } from "@tenphi/tasty";
import * as react from "react";
import { RefObject } from "react";
import { AriaTextFieldProps } from "react-aria";

//#region src/components/fields/FileInput/FileInput.d.ts
interface CubeFileInputProps extends BaseProps, PositionStyleProps, ContainerStyleProps, BlockStyleProps, AriaTextFieldProps, FieldBaseProps {
  /**
   * The size of the input
   * @default default
   */
  size?: 'small' | 'default' | 'large' | string;
  /** The input ref */
  inputRef?: RefObject<HTMLInputElement>;
  /** Style map for the input */
  inputStyles?: Styles;
  /**
   * The type of the input
   * @default file
   */
  type?: 'file' | 'text';
  /** Direct input props */
  inputProps?: Props;
  /** The file types that the input should accept */
  accept?: string;
  value?: string;
  onChange?: (value: string) => void;
  placeholder?: string;
}
/**
 * FileInputs are file inputs that allow users to select local files to
 * upload them to the server.
 */
declare const _FileInput: react.ForwardRefExoticComponent<CubeFileInputProps & react.RefAttributes<unknown>>;
//#endregion
export { CubeFileInputProps, _FileInput };
//# sourceMappingURL=FileInput.d.ts.map