import type { DeepReadonly } from "../../package-graph/build.js"; import { type SkillPackAuthorityBinding } from "./skill-pack.js"; export declare const INSTALLED_SKILL_PACK_LIMITS: Readonly<{ maxTrustLockBytes: number; maxFileBytes: number; maxTotalBytes: number; maxFiles: 4096; maxDepth: 64; maxInputNodes: 100000; }>; export type InstalledSkillPackSnapshotErrorCode = "invalid-input" | "authority-refused" | "invalid-trust-lock" | "missing-promotion" | "duplicate-promotion" | "source-mismatch" | "extra-promotion" | "artifact-refused" | "installed-artifact-mismatch" | "unsafe-installed-artifact"; export declare class InstalledSkillPackSnapshotError extends Error { readonly code: InstalledSkillPackSnapshotErrorCode; constructor(code: InstalledSkillPackSnapshotErrorCode); } export interface InstalledSkillPackFile { memberId: string; path: string; sha256: string; mode: number; bytes: Buffer; } export interface InstalledSkillPackSnapshot { schemaVersion: 1; bindings: DeepReadonly; files: readonly Readonly[]; } /** * Prove current repo-local skill-pack bytes against exact authority and promotion receipts. * This is a read-only snapshot and makes no ownership or installation mutation claim. */ export declare function resolveInstalledSkillPackSnapshot(input: unknown): DeepReadonly;