import type { Image } from '../Image.js';
import type { Point } from '../geometry/index.js';
export interface CorrectBackgroundOptions {
    /**
     * @param background - Points that are considered the background of an image.
     */
    background: Point[];
    /**
     * @param order - Order of regression function.
     * @default `2`
     */
    order?: number;
    /**
     * Checks if the image background is light or dark. If the background is
     *  light, the output image will be inverted.
     * @default `'light'`
     */
    backgroundKind?: 'dark' | 'light';
}
/**
 * Corrects background from an image for baseline correction.
 * @param image - Image to subtract background from.
 * @param options - CorrectBackgroundOptions.
 * @returns Image with corrected baseline.
 */
export declare function correctBackground(image: Image, options: CorrectBackgroundOptions): Image;
//# sourceMappingURL=correctBackground.d.ts.map