import { c as CascadeListInput, d as CascadeListOutput } from './events-CjS-sm0W.js';

/**
 * @see sites/www-docs/content/packages/@openhi/constructs/workflows/control-plane/owning-delete-cascade/list-chunks-handler.md
 *
 * Cascade Step Functions handler that queries one page of child
 * projection rows under the owning entity's partition and bundles the
 * results into \<=100-item chunks for the downstream inline Map state.
 *
 * One invocation per outer-loop iteration:
 *
 * 1. Calls `listOwningChildProjectionsOperation` with the per-entity
 *    cursor map from the prior iteration (`{}` on the first call).
 * 2. Splits the merged page into chunks via `chunkOwningChildRows`.
 * 3. Stamps each chunk with a deterministic `chunkToken` so a replayed
 *    Map iteration lands idempotently via `executeMultiWrite`'s
 *    `ClientRequestToken` forwarding.
 * 4. Returns the chunks, the new cursors, and the cumulative metrics
 *    so the state machine's outer `Choice` knows when to stop.
 *
 * The handler itself NEVER touches the canonical owning record; it
 * only reads child projections. The finalize step owns the canonical
 * delete.
 */

declare const handler: (input: CascadeListInput) => Promise<CascadeListOutput>;

export { handler };
