import type { OnnxTensorData } from '../types/interfaces';
export type TypedTensorData = Float32Array | Float64Array | BigInt64Array | Int32Array | Int8Array | Uint8Array;
declare const BYTES_PER_ELEMENT: Record<OnnxTensorData['type'], number>;
export declare function typedArrayToBase64(data: TypedTensorData): string;
export declare function base64ToTypedArray(b64: string, type: OnnxTensorData['type']): TypedTensorData;
export declare function createTensorData(type: OnnxTensorData['type'], data: TypedTensorData, dims: number[]): OnnxTensorData;
export declare function parseTensorData(td: OnnxTensorData): {
    type: OnnxTensorData['type'];
    data: TypedTensorData;
    dims: number[];
};
export { BYTES_PER_ELEMENT };
//# sourceMappingURL=tensorUtils.d.ts.map