import * as React from 'react';
import type { HasDataAttribute, HasRootRef } from '../../types';
import { type VKUIButtonProps } from '../Button/Button';
export interface FileProps extends Omit<VKUIButtonProps, 'type'>, Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type' | 'size'>, HasRootRef<HTMLElement> {
    /**
     * @deprecated Since 7.9.0. Вместо этого используйте `slotProps={ input: { getRootRef: ... } }`.
     */
    getRef?: React.Ref<HTMLInputElement>;
    /**
     * Свойства, которые можно прокинуть внутрь компонента:
     * - `root`: свойства для прокидывания в корень компонента;
     * - `input`: свойства для прокидывания в скрытый `input`.
     */
    slotProps?: {
        root?: Omit<React.LabelHTMLAttributes<HTMLLabelElement>, 'children'> & HasRootRef<HTMLLabelElement> & HasDataAttribute;
        input?: Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type' | 'size'> & HasRootRef<HTMLInputElement> & 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