UNPKG

@struktoai/mirage-core

Version:

A Unified Virtual Filesystem For AI Agents

17 lines • 656 B
import { TokenAccessor } from './base.ts'; import type { DropboxTokenManager } from '../core/dropbox/client.ts'; /** * Normalize a subfolder-mount root to the Dropbox API convention: * `''` for the account root (the API rejects `'/'`), otherwise * `/seg/seg` with no trailing slash. */ export declare function normalizeDropboxRootPath(value: string | undefined): string; export declare class DropboxAccessor extends TokenAccessor { readonly tokenManager: DropboxTokenManager; readonly rootPath: string; constructor(opts: { tokenManager: DropboxTokenManager; rootPath?: string; }); } //# sourceMappingURL=dropbox.d.ts.map