import type { CollectionSlug, Payload, RequestContext, TypedLocale } from '../../../index.js';
import type { Document, PayloadRequest, PopulateType, SelectType } from '../../../types/index.js';
import type { TypeWithVersion } from '../../../versions/types.js';
import type { DataFromCollectionSlug } from '../../config/types.js';
export type Options<TSlug extends CollectionSlug> = {
    collection: TSlug;
    /**
     * context, which will then be passed to req.context, which can be read by hooks
     */
    context?: RequestContext;
    depth?: number;
    disableErrors?: boolean;
    draft?: boolean;
    fallbackLocale?: false | TypedLocale;
    id: string;
    locale?: 'all' | TypedLocale;
    overrideAccess?: boolean;
    populate?: PopulateType;
    req?: Partial<PayloadRequest>;
    select?: SelectType;
    showHiddenFields?: boolean;
    user?: Document;
};
export default function findVersionByIDLocal<TSlug extends CollectionSlug>(payload: Payload, options: Options<TSlug>): Promise<TypeWithVersion<DataFromCollectionSlug<TSlug>>>;
//# sourceMappingURL=findVersionByID.d.ts.map