import { Consumer, Peek, UnaryFunction } from '@jamashita/anden-type'; import { DeadConstructor, Schrodinger } from '@jamashita/genitore-schrodinger'; import { Chrono } from './Chrono'; import { ISuperposition, SReturnType } from './ISuperposition'; export declare class SuperpositionInternal implements ISuperposition, Chrono { private schrodinger; private readonly plans; private readonly errors; static of(func: Consumer>, errors: Iterable>): SuperpositionInternal; protected constructor(func: Consumer>, errors: Iterable>); accept(value: Exclude): void; catch(errors: Iterable>): void; decline(error: D): void; get(): Promise>; getErrors(): Set>; private handle; ifAlive(consumer: Consumer>): this; ifContradiction(consumer: Consumer): this; ifDead(consumer: Consumer): this; map(mapper: UnaryFunction, SReturnType>, ...errors: Array>): SuperpositionInternal; pass(accepted: Consumer>, declined: Consumer, thrown: Consumer): this; peek(peek: Peek): this; recover(mapper: UnaryFunction>, ...errors: Array>): SuperpositionInternal; serialize(): string; private settled; terminate(): Promise>; throw(cause: unknown): void; toString(): string; transform(alive: UnaryFunction, SReturnType>, dead: UnaryFunction>, ...errors: Array>): SuperpositionInternal; } //# sourceMappingURL=SuperpositionInternal.d.ts.map