import { type CommandEntry } from './slash-match.js'; import type { Candidate, Trigger } from './types.js'; export declare function detectTrigger(buffer: string, cursorCol: number): Trigger | null; export declare function filterSlashCandidates(query: string, recentHistory?: readonly string[]): Candidate[]; export declare function buildSlashUniverse(): CommandEntry[]; export interface FileDirent { name: string; isDirectory(): boolean; } export declare const FILE_SCAN_TTL_MS = 2000; export declare function invalidateFileScanCache(): void; export declare function __fileScanCacheSize(): number; export declare function buildFileCandidates(entries: FileDirent[], query: string, rootDir?: string, homeDir?: string): Candidate[]; export declare function filterFileCandidatesCached(query: string, rootDir?: string, homeDir?: string): Candidate[] | null; export declare function filterFileCandidatesAsync(query: string, rootDir?: string, homeDir?: string): Promise; export declare function filterFileCandidates(query: string, rootDir?: string, homeDir?: string): Candidate[]; export declare function filterFlagCandidates(command: string, query: string): Candidate[];