import { WeftError } from './weft-error.ts'; export declare const SESSION_STATE_LOCAL_KEY = "stateSession"; export declare const MAX_SESSION_STATE_ENTRY_COUNT = 256; export declare const MAX_SESSION_STATE_KEY_LENGTH = 256; export declare const MAX_SESSION_STATE_SERIALIZED_BYTES: number; export declare class SessionStateValidationError extends WeftError<'SessionStateValidationError'> { constructor(message: string); } export declare function createSessionStateStore(): Record; export declare function hasSessionStateKey(store: Record, key: string): boolean; export declare function assertValidSessionStateKey(key: string): void; export declare function cloneSessionStateValue(value: T): T; export declare function cloneSessionStateStore(store: Record | undefined): Record | undefined; export declare function normalizeSessionStateRecord(value: unknown): Record | undefined; export declare function normalizeSessionStateLocals(locals: Record | undefined): Record | undefined; export declare function validateSessionStateStore(store: Record): void; export declare function validateSessionStateLocals(locals: Record): void;