Files
scrap/node_modules/next/dist/server/app-render/action-utils.d.ts
2024-09-24 03:52:46 +00:00

11 lines
550 B
TypeScript

import type { ActionManifest } from '../../build/webpack/plugins/flight-client-entry-plugin';
export declare function createServerModuleMap({ serverActionsManifest, pageName, }: {
serverActionsManifest: ActionManifest;
pageName: string;
}): {};
/**
* Checks if the requested action has a worker for the current page.
* If not, it returns the first worker that has a handler for the action.
*/
export declare function selectWorkerForForwarding(actionId: string, pageName: string, serverActionsManifest: ActionManifest): string | undefined;