Neah/node_modules/next/dist/build/webpack/plugins/rspack-flight-client-entry-plugin.d.ts
2025-04-24 17:19:14 +02:00

37 lines
789 B
TypeScript

import type { Compiler } from '@rspack/core';
type Actions = {
[actionId: string]: {
workers: {
[name: string]: {
moduleId: string | number;
async: boolean;
};
};
layer: {
[name: string]: string;
};
};
};
export type ActionManifest = {
encryptionKey: string;
node: Actions;
edge: Actions;
};
export interface ModuleInfo {
moduleId: string | number;
async: boolean;
}
interface Options {
dev: boolean;
appDir: string;
isEdgeServer: boolean;
encryptionKey: string;
}
export declare class RspackFlightClientEntryPlugin {
plugin: any;
compiler?: Compiler;
constructor(options: Options);
apply(compiler: Compiler): void;
}
export {};