import type * as React from 'react'; import type { HasDataAttribute, HasRootRef } from '../../types'; import { type VKUIButtonProps } from '../Button/Button'; export interface FileProps extends Omit, Pick, 'disabled' | 'readOnly' | 'required' | 'autoFocus' | 'name' | 'value' | 'accept' | 'capture' | 'multiple' | 'form' | 'onChange' | 'onFocus' | 'onBlur'>, Omit, 'onChange' | 'onFocus' | 'onBlur'>, HasRootRef { /** * @deprecated Since 7.9.0. Вместо этого используйте `slotProps={ input: { getRootRef: ... } }`. */ getRef?: React.Ref | undefined; /** * Свойства, которые можно прокинуть внутрь компонента: * - `root`: свойства для прокидывания в корень компонента; * - `input`: свойства для прокидывания в скрытый `input`. */ slotProps?: { root?: (Omit, 'children'> & HasRootRef & HasDataAttribute) | undefined; input?: (Omit, 'type' | 'size'> & HasRootRef & HasDataAttribute) | undefined; } | undefined; } /** * @see https://vkui.io/components/file */ export declare const File: ({ getRootRef, children, getRef, align, size, mode, stretched, before, after, loading, appearance, disabled, readOnly, required, autoFocus, id, name, value, accept, capture, multiple, form, onChange, onFocus, onBlur, slotProps, ...restProps }: FileProps) => React.ReactNode; //# sourceMappingURL=File.d.ts.map