import type { FileCollection } from 'file-collection'; import type { Ref, RefObject } from 'react'; import type { SaveIncludeOptions } from '../hooks/useExport.tsx'; import type { BlobObject } from '../utility/export.js'; export interface NMRiumRefAPI { getSpectraViewerAsBlob: () => BlobObject | null; getNMRiumFile: (option: SaveIncludeOptions) => Promise; loadFiles: (files: File[]) => void; loadFileCollection: (fileCollection: FileCollection) => void; } export declare function useNMRiumRefAPI(ref: Ref | undefined, rootRef: RefObject): void; //# sourceMappingURL=NMRiumRefAPI.d.ts.map