import type { GoogleConfig } from '../../../../core/google/config.ts'; import type { CommandFnResult } from '../../../config.ts'; import { CLISpec } from '../../types.ts'; import type { CLIInvocation } from '../../types.ts'; import type { GwsMethod, GwsService } from './methods.ts'; export declare function fillPath(template: string, params: Record): [string, Record]; export declare function runGwsMethod(method: GwsMethod, inv: CLIInvocation): Promise; /** * 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): CLISpec[]; //# sourceMappingURL=api.d.ts.map