import type { ArchiveCodec } from "./codec.js"; /** What a home is worth keeping: configuration and authored content. */ export declare const ARCHIVE_INCLUDES: readonly ["config.yaml", "cron", "docs", "knowledge", "org", "secrets", "skills"]; /** * Reproducible caches and nested checkouts. A skill that vendors its own git * clone can be larger than the rest of the home put together, and none of it is * content the operator would lose. Each pattern carries a leading wildcard-slash * so it matches at any depth in both bsdtar and GNU tar, the top level included, * since every entry is emitted relative to the home directory. */ export declare const ARCHIVE_EXCLUDES: readonly ["*/node_modules", "*/tmp", "*/uploads", "*/.git", "*/.venv", "*/__pycache__"]; export interface ArchiveResult { uncompressedBytes: number; compressedBytes: number; sha256: string; } /** Writes one home's archive and refuses to hand back one that does not decode * to everything tar put into it. */ export declare function createHomeArchive(home: string, destination: string, codec: ArchiveCodec): Promise; /** Extracts an archive written by {@link createHomeArchive} into `home`. */ export declare function extractHomeArchive(archive: string, home: string, codec: ArchiveCodec): Promise; //# sourceMappingURL=archive.d.ts.map