import type { ItemSchema, ListSchema } from "../../types/schema/model"; import type { Position } from "../../types/state/position"; /** * Type guard for `ListSchema` objects. * * @param schema An `ItemSchema` object. * @returns A boolean indicating whether the `schema` is a `ListSchema` object. */ export declare function is(schema: ItemSchema): schema is ListSchema; /** * Returns the initial position for the given `ListSchema` object if there is an initial position, otherwise it returns `null`. * * @param schema A `ListSchema` object. * @returns A `Position` object representing the initial position, or `null` if there is no initial position. */ export declare function into(schema: ListSchema): Position | null; /** * Returns the next position for the given `ListSchema` object if there is a next position, otherwise it returns `null`. * * @param schema A `ListSchema` object. * @param position A `Position` object representing the current position. * @returns A `Position` object representing the next position, or `null` if there is no next position. */ export declare function next(schema: ListSchema, position: Position): Position | null; /** * Returns the `ItemSchema` object at the given position within the given `ListSchema` object. * * @param schema The `ListSchema` object. * @param position The position within the `ListSchema` object. * @returns The `ItemSchema` object at the given position within the `ListSchema` object. */ export declare function at(schema: ListSchema, position: Position): ItemSchema; //# sourceMappingURL=flow.list.d.ts.map