import { focusCell } from "./table-focus.js";
function getFirstCell(tableRef) {
    return tableRef.querySelector("td, th");
}
function focusInitialTableTarget(tableRef) {
    if (!tableRef) {
        return null;
    }
    const firstCell = getFirstCell(tableRef);
    return firstCell ? focusCell(firstCell) : null;
}
export { getFirstCell, focusInitialTableTarget };
//# sourceMappingURL=table-cell.js.map