import type { Request } from "express"; import type { IGatsbyPage } from "../redux/types"; export interface IServerData { headers?: Record; props?: Record; status?: number; } interface IModuleWithServerData { getServerData?: (args: { headers: Map; method: string; url: string; query?: Record; params?: Record; pageContext: Record; }) => Promise; } export declare function getServerData(req: Partial> | undefined, page: Pick, pagePath: string, mod: IModuleWithServerData | undefined): Promise; export {};