/**
* This file was auto-generated by Fern from our API Definition.
*/
///
import * as environments from "../../../../environments";
import * as core from "../../../../core";
import * as fs from "fs";
import * as ElevenLabs from "../../..";
export declare namespace AudioNative {
interface Options {
environment?: core.Supplier;
xiApiKey?: core.Supplier;
}
interface RequestOptions {
timeoutInSeconds?: number;
maxRetries?: number;
}
}
export declare class AudioNative {
protected readonly _options: AudioNative.Options;
constructor(_options?: AudioNative.Options);
/**
* Creates AudioNative enabled project, optionally starts conversion and returns project id and embeddable html snippet.
* @throws {@link ElevenLabs.UnprocessableEntityError}
*/
create(file: File | fs.ReadStream, request: ElevenLabs.BodyCreatesAudioNativeEnabledProjectV1AudioNativePost, requestOptions?: AudioNative.RequestOptions): Promise;
/**
* Get the HTML snippet to embed the AudioNative player into a webpage.
* @throws {@link ElevenLabs.UnprocessableEntityError}
*/
getEmbedCode(requestOptions?: AudioNative.RequestOptions): Promise;
/**
* Get the HTML snippet to embed the AudioNative player into a webpage. The embedded player will not convert content from the webpage but instead play the specified project
* @throws {@link ElevenLabs.UnprocessableEntityError}
*/
getProjectEmbedCode(projectId: string, requestOptions?: AudioNative.RequestOptions): Promise;
}