/** * @param {object} options * @param {string} options.outputFileContent * @param {ComponentStrings} options.componentStrings * @returns {ComponentsWithStrategy} */ export function getComponentsWithStrategy({ outputFileContent, componentStrings }: { outputFileContent: string; componentStrings: ComponentStrings; }): ComponentsWithStrategy; export class RocketHeader { /** * * @param {Object} options * @param {String} options.sourceFilePath * @param {String} options.inputDir * @param {number} options.longFileHeaderWidth * @param {String} options.longFileHeaderComment */ constructor({ sourceFilePath, inputDir, longFileHeaderWidth, longFileHeaderComment }: { sourceFilePath: string; inputDir: string; longFileHeaderWidth: number; longFileHeaderComment: string; }); /** @type {String[]} */ dataCascade: string[]; /** @type {String[]} */ componentDefinitions: string[]; sourceFileContent: string; sourceFilePath: string; inputDir: string; longFileHeaderWidth: number; longFileHeaderComment: string; /** * @param {string} sourceFileContent */ setSourceFileContent(sourceFileContent: string): void; getSourceFileContent(): Promise; syncDataCascade(): Promise; _syncDataCascade(): Promise; getContentWithoutHeader(): Promise; set(): Promise; header: string | undefined; updatedSourceFileContent: string | undefined; /** * @returns {Promise<{ needsAnotherRenderingPass: boolean }>} */ save(): Promise<{ needsAnotherRenderingPass: boolean; }>; /** * @param {string} fileHeader * @returns {string} */ addLongFileHeaderComments(fileHeader: string): string; /** * @param {Object} options * @param {String} options.outputFileContent * @param {String} options.outputFilePath * @param {String} options.openGraphHtml * @param {ComponentStrings} options.componentStrings * @returns {Promise<{ needsAnotherRenderingPass: boolean }>} */ syncComponents(options: { outputFileContent: string; outputFilePath: string; openGraphHtml: string; componentStrings: ComponentStrings; }): Promise<{ needsAnotherRenderingPass: boolean; }>; /** * @param {Object} options * @param {String} options.outputFileContent * @param {String} options.outputFilePath * @param {String} options.openGraphHtml * @param {ComponentStrings} options.componentStrings * @returns {Promise<{ needsAnotherRenderingPass: boolean }>} */ _syncComponents({ outputFileContent, outputFilePath, componentStrings, openGraphHtml }: { outputFileContent: string; outputFilePath: string; openGraphHtml: string; componentStrings: ComponentStrings; }): Promise<{ needsAnotherRenderingPass: boolean; }>; /** * @param {Object} options * @param {String} options.outputFilePath * @param {ComponentsWithStrategy} options.componentsWithStrategy * @returns {Promise} */ saveHydrationFile({ outputFilePath, componentsWithStrategy }: { outputFilePath: string; componentsWithStrategy: ComponentsWithStrategy; }): Promise; } export type Text = import('sax-wasm').Text; export type Tag = import('sax-wasm').Tag; export type Position = import('sax-wasm').Position; export type Page = import('../../types/menu.js').Page; export type ComponentStrings = import('../../types/main.js').ComponentStrings; export type ComponentsWithStrategy = { [tagName: string]: { strategy: string; importString: string; }; }; //# sourceMappingURL=RocketHeader.d.ts.map