import { GeneratedFile, GeneratedFolder, ComponentUIDL, ProjectUIDL, ProjectStrategy, UIDLPageOptions, ComponentGenerator, ComponentPlugin, PostProcessor, Mapping, StyleVariation, GeneratorFactoryParams, UIDLRouteDefinitions } from '@teleporthq/teleport-types'; export declare const createPageUIDLs: (uidl: ProjectUIDL, strategy: ProjectStrategy) => ComponentUIDL[]; /** * A couple of different cases which need to be handled * In case of next/nuxt generators, the file names represent the urls of the pages * Also the root path needs to be represented by the index file */ export declare const extractPageOptions: (routeDefinitions: UIDLRouteDefinitions, routeName: string, useFileNameForNavigation?: boolean) => { pageOptions: UIDLPageOptions; isHomePage: boolean; }; export declare const prepareComponentOutputOptions: (components: Record, strategy: ProjectStrategy) => void; export declare const resolveLocalDependencies: (pageUIDLs: ComponentUIDL[], components: Record, strategy: ProjectStrategy) => void; export declare const fileFileAndReplaceContent: (files: GeneratedFile[], fileName: string, content: string) => GeneratedFile[]; export declare const generateExternalCSSImports: (uidl: ComponentUIDL) => Promise; export declare const injectFilesToPath: (rootFolder: GeneratedFolder, path: string[], files: GeneratedFile[]) => void; export declare const bootstrapGenerator: ({ generator, plugins, postprocessors, mappings, }: { generator: (params: GeneratorFactoryParams) => ComponentGenerator; plugins?: ComponentPlugin[]; postprocessors?: PostProcessor[]; mappings?: Mapping[]; }, style?: StyleVariation, strictHtmlWhitespaceSensitivity?: boolean) => ComponentGenerator; //# sourceMappingURL=utils.d.ts.map