/// declare class CookieValuePrefix { /** * Create a new cookie value prefix for the given cookie name. */ static create(cookieName: string, key: Buffer): string; /** * Validate a cookie value contains a valid prefix. If it does, return the cookie value with the prefix removed. Otherwise, return null. */ static validate(cookieName: string, cookieValue: string, key: Buffer): string | null; /** * Remove the cookie value prefix. */ static remove(cookieValue: string): string; } export default CookieValuePrefix;