import type { ControllerSide } from '../../typings/routing/meta';
import type { ControllerScanContext } from '../../typings/routing/scan-context';
export type { ControllerScanContext };
export declare function setControllerScanContext(next: ControllerScanContext | null): void;
export declare function getControllerScanContext(): ControllerScanContext | null;
/** modules/base/controller/admin/auth.ts → base */
export declare function parseModuleFromPath(file: string): string;
/**
 * 未写 prefix 时由文件路径生成（相对 sidePrefix）
 * modules/base/controller/admin/auth.ts → /base/auth
 * modules/user/controller/app/rbac.ts → /user/rbac
 */
export declare function parseControllerAutoPrefix(file: string): string;
export type { ControllerSide };
