import { OutputMode } from './constants.js'; import { Profile } from './profiles.js'; export interface Receipt { app: string; algo: string; identity_hash_partial: string; profile: Profile; profile_params: { mem_mb: number; parallel: number; }; generation: number; factor: number; workload_spec: { base_shards: number; penalty_shards: number; total: number; }; output_mode: OutputMode; fingerprint: string; public_key_hash: string | undefined; created: string; } export declare function createReceipt(params: { identity: string; profile: Profile; generation: number; factor: number; baseShards: number; penaltyShards: number; totalShards: number; fingerprint: string; outputMode: OutputMode; publicKey?: Uint8Array; }): Receipt; export declare function parseReceipt(json: string): Receipt; export declare function verifyIdentityHash(identity: string, receipt: Receipt): Promise; export declare function verifyPublicKeyHash(publicKey: Uint8Array, receipt: Receipt): Promise; //# sourceMappingURL=receipt.d.ts.map