import { Session } from '../session'; import { InferenceSession as InferenceSessionInterface } from './inference-session'; declare type InputType = InferenceSessionInterface.InputType; declare type RunOptions = InferenceSessionInterface.RunOptions; declare type OutputType = InferenceSessionInterface.OutputType; export declare class InferenceSession implements InferenceSessionInterface { session: Session; constructor(config?: InferenceSessionInterface.Config); loadModel(uri: string): Promise; loadModel(blob: Blob): Promise; loadModel(buffer: ArrayBuffer, byteOffset?: number, length?: number): Promise; loadModel(buffer: Uint8Array): Promise; run(inputFeed: InputType, options?: RunOptions): Promise; startProfiling(): void; endProfiling(): void; } export {};