import type { LiveVersion } from '../../cache/types.ts';
import type { DropboxEntry } from './api.ts';
/**
 * A file's content token: its content_hash, or null. stat, readdir and read
 * all stamp by this, so both sides of a `read: fresh` check are the same kind.
 * server_modified is no token: Dropbox repeats it across same-size rewrites.
 */
export declare function tokenOf(value: unknown): string | null;
/** A looked-up entry's live tokens, null when it is no file. Mirrors Python's `live_of`. */
export declare function liveOf(entry: DropboxEntry | null): LiveVersion | null;
/**
 * The content token a download's result metadata names: what `resultOf`
 * parsed, or null. Mirrors Python's `result_token`.
 */
export declare function resultToken(result: Record<string, unknown> | null): string | null;
/**
 * The file metadata a download's `Dropbox-API-Result` carries, or null.
 * Dropbox sends it on a full and on a ranged (206) download, so a read learns
 * the file's token and name with no extra request. Mirrors Python's
 * `result_of`.
 */
export declare function resultOf(raw: string | null | undefined): Record<string, unknown> | null;
//# sourceMappingURL=fingerprint.d.ts.map