import { Transform } from 'node:stream'; import type { Stats } from '../types.ts'; import type { GetItemContext, GetListPageContext } from './context.ts'; import type { PathItem, PathItemContext, RouteContext } from './types.ts'; export declare function readPageBuffer(buffer: PathItem[], last: boolean): PathItemContext; export declare function createItemRenderArgs(routeContext: RouteContext, getItemContext: GetItemContext, stats: Stats): Transform; export declare function createListRenderArgs(routeContext: RouteContext, getListPageContext: GetListPageContext): Transform;