import * as DirectusSdk from '@directus/sdk'; import { AuthenticationClient, DirectusClient, RestClient } from '@directus/sdk'; import { LoggerService, Logger } from './logger'; import { ConfigService } from './config'; import { DirectusSchema } from './interfaces'; export declare class MigrationClient { protected readonly config: ConfigService; protected readonly logger: Logger; protected adminRoleId: string | undefined; protected client: (DirectusClient & RestClient & AuthenticationClient) | undefined; constructor(config: ConfigService, loggerService: LoggerService); get(): Promise & DirectusSdk.RestClient & DirectusSdk.AuthenticationClient>; /** * This method clears the cache of the Directus instance */ clearCache(): Promise; /** * Best-effort clearing of the Directus system cache. * Uses the SDK helper when available; otherwise logs a debug note. */ protected tryClearSystemCache(): Promise; protected createClient(): Promise & DirectusSdk.RestClient & DirectusSdk.AuthenticationClient>; /** * Get the server version */ protected getDirectusVersion(): Promise; /** * This method compares the Directus instance version with the given one. */ protected compareWithDirectusVersion(version: string): Promise<'equal' | 'greater' | 'smaller'>; /** * This method validate that the Directus instance version is compatible with the current CLI version. */ validateDirectusVersion(): Promise; }