import { Functional } from '../../../../Class/Functional';
import { Done } from '../../../../Class/Functional/Done';
import { Fail } from '../../../../Class/Functional/Fail';
import { System } from '../../../../system';
import { Spec } from '../../../../types';
import { $U } from '../../../../types/interface/async/$U';
export interface I<T> {
    unit: $U;
}
export interface O<T> {
    spec: Spec;
}
export default class _Spec<T> extends Functional<I<T>, O<T>> {
    constructor(system: System);
    f({ unit }: I<T>, done: Done<O<T>>, fail: Fail): void;
}
