import { TestSyncConfig } from './test-sync-config'; export declare const KYSELY_TREE_URL = "https://github.com/kysely-org/kysely/tree/"; export declare const MAX_VERSION = 9999999; export declare function getBaseDownloadUrl(config: TestSyncConfig): Promise; /** * Returns the name of the current package. * @returns A string */ export declare function getPackageName(): string; /** * Returns the semantic version of the installed Kysely package, according to * the `package.json` file in the current working directory, or null if the * file does not indicate a Kysely package. */ export declare function getKyselyVersion(): string | null; /** * Returns the base URL for the source code to the indicated Kysely version. * @param version A semantic version expressed as a string * @returns A URL */ export declare function getKyselySourceURL(version: string): string; /** * Returns the theoretical maximum version of a package with which the given * semantic version is compatible, assuming maximum versions of `MAX_VERSION`. * @param version A semantic version * @returns A semantic version expressed as a tuple */ export declare function getMaxVersions(version: string): [number, number, number]; /** * Returns the greatest released version of Kysely that is less than or equal * to the given version, according to the GitHub API. * @param version A semantic version expressed as a tuple * @returns A semantic version expressed as a string */ export declare function getClosestKyselyVersion(maxVersions: [number, number, number]): Promise;