UNPKG

@prismicio/client

Version:

The official JavaScript + TypeScript client library for Prismic

10 lines (9 loc) 294 B
/** * Returns the value of a cookie from a given cookie store. * * @param cookieJar - The stringified cookie store from which to read the * cookie. * * @returns The value of the cookie, if it exists. */ export declare const getPreviewCookie: (cookieJar: string) => string | undefined;