import { OneDriveAccessor, type OneDriveConfig, type OneDriveConfigRedacted } from '../../accessor/onedrive.ts'; import type { RegisteredOp } from '../../ops/registry.ts'; import { type FileStat, type PathSpec } from '../../types.ts'; import type { RegisteredCommand } from '../../commands/config.ts'; import { BaseResource, type Resource } from '../base.ts'; import type { DeltaHook } from '../../watch/base.ts'; export interface OneDriveResourceState { type: string; config: OneDriveConfigRedacted; } export declare class OneDriveResource extends BaseResource implements Resource { readonly kind: string; readonly cachesReads: boolean; readonly sizesAlwaysKnown: boolean; readonly supportsSnapshot: boolean; readonly indexTtl: number; readonly prompt: string; readonly accessor: OneDriveAccessor; private readonly config; constructor(config: OneDriveConfig); open(): Promise; commands(): readonly RegisteredCommand[]; ops(): readonly RegisteredOp[]; glob(paths: readonly PathSpec[], _prefix?: string): Promise; readFile(path: PathSpec): Promise; readdir(path: PathSpec): Promise; stat(path: PathSpec): Promise; deltaHook(): DeltaHook; getState(): OneDriveResourceState; loadState(_state: OneDriveResourceState): Promise; } //# sourceMappingURL=onedrive.d.ts.map