next
Version:
The React Framework
10 lines (9 loc) • 524 B
TypeScript
import type { ClientReferenceManifest, CssResource } from '../../build/webpack/plugins/flight-manifest-plugin';
import type { DeepReadonly } from '../../shared/lib/deep-readonly';
/**
* Get external stylesheet link hrefs based on server CSS manifest.
*/
export declare function getLinkAndScriptTags(clientReferenceManifest: DeepReadonly<ClientReferenceManifest>, filePath: string, injectedCSS: Set<string>, injectedScripts: Set<string>, collectNewImports?: boolean): {
styles: CssResource[];
scripts: string[];
};