rag-context-optimizer / frontend /node_modules /next /dist /server /app-render /create-component-styles-and-scripts.d.ts
NITISHRG15102007's picture
Finalize submission checks and long inference output format
fea495a verified
import React from 'react';
import type { AppRenderContext } from './app-render';
export declare function createComponentStylesAndScripts({ filePath, getComponent, injectedCSS, injectedJS, ctx, }: {
filePath: string;
getComponent: () => any;
injectedCSS: Set<string>;
injectedJS: Set<string>;
ctx: AppRenderContext;
}): Promise<[React.ComponentType<any>, React.ReactNode, React.ReactNode]>;