import { ApiBase } from './ApiBase';
import { ActionColumnInternalApi } from '../Internal/ActionColumnInternalApi';
export class ActionColumnApiImpl extends ApiBase {
    constructor(_adaptable) {
        super(_adaptable);
        this.internalApi = new ActionColumnInternalApi(_adaptable);
    }
    getActionColumns() {
        return this.getActionColumnOptions().actionColumns ?? [];
    }
    getActionColumnForColumnId(columnId) {
        return this.getActionColumns().find((ac) => ac.columnId === columnId);
    }
}
