import { IApi } from '../../types'; export declare function getApiRoutes(opts: { api: IApi; }): Promise; export declare function getRoutes(opts: { api: IApi; }): Promise>; export declare function getRouteComponents(opts: { routes: Record; prefix: string; api: IApi; }): Promise; /** * * transform component into webpack chunkName * @export * @param {string} component component path * @param {string} [cwd] current root path * @return {*} {string} */ export declare function componentToChunkName(component: string, cwd?: string): string;