import React from 'react'; import type { TableNode } from '../../../types/Table'; import type { ColWidthValue } from './getTableColWidths'; export interface UseReadonlyTableColWidthsParams { columnCount: number; otherProps?: { colWidths?: ColWidthValue[]; } | null; containerRef: React.RefObject; tableRef: React.RefObject; element?: TableNode | null; } export declare function useReadonlyTableColWidths({ columnCount, otherProps, containerRef, tableRef, element, }: UseReadonlyTableColWidthsParams): ColWidthValue[];