import { Chunk } from "../../index.js";
import { PageData } from "./crawl.js";
export type ArticleComponent = {
    title: string;
    body: string;
};
export type Article = {
    url: string;
    subpath: string;
    title: string;
    article_components: ArticleComponent[];
};
export declare function chunkArticle(articleResult: Article): Chunk[];
export declare function stringToArticle(url: string, html: string, subpath: string): Article | undefined;
export declare function pageToArticle(page: PageData): Article | undefined;
//# sourceMappingURL=article.d.ts.map