/// <reference types="node" />
import type { IncomingMessage } from 'http';
import type { BaseNextRequest } from '../base-http';
export declare function getServerActionRequestMetadata(req: IncomingMessage | BaseNextRequest): {
    actionId: string | null;
    isURLEncodedAction: boolean;
    isMultipartAction: boolean;
    isFetchAction: boolean;
};
export declare function getIsServerAction(req: IncomingMessage | BaseNextRequest): boolean;
