import { RpgMemoryRoomStorageProvider, RpgMemoryStorageOptions, RpgRoomStorageProvider, RpgSqliteStorageOptions } from './types'; /** * Create an in-memory room storage provider for the Node.js RPGJS adapter. * * Data belongs to the current Node.js process and can be exported with * `snapshot()` when an application needs to preserve it explicitly. * * @param options - Optional snapshot used to initialize the provider. * @returns An RPGJS-owned in-memory room storage provider. * * @example * ```ts * const storage = createMemoryNodeRoomStorage() * const transport = createRpgServerTransport(Server, { storage }) * ``` */ export declare function createMemoryNodeRoomStorage(options?: RpgMemoryStorageOptions): RpgMemoryRoomStorageProvider; /** * Create a persistent SQLite room storage provider for the Node.js RPGJS adapter. * * Pass exactly one database source: `databasePath` to let RPGJS own the * connection, or `database` to reuse a connection owned by the application. * * @param options - Exactly one database source and optional SQLite tuning. * @returns An RPGJS-owned persistent room storage provider. * * @example * ```ts * const storage = createSqliteNodeRoomStorage({ * databasePath: './data/rooms.sqlite' * }) * ``` */ export declare function createSqliteNodeRoomStorage(options: RpgSqliteStorageOptions): RpgRoomStorageProvider;