import type { GeneratedTypes } from '../../';
import type { PayloadRequest } from '../../types';
import type { Where } from '../../types';
import type { Collection } from '../config/types';
export type Arguments = {
    collection: Collection;
    depth?: number;
    overrideAccess?: boolean;
    req: PayloadRequest;
    showHiddenFields?: boolean;
    where: Where;
};
export declare const deleteOperation: <TSlug extends string | number | symbol>(incomingArgs: Arguments) => Promise<{
    docs: {
        [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][];
    errors: {
        id: {
            [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]["id"];
        message: string;
    }[];
}>;
//# sourceMappingURL=delete.d.ts.map