import { ChromaAccessor } from '../../accessor/chroma.ts'; import type { RegisteredCommand } from '../../commands/config.ts'; import type { RegisteredOp } from '../../ops/registry.ts'; import { type FileStat, type PathSpec } from '../../types.ts'; import { BaseResource, type Resource } from '../base.ts'; import { type ChromaConfigRedacted, type ChromaConfig, type ChromaConfigResolved } from './config.ts'; export interface ChromaResourceOptions { config: ChromaConfig; } export interface ChromaResourceState { type: string; config: ChromaConfigRedacted; needs_override: true; } export declare class ChromaResource extends BaseResource implements Resource { readonly kind: string; readonly cachesReads: boolean; readonly supportsSnapshot: boolean; readonly sizesAlwaysKnown: boolean; readonly prompt: string; readonly config: ChromaConfigResolved; readonly accessor: ChromaAccessor; constructor(options: ChromaResourceOptions | ChromaConfig); getState(): ChromaResourceState; loadState(_state: ChromaResourceState): Promise; open(): Promise; ops(): readonly RegisteredOp[]; commands(): readonly RegisteredCommand[]; glob(paths: readonly PathSpec[], _prefix?: string): Promise; readFile(p: PathSpec): Promise; readdir(p: PathSpec): Promise; stat(p: PathSpec): Promise; } //# sourceMappingURL=chroma.d.ts.map