import { type AdapterDefinition } from './adapter/AdapterDefinition.js'; import { type OptionDefinition, type OptionValues } from './Options.js'; import { type Annotation } from './recorder/Annotations.js'; /** * Get all encoding adapter definitions */ export declare function getEncodingAdapters(): AdapterDefinition[]; /** * Get all encoding adapter options in a single array */ export declare function getAllEncodingOptions(): OptionDefinition[]; /** * Try to identify tape archive file by its data and filename * * @returns adapter name on success, otherwise undefined */ export declare function identify(data: Uint8Array, filename: string): string | undefined; /** * Holds the result of encode functions */ export type EncodingResult = { data: T; annotations: Annotation[]; }; /** * Encode a tape archive file as unsigned 8 bit samples (1 channel, 44100 Hz sample rate) */ export declare function encodeUint8(adapterName: string, data: Uint8Array, optionValues: OptionValues): EncodingResult; /** * Encode a tape archive file as WAV file (1 channel, 8 bit unsigned, 44100 Hz sample rate) */ export declare function encodeUint8Wav(adapterName: string, data: Uint8Array, optionValues: OptionValues): EncodingResult; /** * Encode a tape archive file as 32 bit floating point samples (1 channel, 44100 Hz sample rate) */ export declare function encodeFloat(adapterName: string, data: Uint8Array, optionValues: OptionValues): EncodingResult;