import type { WixDataBulkSaveOptions } from './types'; /** * Options builder for bulk save operations. * * Use this builder to configure bulk save behavior such as hooks suppression and reference saving. * @public * @builder * @documentationMaturity preview */ export interface WixDataBulkSaveOptionsBuilder { /** * Sets whether to suppress hooks. * * When `true`, the bulk save runs without triggering hooks. */ withSuppressHooks(value: boolean): WixDataBulkSaveOptionsBuilder; /** * Sets whether to include draft items when saving items in bulk. * @internal */ withShowDrafts(value: boolean): WixDataBulkSaveOptionsBuilder; /** * Sets whether to save referenced items when saving items in bulk. */ withSaveReferences(value: boolean): WixDataBulkSaveOptionsBuilder; /** * Builds the bulk save options object. */ build(): WixDataBulkSaveOptions; } /** * Creates a new bulk save options builder. * @public * @documentationMaturity preview * * @example * ```ts title="Create a bulk save options builder" * import { items, BulkSaveOptionsBuilder } from '@wix/data' * * const options = BulkSaveOptionsBuilder() * .withSuppressHooks(true) * .withSaveReferences(true) * .build() * * const result = await items.bulkSave('myCollection', [{ _id: 'foo', references: ['ref1', 'ref2'] }], options) * ``` */ export declare const BulkSaveOptionsBuilder: () => WixDataBulkSaveOptionsBuilder; //# sourceMappingURL=WixDataBulkSaveOptionsBuilder.d.ts.map