import type { AnyControllerDefinition } from "./types.js"; export type DiscoveredController = { name: string; path: string; source: "project" | "global"; }; export declare function controllerSearchDirs(options: { cwd: string; homeDir?: string; }): { dir: string; source: DiscoveredController["source"]; }[]; export declare function controllerFileStem(filePath: string): string; export declare function loadControllerFile(filePath: string): Promise; export declare function discoverControllers(options: { cwd: string; homeDir?: string; }): Promise; export declare function loadDiscoveredControllers(options: { cwd: string; homeDir?: string; }): Promise;