import type { UmbElementDetailModel } from '../../types.js'; import type { CreateElementRequestModel, UpdateElementRequestModel } from '../../../core/backend-api/index.js'; /** * Maps an Element detail model to the create request body. * Shared by the detail create endpoint and the publishing create-and-publish endpoint. * @param {UmbElementDetailModel} model - The Element to create * @param {string | null} parentUnique - The unique of the parent to create under * @returns {CreateElementRequestModel} The create request body */ export declare function umbMapElementCreateRequestBody(model: UmbElementDetailModel, parentUnique: string | null): CreateElementRequestModel; /** * Maps an Element detail model to the update request body. * Shared by the detail update endpoint and the publishing update-and-publish endpoint. * @param {UmbElementDetailModel} model - The Element to update * @returns {UpdateElementRequestModel} The update request body */ export declare function umbMapElementUpdateRequestBody(model: UmbElementDetailModel): UpdateElementRequestModel;