import { type ApplicationService } from '@adonisjs/core/types';
/**
 * Cors provider configures the cors middleware using the config
 * file stored inside the "config/cors.ts" file.
 *
 * @example
 * ```ts
 * // In your provider registration
 * const corsProvider = new CorsProvider(app)
 * corsProvider.register()
 * ```
 */
export default class CorsProvider {
    protected app: ApplicationService;
    /**
     * Create a new instance of CorsProvider
     *
     * @param app - The application service instance
     */
    constructor(app: ApplicationService);
    /**
     * Register the CORS middleware with the application container.
     * Binds the CorsMiddleware class with configuration from config/cors.ts
     *
     * @example
     * ```ts
     * // Called automatically by AdonisJS framework
     * corsProvider.register()
     * ```
     */
    register(): void;
}
