export type Cookie = any;

export interface CookieGetOptions {
  doNotParse?: boolean;
}

export interface CookieSetOptions {
  path?: string;
  expires?: Date;
  maxAge?: number;
  domain?: string;
  secure?: boolean;
  httpOnly?: boolean;
}
export interface CookieChangeOptions {
  name: string;
  value?: any,
  options?: CookieSetOptions
}

export type CookieChangeListener = (options: CookieChangeOptions) => void;
export type Cookie = any;

export interface CookieGetOptions {
  doNotParse?: boolean;
}

export interface CookieSetOptions {
  path?: string;
  expires?: Date;
  maxAge?: number;
  domain?: string;
  secure?: boolean;
  httpOnly?: boolean;
  sameSite?: boolean | string;
}
export interface CookieChangeOptions {
  name: string;
  value?: any,
  options?: CookieSetOptions
}

export type CookieChangeListener = (options: CookieChangeOptions) => void;

Add sameSite attribute for cookies
Add sameSite attribute for cookies