declare module 'private-next-rsc-action-encryption' { export function encryptActionBoundArgs( actionId: string, ...args: any[] ): Promise export function decryptActionBoundArgs( actionId: string, encryptedPromise: Promise ): Promise } declare module 'private-next-rsc-server-reference' { export function registerServerReference any>( reference: T, id: string, exportName: string | null ): T } declare module 'private-next-rsc-action-client-wrapper' { export function callServer( actionId: string, actionArgs: unknown[] ): Promise export function findSourceMapURL(filename: string): string | null const createServerReference: ( id: string, callServer: any, encodeFormAction?: any, findSourceMapURL?: any, functionName?: string ) => (...args: unknown[]) => Promise } declare module 'private-next-rsc-action-validate' { function ensureServerEntryExports(actions: unknown[]): void } declare module 'private-next-rsc-cache-wrapper' { export function cache Promise>( kind: string, id: string, boundArgsLength: number, fn: TFn ): TFn }