export type NextFunc = () => unknown;
type StopSignal = {
    stopped: boolean;
    error?: Error;
};
export interface Resolver {
    Next(): unknown;
    nextFunc(): NextFunc | null;
    setNextFunc(fn: NextFunc | null): void;
}
export declare class Event implements Resolver {
    #private;
    Next(): unknown;
    next(): unknown;
    nextFunc(): NextFunc | null;
    setNextFunc(fn: NextFunc | null): void;
    setStopSignal(signal: StopSignal | null): void;
    getStopSignal(): StopSignal | null;
}
export {};
