/** * Calculates the final widths for each column given the column widths and table width. * @param columnWidthsSDC Array of column widths from http://hl7.org/fhir/uv/sdc/StructureDefinition-sdc-questionnaire-width.html (string or undefined) * @param tableWidth Table width in px * @returns Array of calculated column widths (in px or %) * * @example * columnWidthsSDC: [undefined, "400px", undefined] * tableWidth: 1200 (Comes from tableContainerRef.current.offsetWidth) * output: [ * { * "width": "325px", * "isFixed": true * }, * { * "width": "550px", * "isFixed": true * }, * { * "width": "325px", * "isFixed": true * } * ] */ export declare function calculateColumnWidths(columnWidthsSDC: (string | undefined)[], tableWidth: number): { width: string; isFixed: boolean; }[];