import type { PayloadRequest, Where } from '../../types/index.js';
import type { Collection, TypeWithID } from '../config/types.js';
export type Arguments = {
    collection: Collection;
    disableErrors?: boolean;
    overrideAccess?: boolean;
    req?: PayloadRequest;
    where?: Where;
};
export declare const countOperation: <T extends TypeWithID & Record<string, unknown>>(incomingArgs: Arguments) => Promise<{
    totalDocs: number;
}>;
//# sourceMappingURL=count.d.ts.map