import type { GeneratedTypes } from '../../../';
import type { RequestContext } from '../../../express/types';
import type { Payload } from '../../../payload';
import type { Document } from '../../../types';
export type Options<T extends keyof GeneratedTypes['collections']> = {
    collection: T;
    /**
     * context, which will then be passed to req.context, which can be read by hooks
     */
    context?: RequestContext;
    depth?: number;
    draft?: boolean;
    fallbackLocale?: string;
    id: string;
    locale?: string;
    overrideAccess?: boolean;
    showHiddenFields?: boolean;
    user?: Document;
};
export default function restoreVersionLocal<T extends keyof GeneratedTypes['collections']>(payload: Payload, options: Options<T>): Promise<GeneratedTypes['collections'][T]>;
//# sourceMappingURL=restoreVersion.d.ts.map