/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { PrimaryKey } from '@mikro-orm/core'; import { Event } from '../../events/event.js'; export declare const SCHEMA_VERSION_KEY = "schema_version"; export declare const SCHEMA_VERSION_1_JSON = "1"; export declare const STORAGE_KEY_COLUMN_LENGTH = 191; export declare class StorageMetadata { key: string; value: string; } export declare class StorageAppState { appName: string; state: Record; updateTime: Date; } export declare class StorageUserState { [PrimaryKey.name]?: [string, string] | undefined; appName: string; userId: string; state: Record; updateTime: Date; } export declare class StorageSession { [PrimaryKey.name]?: [string, string, string] | undefined; id: string; appName: string; userId: string; state: Record; createTime: Date; updateTime: Date; } export declare class StorageEvent { [PrimaryKey.name]?: [string, string, string, string] | undefined; id: string; appName: string; userId: string; sessionId: string; invocationId: string; timestamp: Date; eventData: Event; } export declare const ENTITIES: (typeof StorageMetadata | typeof StorageAppState | typeof StorageEvent)[];