/** * @typedef {import('../types.js').DriverAsync} DriverAsync * @typedef {import('../types.js').KvKey} KvKey */ /** * @param {unknown} data */ export function serialize(data: unknown): string; /** * @param {unknown} data */ export function deserialize(data: unknown): any; /** * @class * @implements {DriverAsync} */ export class SqlDriver implements DriverAsync { /** * @param {import('kysely').KyselyConfig & { name: string}} config */ constructor(config: import("kysely").KyselyConfig & { name: string; }); name: string; db: Kysely>; set(key: string, value: unknown): Promise; /** * @param {string} key */ get(key: string): Promise; delete(key: string): Promise; has(key: string): Promise; clear(): Promise; /** * @template [Value=unknown] * @returns {AsyncIterableIterator<[string, Value]>} */ [Symbol.asyncIterator](): AsyncIterableIterator<[string, Value]>; #private; } export type DriverAsync = import("../types.js").DriverAsync; export type KvKey = import("../types.js").KvKey; import { Kysely } from 'kysely'; //# sourceMappingURL=sql.d.ts.map