import { type SagaIterator } from "redux-saga";
import { type IRemoveSectionItem, type IRemoveSectionItemByWidgetRef } from "../../commands/layout.js";
import { selectLayout } from "../../store/tabs/layout/layoutSelectors.js";
import { type DashboardContext } from "../../types/commonTypes.js";
type RemoveSectionItemContext = {
    readonly ctx: DashboardContext;
    readonly cmd: Omit<IRemoveSectionItem, "type">;
    originalCmd: IRemoveSectionItem | IRemoveSectionItemByWidgetRef;
    readonly layout: ReturnType<typeof selectLayout>;
};
export declare function removeSectionItemHandler(ctx: DashboardContext, cmd: IRemoveSectionItem): SagaIterator<void>;
export declare function removeSectionItemSaga(ctx: DashboardContext, cmd: IRemoveSectionItem | RemoveSectionItemContext["cmd"], originalCmd?: IRemoveSectionItemByWidgetRef): SagaIterator<void>;
export {};
//# sourceMappingURL=removeSectionItemHandler.d.ts.map