import type { MarkOptional } from 'ts-essentials';
import type { GeneratedTypes } from '../../';
import type { PayloadRequest } from '../../types';
import type { Collection } from '../config/types';
export type CreateUpdateType = {
    [field: number | string | symbol]: unknown;
};
export type Arguments<T extends CreateUpdateType> = {
    autosave?: boolean;
    collection: Collection;
    data: MarkOptional<T, 'createdAt' | 'id' | 'sizes' | 'updatedAt'>;
    depth?: number;
    disableVerificationEmail?: boolean;
    draft?: boolean;
    overrideAccess?: boolean;
    overwriteExistingFiles?: boolean;
    req: PayloadRequest;
    showHiddenFields?: boolean;
};
export declare const createOperation: <TSlug extends string | number | symbol>(incomingArgs: Arguments<{
    [slug: string]: import("../config/types").TypeWithID & Record<string, unknown>;
    [slug: number]: import("../config/types").TypeWithID & Record<string, unknown>;
    [slug: symbol]: import("../config/types").TypeWithID & Record<string, unknown>;
}[TSlug]>) => Promise<{
    [slug: string]: import("../config/types").TypeWithID & Record<string, unknown>;
    [slug: number]: import("../config/types").TypeWithID & Record<string, unknown>;
    [slug: symbol]: import("../config/types").TypeWithID & Record<string, unknown>;
}[TSlug]>;
//# sourceMappingURL=create.d.ts.map