// Types for ./storedText-read.mjs: the stored-text read path in plain JS. import type { Stats } from "node:fs"; export const STORED_TEXT_SUFFIX: ".zst"; export function isStoredTextName(name: string): boolean; export function plainNameOf(name: string): string | null; export function logicalEntries(entries: Iterable): string[]; export function readdirLogical(dir: string): Promise; export function frameContentSize(head: Uint8Array): number | null; export function decodeStoredBytes(bytes: Buffer, label?: string): Promise; export function readStoredText(dir: string, name: string): Promise; export function readStoredText(dir: string, name: string, encoding: "utf8"): Promise; export function readStoredTextHead(dir: string, name: string, bytes: number): Promise; export function statStoredText(dir: string, name: string): Promise<{ form: "plain" | "zst"; stats: Stats }>; export function storedTextLogicalSize(dir: string, name: string): Promise;