import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient"; import { type NormalizedClientOptions } from "../../../../BaseClient"; import * as core from "../../../../core"; import * as ElevenLabs from "../../../index"; export declare namespace AudioNativeClient { type Options = BaseClientOptions; interface RequestOptions extends BaseRequestOptions { } } export declare class AudioNativeClient { protected readonly _options: NormalizedClientOptions; constructor(options?: AudioNativeClient.Options); /** * Creates Audio Native enabled project, optionally starts conversion and returns project ID and embeddable HTML snippet. * * @param {ElevenLabs.BodyCreatesAudioNativeEnabledProjectV1AudioNativePost} request * @param {AudioNativeClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link ElevenLabs.UnprocessableEntityError} * * @example * import { createReadStream } from "fs"; * await client.audioNative.create({ * name: "name" * }) */ create(request: ElevenLabs.BodyCreatesAudioNativeEnabledProjectV1AudioNativePost, requestOptions?: AudioNativeClient.RequestOptions): core.HttpResponsePromise; private __create; /** * Get player settings for the specific project. * * @param {string} project_id - The ID of the Studio project. * @param {AudioNativeClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link ElevenLabs.UnprocessableEntityError} * * @example * await client.audioNative.getSettings("21m00Tcm4TlvDq8ikWAM") */ getSettings(project_id: string, requestOptions?: AudioNativeClient.RequestOptions): core.HttpResponsePromise; private __getSettings; /** * Updates content for the specific AudioNative Project. * * @param {string} project_id * @param {ElevenLabs.BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIdContentPost} request * @param {AudioNativeClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link ElevenLabs.UnprocessableEntityError} * * @example * import { createReadStream } from "fs"; * await client.audioNative.update("21m00Tcm4TlvDq8ikWAM", {}) */ update(project_id: string, request: ElevenLabs.BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIdContentPost, requestOptions?: AudioNativeClient.RequestOptions): core.HttpResponsePromise; private __update; /** * Finds an AudioNative project matching the provided URL, extracts content from the URL, updates the project content, and queues it for conversion and auto-publishing. * * @param {ElevenLabs.BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost} request * @param {AudioNativeClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link ElevenLabs.UnprocessableEntityError} * * @example * await client.audioNative.updateContentFromUrl({ * url: "https://elevenlabs.io/blog/the_first_ai_that_can_laugh/" * }) */ updateContentFromUrl(request: ElevenLabs.BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost, requestOptions?: AudioNativeClient.RequestOptions): core.HttpResponsePromise; private __updateContentFromUrl; }