import type { ApplicationService } from '@adonisjs/core/types';
/**
 * Wires `@adonis-agora/media` into the AdonisJS application: binds a singleton {@link MediaManager}
 * built from `config/media.ts`. Storage is delegated to `@adonisjs/drive` — the manager resolves disks
 * from the booted Drive manager, so this package never reimplements disk drivers. The selected store
 * (`memory` / `lucid`) and image processor (`processors.sharp()`) are built lazily from the config so
 * their peer dependencies (`@adonisjs/lucid`, `sharp`) load only when chosen.
 *
 * ```ts
 * const media = await app.container.make(MediaManager)
 * await media.library.attach({ ownerType: 'Post', ownerId: '1', collection: 'gallery', ... })
 * ```
 */
export default class MediaProvider {
    #private;
    protected app: ApplicationService;
    constructor(app: ApplicationService);
    register(): void;
    boot(): Promise<void>;
    /**
     * Answer another app's federated media console (`consoleCommands` in config/media.ts). Web
     * processes only: a short-lived `ace` command that won a command's claim could exit before it
     * answers. A connection that cannot claim a command (no `SET NX`) answers nothing, and says so.
     */
    ready(): Promise<void>;
    shutdown(): Promise<void>;
}
//# sourceMappingURL=media_provider.d.ts.map