import { ImageData } from "blockhash-core";

//#region src/index.d.ts
declare function hash(filepath: string | Buffer, bits?: number | null, format?: string): Promise<string>;
declare function hashRaw(data: ImageData, bits: number): string;
declare function hexToBinary(s: string): string;
declare function binaryToHex(s: string): string;
declare const api: {
  hash: typeof hash;
  hashRaw: typeof hashRaw;
  hexToBinary: typeof hexToBinary;
  binaryToHex: typeof binaryToHex;
};
//#endregion
export { api as default };