import { LanceDBAccessor } from '@struktoai/mirage-core/accessor/lancedb'; import type { RegisteredCommand } from '@struktoai/mirage-core/commands/config'; import type { RegisteredOp } from '@struktoai/mirage-core/ops/registry'; import { BaseResource } from '@struktoai/mirage-core/resource/base'; import type { Resource } from '@struktoai/mirage-core/resource/base'; import type { LanceDBConfig, LanceDBConfigRedacted, LanceDBConfigResolved } from '@struktoai/mirage-core/resource/lancedb/config'; import type { FileStat, PathSpec } from '@struktoai/mirage-core/types'; import { LanceDBStore } from './store.ts'; export interface LanceDBResourceOptions { config: LanceDBConfig; } export interface LanceDBResourceState { type: string; config: LanceDBConfigRedacted; needs_override: true; } export declare class LanceDBResource extends BaseResource implements Resource { readonly kind: string; readonly cachesReads: boolean; readonly sizesAlwaysKnown: boolean; readonly indexTtl: number; readonly prompt: string; readonly config: LanceDBConfigResolved; readonly store: LanceDBStore; readonly accessor: LanceDBAccessor; constructor(options: LanceDBResourceOptions | LanceDBConfig); getState(): LanceDBResourceState; loadState(_state: LanceDBResourceState): Promise; open(): Promise; close(): Promise; ops(): readonly RegisteredOp[]; commands(): readonly RegisteredCommand[]; readFile(p: PathSpec): Promise; readdir(p: PathSpec): Promise; stat(p: PathSpec): Promise; } //# sourceMappingURL=lancedb.d.ts.map