UNPKG

@struktoai/mirage-core

Version:

A Unified Virtual Filesystem For AI Agents

18 lines • 1.05 kB
import { CommandSpec } from '../../../spec/types.ts'; import { CLIHandler } from '../../types.ts'; import type { GoogleApiAccessor } from '../../../../accessor/google_api.ts'; import type { CommandFnResult, Context } from '../../../config.ts'; import type { PathSpec } from '../../../../types.ts'; import type { GwsMethod, GwsService } from './methods.ts'; export declare function fillPath(template: string, params: Record<string, unknown>): [string, Record<string, unknown>]; export declare function runGwsMethod(method: GwsMethod, accessor: GoogleApiAccessor, _paths: PathSpec[], _texts: string[], ctx: Context): Promise<CommandFnResult>; /** * Build one service's passthrough subtree from the method table. * * Multi-word Discovery resources ("users messages attachments") become * nested groups, so `gws gmail users messages get` walks like any other * tree path. */ export declare function apiGroups(service: GwsService): CommandSpec[]; export declare function apiHandlers(): Record<string, CLIHandler>; //# sourceMappingURL=api.d.ts.map