import type GridRange from './GridRange'; import type GridModel from './GridModel'; export declare function isDeletableGridModel(model: GridModel): model is DeletableGridModel; export declare function assertIsDeletableGridModel(model: GridModel): asserts model is DeletableGridModel; /** * Model for a deletable grid */ export interface DeletableGridModel extends GridModel { /** Whether this model is deletable or not */ isDeletable: boolean; /** * Check if a given range is deletable * @param range The range to check if it is deletable * @returns True if the range is deletable */ isDeletableRange: (range: GridRange) => boolean; /** * Check if an array of ranges are deletable * @param ranges The ranges to check if they are deletable * @returns True if the ranges are deletable */ isDeletableRanges: (ranges: readonly GridRange[]) => boolean; /** * Delete ranges from an input grid. * @param ranges The ranges to delete * @returns A promise that resolves successfully when the operation is complete or rejects if there's an error */ delete: (ranges: readonly GridRange[]) => Promise; } export default DeletableGridModel; //# sourceMappingURL=DeletableGridModel.d.ts.map