UNPKG

@swell/cli

Version:

Swell's command line interface/utility

27 lines (26 loc) 1.22 kB
import { type GlobbyFilterFunction } from 'globby'; import { ConfigType } from './index.js'; export declare function globAllFilesByPath(appPath: string, dirPath?: string): Promise<string[]>; export declare function getGlobIgnorePathsChecker(appPath: string): Promise<GlobbyFilterFunction>; export declare function allConfigDirsPaths(appPath: string): Generator<{ configDir: string; configType: ConfigType; }>; export declare function allConfigFilesPaths(appPath: string): Generator<{ configDir: string; configFile: string; configType: ConfigType; }, void, unknown>; export declare function allConfigFilesPathsByType(appPath: string, configTypeKey: string): Generator<{ configDir: string; configFile: string; configType: ConfigType; }, void, unknown>; export declare function allConfigFilesInDir(appPath: string, dirPath: string, configType: ConfigType): Generator<{ configDir: string; configFile: string; configType: ConfigType; }, void, unknown>; export declare function allBaseFilesInDir(appPath: string): Generator<string, void, unknown>; export declare function getAllConfigPaths(appType: string): string[]; export declare function isPathDirectory(path: string): boolean;