import type { Post } from "./types.js"; /** * Persists a Reddit post. * * @param post Post to persist. * @param storageDirectory Base directory for storing posts (default: "./results"). */ export declare function savePost(post: Post, storageDirectory?: string): Promise; /** * Reads a persisted post. * * @param postId Subset of a Post to identify the write location. * @param storageDirectory Base directory for storing posts (default: "./results"). * @returns */ export declare function readPost(postId: { subreddit: string; created_utc: number; id: string; }, storageDirectory?: string): Promise; //# sourceMappingURL=storage.d.ts.map