import type { GetServerSideProps } from "next"; import React from "react"; import SuperJSON from "superjson"; export type SuperJSONProps
= P & {
_superjson?: ReturnType (gssp: GetServerSideProps , exclude?: string[]): GetServerSideProps (serializedProps: SuperJSONProps ): P;
export declare function withSuperJSONPage (Page: React.ComponentType ): React.ComponentType (props: P): SuperJSONProps ;