/// import { exec } from 'child_process'; import { UserConfig, Json, SSRModule } from 'ssr-types'; declare const getCwd: () => string; declare const getFeDir: () => string; declare const getPagesDir: () => string; declare const cleanOutClientDir: () => void; declare const writeRoutes: (routes: string, name?: string) => Promise; declare const getWebpackSplitCache: () => Record boolean | undefined; priority: number; }> | { vendors: { test: (module: SSRModule) => false | "" | RegExpMatchArray | null | undefined; name: string; }; }; declare const checkContainsRev: (arr: string[], name: string) => boolean; declare const getSplitChunksOptions: (asyncChunkMap: { val: Record; }) => { minSize: number; maxAsyncRequests: number; maxInitialRequests: number; chunks: string; name(module: SSRModule, chunks: any, cacheGroupKey: string): string; cacheGroups: Record boolean | undefined; priority: number; }> | { vendors: { test: (module: SSRModule) => false | "" | RegExpMatchArray | null | undefined; name: string; }; }; }; declare const transformConfig: () => Promise; declare const cpManualRoutes: () => Promise; declare const getUserConfig: () => UserConfig; declare const cryptoAsyncChunkName: (chunks: Array<{ name: string; }>, asyncChunkMap: Record) => string; declare const isFaaS: (fun?: boolean) => Promise; declare const judgeFramework: () => "ssr-plugin-react" | "ssr-plugin-vue3" | "ssr-plugin-vue"; declare const judgeVersion: (version: string) => import("semver/classes/semver") | null; declare const judgeServerFramework: () => "ssr-plugin-midway" | "ssr-plugin-nestjs"; export declare const debounce: (func: Function, wait: number) => () => void; declare const loadModuleFromFramework: (path: string) => string; declare const processError: (err: any) => void; declare const accessFile: (file: string) => Promise; declare const accessFileSync: (file: string) => boolean; declare const copyReactContext: () => Promise; declare const execPromisify: typeof exec.__promisify__; declare const stringifyDefine: (obj: { [key: string]: Json; }) => void; export { getCwd, getFeDir, getPagesDir, getUserConfig, isFaaS, processError, accessFile, execPromisify, cryptoAsyncChunkName, copyReactContext, transformConfig, accessFileSync, judgeFramework, loadModuleFromFramework, cpManualRoutes, writeRoutes, stringifyDefine, judgeServerFramework, judgeVersion, getWebpackSplitCache, getSplitChunksOptions, cleanOutClientDir, checkContainsRev }; //# sourceMappingURL=cwd.d.ts.map