import type { MoonshineCreateIntentRecognizerConfig, MoonshineAssetModelConfig, MoonshineCancelTranscriptionResult, MoonshineInitializeResult, MoonshineIntentRecognizerResult, MoonshineMemoryModelConfig, MoonshineModelConfig, MoonshineProcessUtteranceResult, MoonshineTranscriptionResult, MoonshinePcmTranscribeOptions } from './types/interfaces'; export interface NativeMoonshineModule { addAudio(sampleRate: number, samples: number[]): Promise<{ success: boolean; }>; addAudioForTranscriber(transcriberId: string, sampleRate: number, samples: number[]): Promise<{ success: boolean; }>; addAudioToStream(streamId: string, sampleRate: number, samples: number[]): Promise<{ success: boolean; }>; addAudioToStreamForTranscriber(transcriberId: string, streamId: string, sampleRate: number, samples: number[]): Promise<{ success: boolean; }>; addListener(eventName: string): void; clearIntents(intentRecognizerId: string): Promise<{ success: boolean; }>; createTranscriberFromAssets(config: MoonshineAssetModelConfig): Promise; createTranscriberFromFiles(config: MoonshineModelConfig): Promise; createTranscriberFromMemory(config: MoonshineMemoryModelConfig): Promise; createIntentRecognizer(config: MoonshineCreateIntentRecognizerConfig): Promise; createStream(): Promise<{ streamId: string; success: boolean; }>; createStreamForTranscriber(transcriberId: string): Promise<{ streamId: string; success: boolean; }>; cancelCurrentTranscriptionForTranscriber(transcriberId: string): Promise; errorToString(code: number): Promise; getIntentCount(intentRecognizerId: string): Promise; getIntentThreshold(intentRecognizerId: string): Promise; getVersion(): Promise; initialize(config: MoonshineModelConfig): Promise; loadFromAssets(config: MoonshineAssetModelConfig): Promise; loadFromFiles(config: MoonshineModelConfig): Promise; loadFromMemory(config: MoonshineMemoryModelConfig): Promise; release(): Promise<{ released: boolean; }>; releaseTranscriber(transcriberId: string): Promise<{ released: boolean; }>; releaseIntentRecognizer(intentRecognizerId: string): Promise<{ success: boolean; }>; removeListeners(count: number): void; removeStream(streamId: string): Promise<{ success: boolean; }>; removeStreamForTranscriber(transcriberId: string, streamId: string): Promise<{ success: boolean; }>; processUtterance(intentRecognizerId: string, utterance: string): Promise; registerIntent(intentRecognizerId: string, triggerPhrase: string): Promise<{ success: boolean; }>; setIntentThreshold(intentRecognizerId: string, threshold: number): Promise<{ success: boolean; }>; start(): Promise<{ success: boolean; }>; startTranscriber(transcriberId: string): Promise<{ success: boolean; }>; startStream(streamId: string): Promise<{ success: boolean; }>; startStreamForTranscriber(transcriberId: string, streamId: string): Promise<{ success: boolean; }>; stop(): Promise<{ success: boolean; }>; stopTranscriber(transcriberId: string): Promise<{ success: boolean; }>; stopStream(streamId: string): Promise<{ success: boolean; }>; stopStreamForTranscriber(transcriberId: string, streamId: string): Promise<{ success: boolean; }>; transcribeFromSamples(sampleRate: number, samples: number[], options?: MoonshinePcmTranscribeOptions): Promise; transcribeFromSamplesForTranscriber(transcriberId: string, sampleRate: number, samples: number[], options?: MoonshinePcmTranscribeOptions): Promise; transcribeWithoutStreaming(sampleRate: number, samples: number[]): Promise; transcribeWithoutStreamingForTranscriber(transcriberId: string, sampleRate: number, samples: number[]): Promise; unregisterIntent(intentRecognizerId: string, triggerPhrase: string): Promise<{ success: boolean; }>; } export declare const MOONSHINE_EVENT_NAME = "MoonshineTranscriptEvent"; export declare function isMoonshineNativeAvailable(): boolean; export declare function getMoonshineUnavailableReason(): string | undefined; export declare function requireNativeMoonshineModule(): NativeMoonshineModule; //# sourceMappingURL=NativeMoonshine.d.ts.map