import DataLoader from 'dataloader'; import type { IdWithoutProjection, Key } from './createMongoDataLoader'; import type { PartialWithId } from './types'; import type { ObjectId } from 'mongodb'; export declare class DataLoaderNullableWithId, C extends string> extends DataLoader, C> { load(key: K2): Promise : V>; loadMany(keys: ArrayLike): Promise<(Error | PartialWithId)[]>; loadNullable(key: K2): Promise | null : V | null>; loadManyNullable(keys: ArrayLike): Promise>; } export default DataLoaderNullableWithId;