import { SF2Chunk } from '~/chunk';
import { Generator } from '~/types';
/**
 * Get all generators for either an preset generator chunk or a instrument generator chunk.
 *
 * TODO: Check if generator chunk is valid, by following the rules defined in the spec. See for
 * example: https://github.com/FluidSynth/fluidsynth/blob/v2.0.3/src/sfloader/fluid_sffile.c
 *
 * @param {SF2Chunk} chunk - The input chunk
 * @param {string} type - The type, can be 'pgen' or 'igen'
 */
export declare const getGenerators: (chunk: SF2Chunk, type: "pgen" | "igen") => Generator[];
