import type { SetupContext } from 'vue';
import type { PrimaryTableCol, RowEventContext, TableExpandedRowParams, TableRowData, TdPrimaryTableProps } from '../type';
export default function useRowExpand(props: TdPrimaryTableProps, context: SetupContext): {
    showExpandedRow: import("vue").ComputedRef<boolean>;
    showExpandIconColumn: import("vue").ComputedRef<boolean>;
    getExpandColumn: () => PrimaryTableCol<TableRowData>;
    renderExpandedRow: (p: TableExpandedRowParams<TableRowData> & {
        tableWidth: number;
        isWidthOverflow: boolean;
    }) => JSX.Element;
    onInnerExpandRowClick: (p: RowEventContext<TableRowData>) => void;
};
