UNPKG

@ninetailed/experience.js-plugin-ssr

Version:
10 lines (9 loc) 417 B
import { NinetailedApiClient, NinetailedRequestContext, Profile } from '@ninetailed/experience.js-shared'; type Cookies = Record<string, string>; type GetServerSideProfileOptions = { ctx: NinetailedRequestContext; cookies: Cookies; client: NinetailedApiClient; }; export declare const getServerSideProfile: ({ ctx, cookies, client, }: GetServerSideProfileOptions) => Promise<Profile>; export {};