import { Tensor } from '../tensor'; export interface ElementWiseCostFunction { cost(x1: T, x2: T): T; der(x1: T, x2: T): T; dispose(): void; } export declare class SquareCostFunc implements ElementWiseCostFunction { constructor(); private halfOne; cost(x1: T, x2: T): T; der(x1: T, x2: T): T; dispose(): void; }