import { AProc } from "./aproc.js";
/**
 * Recursively folds input into `[-thresh .. +thresh]` interval and
 * amplifies it with `amp` (default: 1/thresh).
 *
 * @remarks
 * [Interactive graph](https://www.desmos.com/calculator/lkyf2ag3ta)
 *
 * @param thresh - fold threshold
 * @param amp - post amplifier
 */
export declare const foldback: (thresh?: number, amp?: number) => Foldback;
export declare class Foldback extends AProc<number, number> {
    protected _thresh: number;
    protected _amp: number;
    constructor(_thresh?: number, _amp?: number);
    next(x: number): number;
    threshold(): number;
    setThreshold(t: number): void;
    amp(): number;
    setAmp(a: number): void;
}
//# sourceMappingURL=foldback.d.ts.map