17 lines
701 B
TypeScript
17 lines
701 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 { PluginContentLoadedActions, RouteConfig } from '@docusaurus/types';
|
|
import type { PluginOptions, LoadedContent } from '@docusaurus/plugin-content-pages';
|
|
type CreateAllRoutesParam = {
|
|
content: LoadedContent;
|
|
options: PluginOptions;
|
|
actions: PluginContentLoadedActions;
|
|
};
|
|
export declare function createAllRoutes(param: CreateAllRoutesParam): Promise<void>;
|
|
export declare function buildAllRoutes({ content, actions, options, }: CreateAllRoutesParam): Promise<RouteConfig[]>;
|
|
export {};
|