import { Page, LaunchOptions, PDFOptions, CommandOptions } from '@condorhero/vuepress-plugin-export-pdf-core'; import { Theme, Bundler } from 'vuepress'; type UserSorter = (a: Page, b: Page) => number; /** * defined user config */ interface UserConfig { theme?: Theme; bundler?: Bundler; sorter?: UserSorter; puppeteerLaunchOptions?: LaunchOptions; routePatterns?: string[]; pdfOptions?: PDFOptions; outFile?: string; outDir?: string; pdfOutlines?: boolean; urlOrigin?: string; outlineContainerSelector?: string; } declare const moduleRequire: NodeRequire; declare function serverApp(dir?: string, commandOptions?: CommandOptions): Promise; /** * defineUserConfig is a function that defines the user config. * @param config - UserConfig * @returns config - UserConfig */ declare const defineUserConfig: (config: UserConfig) => UserConfig; export { type UserConfig, type UserSorter, defineUserConfig, moduleRequire, serverApp };