import { Payload } from '../payload';
import { Collection, TypeWithID } from '../collections/config/types';
type Args = {
    payload: Payload;
    collection: Collection;
    query: Record<string, unknown>;
    id: string | number;
    lean?: boolean;
};
export declare const getLatestCollectionVersion: <T extends TypeWithID = any>({ payload, collection: { config, Model, }, query, id, lean, }: Args) => Promise<T>;
export {};
