import { $ } from '../../../../../../Class/$';
import { Functional } from '../../../../../../Class/Functional';
import { Done } from '../../../../../../Class/Functional/Done';
import { Fail } from '../../../../../../Class/Functional/Fail';
import { System } from '../../../../../../system';
import { AB } from '../../../../../../types/interface/AB';
import { TD } from '../../../../../../types/interface/TD';
export interface I {
    opt: TextDecodeOptions;
    decoder: TD & $;
    data: AB & $;
}
export interface O {
    text: string;
}
export default class Decode extends Functional<I, O> {
    constructor(system: System);
    f({ opt, decoder, data }: I, done: Done<O>, fail: Fail): Promise<void>;
}
