import type { LixEngine } from "../../engine/boot.js";
import type { LixFile } from "./schema.js";
/**
 * Selects file data with caching support.
 *
 * First checks the cache, and if not found, materializes the file data
 * and updates the cache for future reads.
 *
 * @example
 * const data = selectFileData({
 *   engine: lix.engine!,
 *   file: { id: "file_123", path: "/test.json", metadata: null },
 *   versionId: "version_456"
 * });
 */
export declare function selectFileData(args: {
    engine: Pick<LixEngine, "sqlite" | "getAllPluginsSync" | "executeSync">;
    file: Pick<LixFile, "id" | "path"> & Partial<Omit<LixFile, "id" | "path" | "data">>;
    versionId: string;
}): Uint8Array;
//# sourceMappingURL=select-file-data.d.ts.map