/**
 * CAR Extension API Routes
 *
 * Exposes the CAR Extension framework via REST API endpoints.
 * Provides extension listing, details, invocation, and health monitoring.
 *
 * @packageDocumentation
 * @module @vorionsys/api/routes/extensions
 * @license Apache-2.0
 */
import type { FastifyInstance } from 'fastify';
import { type ACIExtensionService } from '../../car-extensions/index.js';
/**
 * Reset the extension service (for testing)
 */
export declare function resetExtensionService(): void;
/**
 * Set a custom extension service (for testing)
 */
export declare function setExtensionService(service: ACIExtensionService): void;
/**
 * Extension routes roles
 */
export declare const EXTENSION_ROLES: {
    /** Roles that can list and read extensions */
    readonly READ: readonly ["admin", "tenant:admin", "extension:admin", "extension_reader", "agent:operator"];
    /** Roles that can invoke extensions */
    readonly INVOKE: readonly ["admin", "tenant:admin", "extension:admin", "agent:operator"];
};
/**
 * Register extension routes
 *
 * @param server - Fastify server instance
 * @param options - Route options
 */
export declare function registerExtensionRoutes(server: FastifyInstance, options?: {
    prefix?: string;
}): Promise<void>;
export default registerExtensionRoutes;
//# sourceMappingURL=extensions.d.ts.map