/** * Apimatic APILib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { ApiResponse, FileWrapper, RequestOptions } from '../core.js'; import { ApiValidationSummary } from '../models/apiValidationSummary.js'; import { ContentType } from '../models/contentType.js'; import { BaseController } from './baseController.js'; export declare class ApiValidationExternalApisController extends BaseController { /** * Validate an API by uploading the API specification file. * * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while * validating the API using this endpoint. When specifying Metadata, the uploaded file will be a zip * file containing the API specification file and the `APIMATIC-META` json file. * * @param contentType * @param file The API specification file.
The type of the specification file should be * any of the [supported formats](https://docs.apimatic.io/api- * transformer/overview-transformer#supported-input-formats). * @return Response from the API call */ validateApiViaFile(contentType: ContentType, file: FileWrapper, requestOptions?: RequestOptions): Promise>; /** * Validate an API by providing the URL of the API specification file. * * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while * validating the API using this endpoint. When specifying Metadata, the URL provided will be that of a * zip file containing the API specification file and the `APIMATIC-META` json file. * * @param descriptionUrl The URL for the API specification file.

**Note:** This URL should be * publicly accessible. * @return Response from the API call */ validateApiViaUrl(descriptionUrl: string, requestOptions?: RequestOptions): Promise>; } //# sourceMappingURL=apiValidationExternalApisController.d.ts.map