/**
 * FileAutocomplete - Autocomplete component for @ file references
 *
 * Provides file path suggestions when user types @ followed by a partial path.
 * Inspired by Mistral Vibe CLI's file reference feature.
 */
import React from 'react';
export interface FileAutocompleteProps {
    /** Current input text */
    input: string;
    /** Whether autocomplete is visible */
    visible: boolean;
    /** Currently selected index */
    selectedIndex: number;
    /** Callback when a file is selected */
    onSelect?: (filePath: string) => void;
    /** Maximum number of suggestions to show */
    maxSuggestions?: number;
}
export interface FileSuggestion {
    /** Display name */
    name: string;
    /** Full path */
    path: string;
    /** Whether it's a directory */
    isDirectory: boolean;
    /** File extension */
    extension?: string;
}
/**
 * Extract the @ reference from input
 * Returns the partial path after @ if found
 */
export declare function extractFileReference(input: string): {
    found: boolean;
    partial: string;
    startPos: number;
};
/**
 * Get file suggestions based on partial path
 */
export declare function getFileSuggestions(partial: string, cwd?: string): FileSuggestion[];
/**
 * FileAutocomplete component
 */
export declare const FileAutocomplete: React.NamedExoticComponent<FileAutocompleteProps>;
export default FileAutocomplete;
