import { WistiaCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js"; import * as errors from "../models/errors/index.js"; import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import { WistiaError } from "../models/errors/wistiaerror.js"; import * as operations from "../models/operations/index.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Import Media from URL * * @remarks * This endpoint imports a media file from a given URL. The import is processed * asynchronously and will return a background_job_status object rather than the * typical Media response object. You can poll the background job status endpoint * to check on the progress of the import. * * If no folder_id is provided, a new folder called "Untitled Folder" will be * created and the imported media will be placed there. * * The URL must be publicly accessible — Wistia's servers need to be able to fetch the file directly. * * Note: imports from certain domains (e.g. vimeo.com, wistia.com) are not permitted. * * * ## Requires api token with one of the following permissions * ``` * Read, update & delete anything * ``` * */ export declare function mediaPostMediasImportUrl(client: WistiaCore, request?: operations.PostMediasImportUrlRequest | undefined, options?: RequestOptions): APIPromise>; //# sourceMappingURL=mediaPostMediasImportUrl.d.ts.map