import type { NumericArray, JsonValue } from "./types";
export declare function fileExists(filePath: string): boolean;
export declare function isFloat32ArrayInstance(arr: any): boolean;
export declare function ensureAbsolutePath(filePath: string): string;
export declare function convertToFloat32Array(arr: NumericArray, index?: number, metadata?: JsonValue): Float32Array;
export declare class VectorConversionError extends Error {
    index?: number | undefined;
    metadata?: JsonValue | undefined;
    constructor(message: string, index?: number | undefined, metadata?: JsonValue | undefined);
}
export declare function writeFileHeader(tmpPath: string, vectors: number, dims: number): Promise<void>;
//# sourceMappingURL=utils.d.ts.map