import { AniraWasmInstance } from '../factory';
import { BaseWrapper, PossiblePointer } from '../wrappers/BaseWrapper';
import { InferenceConfig } from '../wrappers/InferenceConfig';
/**
 * TypeScript wrapper for JSBackendBase.
 * Each instance is identified by its C++ pointer and carries its own
 * `process` implementation that the inference worker dispatches to.
 */
export declare class JSBackendBase extends BaseWrapper {
    /** Pointer to the C++ InferenceConfig used to create this processor. */
    inferenceConfigPtr: number;
    constructor(wasmInstance: AniraWasmInstance, inferenceConfig: PossiblePointer<InferenceConfig>);
    init(): Promise<void>;
    /**
     * Destroy this buffer and free memory
     */
    destroy(): void;
    /**
     * Process buffers. Called by the inference worker when C++ invokes the
     * JS callback. Override in a subclass to implement custom processing.
     */
    process(inputVecPtr: number, outputVecPtr: number): void;
}
//# sourceMappingURL=JSBackendBase.d.ts.map