import { EventNames, LinkedEntityDefinition, memorized, mustBeArray, Service } from "cds-internal-tool"; import type { Migration, MysqlDatabaseOptions } from "./types"; export declare const lazy: { /** * cds facade */ readonly cds: import("cds-internal-tool").CDS; /** * cds config */ readonly env: import("cds-internal-tool/lib/types/config").Env; /** * database options */ readonly db_options: MysqlDatabaseOptions; /** * logger */ readonly logger: import("cds-internal-tool").Logger; readonly BaseService: typeof Service; }; /** * check cds version, if cds version is not match the `cds-mysql` required version, will throw error */ export declare function checkCdsVersion(): void; /** * return last 6 characters of target string * * @param s * @returns */ export declare function last6Chars(s: string): string; export { memorized, mustBeArray }; export declare const getIncrementalKey: ((entityDef: any) => any | undefined) & { clear: () => void; caches: import("cds-internal-tool/lib/foundation").LRUMap; }; /** * check the given entity has `preDelivery` aspect or not */ export declare const isPreDeliveryModel: ((entityDef: LinkedEntityDefinition) => boolean) & { clear: () => void; caches: import("cds-internal-tool/lib/foundation").LRUMap; }; /** * migration file generation tool */ export declare const migration_tool: { stringify(migrations: Array): string; parse(content: string): Array; };