import * as React from 'react';
export interface TreeInputProps {
    type: 'file' | 'folder';
    onSubmit: (name: string) => void;
    onCancel?: () => void;
    defaultValue?: string;
    placeholder?: string;
    autoFocus?: boolean;
    className?: string;
}
export declare const TreeInput: React.ForwardRefExoticComponent<TreeInputProps & React.RefAttributes<HTMLLIElement>>;
