///
import { Stats } from 'fs';
import { VFS } from '../vfs';
import type { Arguments, ParsedOptions } from '@kui-shell/core';
/** Just the bits of fs.Stats that we need */
type PartialStats = Pick;
interface BaseStats {
name: string;
path: string;
stats: PartialStats;
}
interface DirentStats {
isFile: boolean;
isDirectory: boolean;
isSymbolicLink: boolean;
isSpecial: boolean;
isExecutable: boolean;
permissions: string;
username: string;
mount: Pick;
}
export interface GlobStats extends BaseStats {
viewer?: string;
nameForDisplay: string;
dirent: DirentStats;
}
export interface KuiGlobOptions extends ParsedOptions {
a?: boolean;
all?: boolean;
d?: boolean;
l?: boolean;
C?: boolean;
}
/**
* Kui command for globbing readdir
*
*/
export declare function kuiglob(vfs: VFS, { tab, argvNoOptions, parsedOptions }: Pick, 'tab' | 'argvNoOptions' | 'parsedOptions'>): Promise;
export {};