import { StepWithResponse } from "."; import type { Description } from "../description"; import { BuildedCutStep } from "./builded/cut"; import type { ContractResponse, PresetGenericResponse } from "../response"; import { type Duplo } from "../duplo"; import type { DroppedValue, Floor } from "../floor"; import type { CurrentRequestObject } from "../request"; import { type MybePromise } from "@duplojs/utils"; export type CutReturnValue = DroppedValue | PresetGenericResponse; export type Cut = (floor: Omit, "drop">, request: Request) => MybePromise; export declare class CutStep extends StepWithResponse { drop: string[]; constructor(cutFunction: Cut, drop: string[], responses?: R[], descriptions?: Description[]); build(instance: Duplo): Promise; static insertBlockName: { before: >(interpolationValues: GenericInterpolationValues) => string; beforeTreatResult: >(interpolationValues: GenericInterpolationValues) => string; beforeIndexingResult: >(interpolationValues: GenericInterpolationValues) => string; after: >(interpolationValues: GenericInterpolationValues) => string; }; }