import type { DatabaseClient } from "@mailwoman/sqlite/client"; import { type SoilDatabase } from "#schema"; /** * Writes the touch table into the `soil_map_unit_cell` containment index. * * Only whole cells are compacted. * Most soil delineations are smaller than one index cell, so compaction removes few rows on this layer. */ export declare function resolveCells(database: DatabaseClient, indexResolution: number): { wholeRows: number; partialRows: number; resolutions: number[]; }; /** * Reduces the touch table into `soil_capability_cell`. * * It reads the touch table because `soil_map_unit_cell` is compacted. * A compacted parent cell hides the index cells that the reduction must answer. */ export declare function reduceCells(database: DatabaseClient, indexResolution: number, onProgress?: (message: string) => void): { cells: number; sampled: number; topClassUnderHalf: number; classless: number; unsampled: number; candidatePairs: number; }; //# sourceMappingURL=cell-tiers.d.ts.map