import type { Request, Response, NextFunction } from 'express';
import { type RbacPermission } from '../rbac';
export type CodebaseScope = Extract<RbacPermission, 'codebase:read' | 'codebase:manage' | 'codebase:admin'>;
export declare function requireCodebaseScope(scope: CodebaseScope): (req: Request, res: Response, next: NextFunction) => void;
export declare function hasCodebaseScope(req: Request, scope: CodebaseScope): boolean;
//# sourceMappingURL=codebaseScopes.d.ts.map