import cookieSignature from "cookie-signature" ; import type { InternalSignFunctionDoNotUseMe , InternalUnsignFunctionDoNotUseMe } from "@remix-run/server-runtime/cookieSigning" ; export const sign = async ( value , secret ) => { return cookieSignature . sign ( value , secret ) ; } ; export const unsign = async ( signed , secret ) => { return cookieSignature . unsign ( signed , secret ) ; } ;