import type { ApplicationService } from '@adonisjs/core/types';
import type { MediaConfig } from '../define_config.js';
import type { AgoraDoctorCheck, AgoraDoctorResult } from './agora_doctor.js';
type AnyConfig = Record<string, unknown>;
/** Drive's disks as boot resolves them: the default name and the service names. */
export interface DriveDisks {
    default?: string;
    services: string[];
}
/**
 * Resolve `config/drive.ts` the way the media provider does at boot: Drive's `defineConfig()`
 * returns a config provider, a hand-rolled config is a plain `{ default, services }`. `null` when
 * there is no Drive config, `'unknown'` when it cannot be resolved.
 */
export declare function resolveDriveDisks(app: ApplicationService): Promise<DriveDisks | null | 'unknown'>;
/** `media.disks`: every disk media writes to exists in `config/media.ts` `disks` or in Drive. */
export declare function checkDisks(media: MediaConfig | undefined, drive: DriveDisks | null | 'unknown'): AgoraDoctorResult;
/** `media.console-gate`: the media console has an `authorize`. */
export declare function checkConsoleGate(config: AnyConfig | undefined, inProduction: boolean): AgoraDoctorResult;
/** `media.account-console`: every collection the "My files" page lists exists and has rules. */
export declare function checkAccountConsole(media: MediaConfig | undefined): AgoraDoctorResult;
/** `media.tenancy-schema` (deep): with tenancy on, the Lucid store has its `tenant_id` column. */
export declare function checkTenancySchema(app: ApplicationService): Promise<AgoraDoctorResult>;
/** Every media check, in report order. Ids are frozen for 1.x. */
export declare const mediaDoctorChecks: AgoraDoctorCheck[];
export {};
//# sourceMappingURL=checks.d.ts.map