import type { LocalMediaManifest } from '../content/media-manifest';
export type LocalMediaFile = {
    identifier: string;
    filename: string;
    filePath: string;
    mimeType: string;
    checksum: string;
    data: Buffer;
};
export declare const MEDIA_DIR_NAME = "media";
export declare function loadLocalMediaFile(contentDir: string, identifier: string, manifest: LocalMediaManifest): Promise<LocalMediaFile | null>;
export declare function writeLocalMediaFile(contentDir: string, filename: string, data: Buffer): Promise<string>;
export declare function readLocalMediaChecksum(filePath: string): Promise<string>;
export declare function localMediaFileExists(filePath: string): Promise<boolean>;
