import * as React from 'react'; import { GetClasses } from '../../typeUtils'; import { ButtonProps } from '../Button'; import 'focus-visible'; export declare const ButtonFilePickerStylesKey = "ChromaButtonFilePicker"; export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"input" | "text" | "root" | "icon" | "disabled" | "fullWidth" | "inverse" | "containedInverse" | "outlined" | "outlinedInverse" | "textInverse" | "rootDisabled" | "containedInverseDisabled" | "outlinedDisabled" | "outlinedInverseDisabled" | "textDisabled" | "textInverseDisabled">; export declare type ButtonFilePickerClasses = GetClasses; export interface ButtonFilePickerProps { accept?: string; allowMultipleSelection?: boolean; children?: React.ReactNode; className?: string; color?: ButtonProps['color']; disabled?: boolean; fullWidth?: ButtonProps['fullWidth']; icon?: ButtonProps['icon']; id?: string; onChange?: ((event: React.ChangeEvent) => void) | undefined; variant?: ButtonProps['variant']; } /** An element that appears as a Button component, but is used for file selection. ### A Direct Button Extension This component is a direct extension of the Button component. The following props are also available to Button File Picker: - variant - children - icon - color - disabled - className - fullWidth ### Accessibility - The label and input utilize the `for` and `id`. - The input can receive focus via the `Tab` key. - Pressing `Space` or `Enter` triggers the click action. ### Links - [Component Source](https://github.com/lifeomic/chroma-react/blob/master/src/components/ButtonFilePicker/ButtonFilePicker.tsx) - [Story Source](https://github.com/lifeomic/chroma-react/blob/master/stories/components/ButtonFilePicker/ButtonFilePicker.stories.tsx) */ export declare const ButtonFilePicker: React.ForwardRefExoticComponent>;