import type { PontxManager } from "../manager.d.ts"; import type { CliContext } from "../cli-context.d.ts"; /** * Check if a spec has tags (i.e., any API keys contain "/") */ export declare function specHasTags(pontSpec: any): boolean; export declare function getApiMeta(pontxManager: PontxManager, specName: string, tagName: string, apiName: string, useRemote?: boolean): any; /** * Parse API path with support for both dot and slash separators * Supports quoted segments for special characters: * - petstore.pet.getPetById * - petstore.pet."get.pet.by.id" * - petstore."my-tag"."api/name" * - petstore/pet/getPetById (legacy format) * * When only one spec exists, specName can be omitted: * - pet.getPetById (when singleSpecName is provided and hasTags is true) * - getPetById (when singleSpecName is provided and hasTags is false) * * @param apiPath - API path string * @param singleSpecName - The spec name when there's only one spec (for auto-completion) * @param hasTags - Whether the single spec has tags (used to resolve ambiguity) */ export declare function parseApiPath(apiPath: string, singleSpecName?: string, hasTags?: boolean): { specName: string; tagName: string; apiName: string; }; /** * Show API command: display API metadata */ export declare function showApiCommand(managerOrContext: PontxManager | CliContext, apiPath: string, options?: { useRemote?: boolean; }): Promise;