import { GmailAccessor } from '@struktoai/mirage-core/accessor/gmail'; 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 GmailConfig, type GmailConfigRedacted } from '@struktoai/mirage-core/resource/gmail/config'; export interface GmailResourceState { type: string; config: GmailConfigRedacted; } export declare class GmailResource extends BaseResource implements Resource { readonly kind: string; readonly cachesReads: boolean; readonly sizesAlwaysKnown: boolean; readonly indexTtl: number; readonly prompt: string; readonly writePrompt: string; readonly config: GmailConfig; readonly accessor: GmailAccessor; constructor(config: GmailConfig); 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; getState(): Promise; loadState(_state: GmailResourceState): Promise; } //# sourceMappingURL=gmail.d.ts.map