2025-09-05 14:59:21 +08:00

15 lines
482 B
TypeScript

import type { H3Event } from 'h3';
import type { ParsedContent, QueryBuilderWhere } from '@nuxt/content';
export declare function serverSearchContent(event: H3Event, filterQuery?: QueryBuilderWhere): Promise<ParsedContent[]>;
type Section = {
id: string;
title: string;
titles: string[];
level: number;
content: string;
};
export declare function splitPageIntoSections(page: ParsedContent, { ignoredTags }: {
ignoredTags: string[];
}): Section[];
export {};