import { Mat, Graph, NetOpts } from '.'; export declare class Net { W1: Mat; b1: Mat; W2: Mat; b2: Mat; constructor(opt: { W1: any; b1: any; W2: any; b2: any; }); constructor(opt: NetOpts); private isFromJSON; private isFreshInstanceCall; private initializeFromJSONObject; private initializeAsFreshInstance; update(alpha: number): void; static toJSON(net: Net): {}; forward(state: Mat, graph: Graph): Mat; private computeOutput; static fromJSON(json: { W1: any; b1: any; W2: any; b2: any; }): Net; private static has; }