import type { GeneratedTypes, Payload, RequestContext } from '../../../index.js';
import type { Document, PayloadRequest } from '../../../types/index.js';
import type { TypeWithVersion } from '../../../versions/types.js';
export type Options<T extends keyof GeneratedTypes['globals']> = {
    context?: RequestContext;
    depth?: number;
    disableErrors?: boolean;
    fallbackLocale?: GeneratedTypes['locale'];
    id: string;
    locale?: 'all' | GeneratedTypes['locale'];
    overrideAccess?: boolean;
    req?: PayloadRequest;
    showHiddenFields?: boolean;
    slug: T;
    user?: Document;
};
export default function findVersionByIDLocal<T extends keyof GeneratedTypes['globals']>(payload: Payload, options: Options<T>): Promise<TypeWithVersion<GeneratedTypes['globals'][T]>>;
//# sourceMappingURL=findVersionByID.d.ts.map