import type { Cli } from '@roots/bud/cli/app'; import type { Context } from '@roots/bud-framework/context'; /** * Command finder class */ export declare class Finder { context: Partial; application: Cli; /** * Command paths */ paths: Array; /** * Class constructor */ constructor(context: Partial, application: Cli); /** * Is cacheable */ get cacheable(): boolean; /** * Clear cache */ cacheClear(): Promise; /** * Cache path */ get cachePath(): string; /** * Read cache */ cacheRead(): Promise; /** * Write cache */ cacheWrite(): Promise; /** * Get registration module paths */ getModules(): Promise>; /** * Get paths */ getPaths(paths: Array): string[]; /** * Get array of project dependencies */ getSignifiers(): Array; /** * Import commands */ importCommands(): Promise; /** * Initialize */ init(): Promise; /** * Resolve signifiers against import.meta.url */ resolve(paths: Array): Promise; }