import type { GetServerSideProps } from "next"; import React from "react"; import SuperJSON from "superjson"; export type SuperJSONProps

= P & { _superjson?: ReturnType["meta"]; }; export declare function withSuperJSONProps

(gssp: GetServerSideProps

, exclude?: string[]): GetServerSideProps>; export declare function withSuperJSONInitProps(gip: any, exclude?: string[]): any; export declare function deserializeProps

(serializedProps: SuperJSONProps

): P; export declare function withSuperJSONPage

(Page: React.ComponentType

): React.ComponentType>; export declare function serialize

(props: P): SuperJSONProps

;