declare module 'ml-convolution' { export enum BorderType { CONSTANT = 'CONSTANT', CUT = 'CUT' } export function directConvolution( input: ArrayLike, kernel: ArrayLike, borderType?: BorderType ): number[]; export class DirectConvolution { public constructor( size: number, kernel: ArrayLike, borderType?: BorderType ); public convolve(input: ArrayLike): number[]; } export function fftConvolution( input: ArrayLike, kernel: ArrayLike, borderType?: BorderType ): number[]; export class FFTConvolution { public constructor( size: number, kernel: ArrayLike, borderType?: BorderType ); public convolve(input: ArrayLike): number[]; } }