/** * Initiates a CDP file upload * @param {string} path - the path of the page in the form * @param {string} retrievalKey - the retrieval key for the files * @param {string} [mimeTypesCsv] - the csv string of accepted mimeTypes */ export function initiateUpload(path: string, retrievalKey: string, mimeTypesCsv?: string): Promise; /** * Get the status of a CDP file upload * @param {string} uploadId - the ID of the upload */ export function getUploadStatus(uploadId: string): Promise; import type { UploadInitiateResponse } from '~/src/server/plugins/engine/types.js'; import type { UploadStatusResponse } from '~/src/server/plugins/engine/types.js';