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