/**
* Apimatic APILib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { ApiResponse, FileWrapper, RequestOptions } from '../core.js';
import { ContentType } from '../models/contentType.js';
import { ValidateApiResult } from '../models/validateApiResult.js';
import { BaseController } from './baseController.js';
export declare class ApiValidationV2ExternalApisController 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
*/
validateApiViaFileV2(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 url The URL for the API specification file.
**Note:** This URL should be publicly
* accessible.
* @return Response from the API call
*/
validateApiViaUrlV2(url: string, requestOptions?: RequestOptions): Promise>;
}
//# sourceMappingURL=apiValidationV2ExternalApisController.d.ts.map