import { NDArrayInt32 } from "../ndarray/NDArray";
export interface NativeIndexMap {
    f: any;
    keptIds: any;
}
/**
 * Maps old indices to new indices after cleaning/reindexing.
 *
 * Returned by operations that remove or deduplicate elements.
 * Use `f` to remap old IDs and `keptIds` to extract surviving elements.
 */
export declare class IndexMap {
    /** Forward map: f[oldId] = newId (size = original count). */
    readonly f: NDArrayInt32;
    /** Original IDs that were retained (size = kept count). */
    readonly keptIds: NDArrayInt32;
    /** @internal */
    constructor(raw: NativeIndexMap);
    /** Release WASM memory for both arrays. */
    delete(): void;
}
//# sourceMappingURL=IndexMap.d.ts.map