import type { ChildPageNode, UnpublishChildPages } from './unpublishChildPages.js'; export type RowState = 'checked' | 'mixed' | 'unchecked'; /** The live pages a row's box covers: its own page, when live, and every live page below it. */ export declare function rowIds(node: ChildPageNode, idsByPath: Readonly>): string[]; export declare function rowState(ids: readonly string[], ticked: ReadonlySet): RowState; /** A checked box unticks every page it covers; an unchecked or mixed one ticks them all. */ export declare function toggleIds(ids: readonly string[], ticked: ReadonlySet): Set; /** The addresses of the ticked child pages; `paths` and `ids` list the same pages in the same order. */ export declare function tickedChildPaths(childPages: UnpublishChildPages, ticked: ReadonlySet): string[];