import type { TConstructor, TypedArray } from "./typedArray";
/**
 * Loads data as a typed array from a string (URL), number array, or any typed array.
 * If the input is a URL, it loads the data from the URL. Supports binary float32 files,
 * PNG images (with absolute float values) and json files storing number arrays.
 *
 * @param data - The data to load (string URL, base 64 encoded string, number[], or any typed array like Float32Array)
 * @param type - The targeted TypedArray type (e.g., any typed array like Float32Array)
 * @returns A Promise resolving to the targeted TypedArray or null if input is invalid
 */
export declare function loadDataArray<T extends TypedArray>(data: string | number[] | TypedArray, type: TConstructor<T>): Promise<T>;
/**
 * For debugging: triggers a download of a Float32Array as a binary file named 'propertiesData.bin'.
 *
 * @param data - The Float32Array to dump
 */
export declare function debug_dumpToBinaryFile(data: Float32Array, size: number | [number, number]): void;
