import type { DeepPartial } from 'ts-essentials';
import type { Payload, RequestContext } from '../../..';
import type { GeneratedTypes } from '../../../';
import type { PayloadRequest } from '../../../types';
import type { Document } from '../../../types';
export type Options<TSlug extends keyof GeneratedTypes['globals']> = {
    context?: RequestContext;
    data: DeepPartial<Omit<GeneratedTypes['globals'][TSlug], 'id'>>;
    depth?: number;
    draft?: boolean;
    fallbackLocale?: string;
    locale?: string;
    overrideAccess?: boolean;
    req?: PayloadRequest;
    showHiddenFields?: boolean;
    slug: TSlug;
    user?: Document;
};
export default function updateLocal<TSlug extends keyof GeneratedTypes['globals']>(payload: Payload, options: Options<TSlug>): Promise<GeneratedTypes['globals'][TSlug]>;
//# sourceMappingURL=update.d.ts.map