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 { FindOptions, Resource, ResourceStateBase } from '@struktoai/mirage-core/resource/base'; import { PathSpec } from '@struktoai/mirage-core/types'; import type { FileStat } from '@struktoai/mirage-core/types'; import type { HfAccessor } from '../../accessor/hf.ts'; import { type DeltaHook } from '@struktoai/mirage-core/watch/index'; export declare abstract class HfResource extends BaseResource implements Resource { abstract readonly prompt: string; abstract readonly accessor: HfAccessor; abstract getState(): Promise; readonly cachesReads: boolean; readonly sizesAlwaysKnown: boolean; readonly supportsSnapshot: boolean; readonly opsMap: Record; open(): Promise; commands(): readonly RegisteredCommand[]; ops(): readonly RegisteredOp[]; streamPath(p: PathSpec): AsyncIterable; readFile(p: PathSpec): Promise; writeFile(p: PathSpec, data: Uint8Array): Promise; readdir(p: PathSpec): Promise; stat(p: PathSpec): Promise; exists(p: PathSpec): Promise; mkdir(p: PathSpec): Promise; unlink(p: PathSpec): Promise; du(p: PathSpec): Promise; find(p: PathSpec, options?: FindOptions): Promise; deltaHook(): DeltaHook; glob(paths: readonly PathSpec[], prefix?: string): Promise; loadState(_state: unknown): Promise; } //# sourceMappingURL=base.d.ts.map