import { type Collection } from 'mongodb';
declare class PCGIDBLegacyClass {
    VehicleEventsCore: Collection;
    VehicleEventsLog: Collection;
    /**
     * Establishes a connection to the Mongo database and initializes the collection.
     * @throws If connection fails.
     */
    connect(): Promise<void>;
    /**
     * Sets up an SSH Tunnel, if required, and returns the appropriate database URL.
     * @throws If required environment variables are missing or if the tunnel setup fails.
     */
    getPcgidbLegacyConnectionString(): Promise<string>;
}
/**
 * @deprecated This should not be used anymore. Only inside the `apex` module
 * and then you should use the services provided by the local package.
 */
export declare const pcgidbLegacy: PCGIDBLegacyClass;
export {};
