Files
2025-07-19 19:59:04 +08:00

22 lines
841 B
TypeScript

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import type { LoadContext } from '@docusaurus/types';
import type { PagesContentPaths } from './types';
import type { PluginOptions, LoadedContent } from '@docusaurus/plugin-content-pages';
export declare function createPagesContentPaths({ context, options, }: {
context: LoadContext;
options: PluginOptions;
}): PagesContentPaths;
export declare function getContentPathList(contentPaths: PagesContentPaths): string[];
type LoadContentParams = {
context: LoadContext;
options: PluginOptions;
contentPaths: PagesContentPaths;
};
export declare function loadPagesContent(params: LoadContentParams): Promise<LoadedContent>;
export {};