import type { QueryRange } from "../../index.js";
import type { OrderByContinuationFilter } from "./CompositeQueryContinuationToken.js";
/**
 * Represents information about a partition range update that occurred during query execution.
 * This includes the original range, new ranges after split/merge, and the continuation token.
 * @hidden
 */
export interface PartitionRangeUpdate {
    /** The original partition key range before the split/merge operation */
    oldRange: QueryRange;
    /** The new partition key ranges after the split/merge operation */
    newRanges: QueryRange[];
    /** The continuation token associated with this range update */
    continuationToken: string | undefined;
    /** Whether replacement ranges still have work to resume */
    isActive?: boolean;
    /** Whether replacement ranges inherit the global ORDER BY checkpoint */
    isOrderByCheckpoint?: boolean;
    /** ORDER BY post-fetch state inherited by replacement ranges */
    orderByFilter?: OrderByContinuationFilter;
}
/**
 * A collection of partition range updates indexed by range keys.
 * The key is typically in the format "minInclusive-maxExclusive".
 * @hidden
 */
export type PartitionRangeUpdates = Record<string, PartitionRangeUpdate>;
//# sourceMappingURL=PartitionRangeUpdate.d.ts.map