/** * Google Maps Skill - Provides directions and place search via Google Maps APIs. * * Tier 3 built-in skill: requires GOOGLE_MAPS_API_KEY environment variable. * Uses Google Directions API for route information and Google Places API * for place search and discovery. */ import { SkillBase } from '../SkillBase.js'; import type { SkillToolDefinition, SkillPromptSection, SkillConfig, ParameterSchemaEntry } from '../SkillBase.js'; /** * Provides driving/walking/transit directions and place search via Google Maps APIs. * * Tier 3 built-in skill. Requires the `GOOGLE_MAPS_API_KEY` environment variable. * Supports a `default_mode` config option ("driving"|"walking"|"bicycling"|"transit"). * * @example * ```ts * agent.addSkill('google_maps', { default_mode: 'driving' }); * ``` */ export declare class GoogleMapsSkill extends SkillBase { static SKILL_NAME: string; static SKILL_DESCRIPTION: string; static SKILL_VERSION: string; static REQUIRED_PACKAGES: readonly string[]; static REQUIRED_ENV_VARS: readonly string[]; static getParameterSchema(): Record; /** * Fail-fast when GOOGLE_MAPS_API_KEY is not set, mirroring Python's * `setup()` validation. The env var is the only credential source for * this skill, so loading it without the key would produce runtime * errors on every tool call. * @returns `true` if the API key is present, `false` otherwise. */ setup(): Promise; /** @returns Speech recognition hints for maps/directions keywords. */ getHints(): string[]; /** @returns Two tools: `get_directions` for route info and `find_place` for place discovery. */ getTools(): SkillToolDefinition[]; /** @returns Prompt section describing directions and place search capabilities. */ protected _getPromptSections(): SkillPromptSection[]; } /** * Factory function for creating GoogleMapsSkill instances. * @param config - Optional skill configuration. * @returns A new GoogleMapsSkill instance. */ export declare function createSkill(config?: SkillConfig): GoogleMapsSkill;