import { type OptionValues } from './encoding/Options.js'; export type InternalExampleDefinition = { /** * Device this example is for */ machine: string; /** * Subdirectory and file name relative to formats directory */ path: string; /** * Adapter identifier */ adapter: string; options: OptionValues; /** * Hash (MD5) of the resulting WAVE file (44100 Hz, 8 Bit) that has successfully been loaded (retroload -l 0 -o /dev/stdout ... | md5sum). */ hash: string; /** * Instructions how to load the example. */ instructions: string; /** * When and on which device the example has successfully been tested. */ tests: string[]; }; export type ExampleDefinition = { /** * Device this example runs on */ machine: string; /** * Encoding adapter name (format) */ adapter: string; /** * URL to example file for download */ url: string; /** * Options to pass to encode function */ options: OptionValues; /** * Instructions how to load the example */ instructions: string; }; export declare function getExamplesInternal(): InternalExampleDefinition[]; export declare function getExamples(): ExampleDefinition[]; export declare function getLocalPath(example: InternalExampleDefinition): string; export declare function getUrl(example: InternalExampleDefinition): string;