import { DropboxAccessor } from '@struktoai/mirage-core/accessor/dropbox'; 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 { PathSpec } from '@struktoai/mirage-core/types'; import type { FileStat } from '@struktoai/mirage-core/types'; import { type DropboxConfig, type DropboxConfigRedacted } from './config.ts'; import { type DeltaHook } from '@struktoai/mirage-core/watch/index'; export interface DropboxResourceState { type: string; config: DropboxConfigRedacted; } export declare class DropboxResource extends BaseResource implements Resource { readonly kind: string; readonly cachesReads: boolean; readonly sizesAlwaysKnown: boolean; readonly indexTtl: number; readonly prompt: string; readonly config: DropboxConfig; readonly accessor: DropboxAccessor; constructor(config: DropboxConfig); open(): Promise; commands(): readonly RegisteredCommand[]; ops(): readonly RegisteredOp[]; readFile(p: PathSpec): Promise; readdir(p: PathSpec): Promise; stat(p: PathSpec): Promise; glob(paths: readonly PathSpec[], prefix?: string): Promise; deltaHook(): DeltaHook; getState(): Promise; loadState(_state: DropboxResourceState): Promise; } //# sourceMappingURL=dropbox.d.ts.map