import { VGMConverter, ChipInfo } from "./vgm-converter";
import { VGMWriteDataCommand, VGMCommand, VGMWriteDataTargetId } from "vgm-parser";
import VGMWriteDataCommandBuffer from "./vgm-write-data-buffer";
import { OPLLVoice, OPLLVoiceVariant } from "ym-voice";
type OPLType = "ym3812" | "y8950" | "ym3526" | "ymf262";
export declare class YM2413ToOPLConverter extends VGMConverter {
    _regs: Uint8Array;
    _buf: VGMWriteDataCommandBuffer;
    _type: OPLType;
    _targetId: VGMWriteDataTargetId;
    _romVoices: OPLLVoice[];
    _lfoDepth: number;
    constructor(from: ChipInfo, to: ChipInfo, opts: {
        opllVariant?: OPLLVoiceVariant | string | null;
    });
    _y(addr: number, data: number, optimize?: boolean): void;
    getInitialCommands(): Array<VGMCommand>;
    _writeVoice(ch: number, v: OPLLVoice, modVolume: number | null, carVolume: number | null, key: boolean): void;
    _rflag: boolean;
    _updateVoice(ch: number): void;
    _convert(cmd: VGMWriteDataCommand): Array<VGMCommand>;
    convertCommand(cmd: VGMCommand): Array<VGMCommand>;
}
export {};
