import type { Block, Paragraph, Table } from '../model.js'; /** Returns `items[index]`, failing the test with a clear message when it is missing. */ export declare function at(items: Readonly> | undefined, index: number): T; /** Returns the only element of a one-element array. */ export declare function only(items: readonly T[] | undefined): T; /** Returns the last element of a non-empty array. */ export declare function lastOf(items: readonly T[] | undefined): T; /** Narrows a defined value, failing with `what` when it is missing. */ export declare function must(value: T | null | undefined, what?: string): T; /** Narrows a block to a paragraph. */ export declare function expectParagraph(block: Block | undefined): Paragraph; /** Narrows a block to a table. */ export declare function expectTable(block: Block | undefined): Table; //# sourceMappingURL=access.d.ts.map