/**
 * CAP can expose a DB service before its model is attached. String-based
 * INSERT/UPDATE/DELETE queries then fail during view resolution. Ensure the
 * shared CDS model is loaded before connecting write-heavy runtime services.
 *
 * Runtime function-existence checks are kept on purpose: many unit tests
 * provide a partial `cds` mock (just the methods they exercise). Without
 * the guards, the bare load/linked call would throw during test setup even
 * though the production runtime has both methods. Type-wise `cds.load` /
 * `cds.linked` are guaranteed by @cap-js/cds-types; the guards are runtime
 * insurance only.
 */
export declare function ensureNightgateModelLoaded(): Promise<void>;
