/**
 * Build the upload status URL given the current pathname and the upload ID.
 * This only works when called on a file upload page that has a maximum depth of 1 URL segments following the slug.
 * @param {string} pathname – e.g. window.location.pathname
 * @param {string} uploadId
 * @returns {string} e.g. "/form/upload-status/abc123"
 */
export function buildUploadStatusUrl(pathname: string, uploadId: string): string;
export function initFileUpload(): void;
export const MAX_POLLING_DURATION: 300;
