import { type ButtonHTMLAttributes, type ReactNode } from 'react'; import type { ButtonStyle } from './buttonClasses.js'; export interface FileButtonProps extends ButtonStyle, Omit, 'type' | 'onChange' | 'children' | 'className'> { /** The file types offered, as the file input's `accept`, such as `image/*` or `.pem,.crt`. */ accept?: string | undefined; multiple?: boolean | undefined; /** The files picked, never empty. Picking the same file again calls it again. */ onFiles: (files: File[]) => void; /** Before the label. */ icon?: ReactNode; /** Busy with the files: see `Button`'s `loading`. */ loading?: boolean | undefined; className?: string | undefined; children?: ReactNode; } /** A button that opens the file picker, such as Upload logo. It is a real button, * so Tab reaches it and Enter or Space opens the picker, where a label over a * hidden file input can't be focused. */ export declare function FileButton({ accept, multiple, onFiles, onClick, ...props }: FileButtonProps): import("react").JSX.Element;