import { GDriveAccessor } from '@struktoai/mirage-core/accessor/gdrive'; 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 GDriveConfig, type GDriveConfigRedacted } from '@struktoai/mirage-core/resource/gdrive/config'; import { type DeltaHook } from '@struktoai/mirage-core/watch/index'; export interface GDriveResourceState { type: string; config: GDriveConfigRedacted; } export declare class GDriveResource extends BaseResource implements Resource { readonly kind: string; readonly cachesReads: boolean; readonly supportsSnapshot: boolean; readonly indexTtl: number; readonly prompt: string; readonly config: GDriveConfig; readonly accessor: GDriveAccessor; constructor(config: GDriveConfig); 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: GDriveResourceState): Promise; } //# sourceMappingURL=gdrive.d.ts.map