import { Functional } from '../../../../Class/Functional';
import { Done } from '../../../../Class/Functional/Done';
import { Fail } from '../../../../Class/Functional/Fail';
import { System } from '../../../../system';
import { $U } from '../../../../types/interface/async/$U';
import { IO } from '../../../../types/IO';
export interface I<T> {
    graph: $U;
    type: IO;
    pinId: string;
}
export interface O<T> {
    has: boolean;
}
export default class HasPin<T> extends Functional<I<T>, O<T>> {
    constructor(system: System);
    f({ graph, pinId, type }: I<T>, done: Done<O<T>>, fail: Fail): void;
}
