import type { TCollectionName, TSchema } from '../../templates'; import type { Caller, DataSource } from '@forestadmin/datasource-toolkit'; import RelaxedCollection from './collection'; /** DataSource wrapper which accepts plain objects in all methods */ export default class RelaxedDataSource { private dataSource; private caller; constructor(dataSource: DataSource, caller: Caller); /** * Get a collection from a datasource * @param name the name of the collection */ getCollection>(name: N): RelaxedCollection; } //# sourceMappingURL=datasource.d.ts.map