import { RequestDetail } from '../../common';
import { RequestType } from '../fork';

export interface Pipe<T = RequestDetail> {
    (req: T): T;
}
export interface Cell {
    request: RequestDetail;
    pipes: Array<{
        pipe: Pipe<RequestDetail>;
        type: RequestType;
    }>;
    /**
     * @default false
     */
    isAborted: boolean;
}
export declare function getCurrentCell(): Cell | null;
export declare function setCurrentCell(cell: Cell | null): void;
//# sourceMappingURL=cell.d.ts.map