bigblocks
Version:
Complete Bitcoin UI component library - authentication, social, wallet, market, inscriptions, and blockchain interactions for React
19 lines • 548 B
TypeScript
import type { StorageAdapter } from "../types.js";
interface CookieOptions {
domain?: string;
path?: string;
expires?: Date;
maxAge?: number;
secure?: boolean;
sameSite?: "strict" | "lax" | "none";
httpOnly?: boolean;
prefix?: string;
}
/**
* Cookie-based storage adapter
* Works in both browser and server environments
* Note: In browser, httpOnly cookies cannot be accessed
*/
export declare function createCookieStorage(options?: CookieOptions): StorageAdapter;
export {};
//# sourceMappingURL=cookie.d.ts.map