import type { ApplicationService } from '@adonisjs/core/types'; import type { AllyService } from '../src/types.ts'; declare module '@adonisjs/core/http' { interface HttpContext { ally: AllyService; } } /** * AllyProvider extends the HTTP context with the "ally" property */ export default class AllyProvider { protected app: ApplicationService; /** * Create a new Ally provider instance. * * @param app - The AdonisJS application service. */ constructor(app: ApplicationService); /** * Boot the provider and register the `ctx.ally` getter. * * @returns A promise that resolves once the provider has been booted. */ boot(): Promise; }