import { ISQLiteAPI } from "../sqlite/type.js"; export type IKvIndex = { type?: string; unique?: boolean; } | boolean; export interface IKvDefineIndexesOptions { /** 是否强制重新创建索引,默认 false */ force?: boolean; /** 索引所在的列名,默认 'data' * KvliteArray 使用 value 列存储元素值 * KvliteCollection 使用 data 列存储键值 */ columnName?: string; } /** * 为一个 SQLite 表定义 JSON 索引 */ export declare function defineIndexes(sqlite: ISQLiteAPI, collectionName: string, indexes: { [field: string]: IKvIndex; }, options?: IKvDefineIndexesOptions): void; //# sourceMappingURL=defineIndexes.d.ts.map