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