/** * Pick the license that applies to a Directus version. Directus 12 moved from BSL 1.1 to MSCL. * An unknown version gets MSCL, since every current release is 12 or later. * @param releaseId - The Directus version, e.g. "12.6.0" * @returns The license whose banner to show */ export declare function licenseForVersion(releaseId?: string): 'bsl' | 'mscl'; /** * Ask the connected instance for its version. /server/info returns it to any logged-in user. * Uses a single fetch with a timeout, not the shared client, which retries 503 and 429 with no limit. * @returns The Directus version, or undefined if it can't be read */ export declare function fetchDirectusVersion(): Promise; /** * Print the license banner for the connected Directus instance. Never throws, so it can't fail a successful run. */ export declare function displayLicenseBanner(): Promise;