import type { GlobalSlug, Payload, RequestContext, TypedLocale } from '../../../index.js';
import type { Document, PayloadRequest, Where } from '../../../types/index.js';
export type CountGlobalVersionsOptions<TSlug extends GlobalSlug> = {
    /**
     * context, which will then be passed to req.context, which can be read by hooks
     */
    context?: RequestContext;
    depth?: number;
    disableErrors?: boolean;
    global: TSlug;
    locale?: TypedLocale;
    overrideAccess?: boolean;
    req?: Partial<PayloadRequest>;
    user?: Document;
    where?: Where;
};
export default function countGlobalVersionsLocal<TSlug extends GlobalSlug>(payload: Payload, options: CountGlobalVersionsOptions<TSlug>): Promise<{
    totalDocs: number;
}>;
//# sourceMappingURL=countGlobalVersions.d.ts.map