export declare namespace YaoApi { interface API { id: string; name: string; source: string; type: string; http: HTTP; } interface HTTP { name: string; version: string; description?: string; group?: string; guard?: string; paths?: Path[]; } interface Path { label?: string; description?: string; path: string; method: string; process: string; guard?: string; in?: string[]; out?: Out; } interface Out { status: number; type?: string; body?: any; headers?: { [key: string]: string; }; redirect?: Redirect; } interface Redirect { code?: number; location?: string; } }