import { type FenceInstance } from '../orgrt/fence.js'; import { type CatalogEntry } from './types.js'; export type CatalogFence = Pick; /** Returns the scanner, or null when it is unavailable. */ export type FenceLoader = () => Promise; export interface PackageInspection { /** Set when the package as a whole is unusable; nothing may be staged. */ fatal?: string; verdict: 'clean' | 'quarantine'; accepted: string[]; rejected: { path: string; reason: string; }[]; requestedTools: string[]; scanner: { ok: boolean; blocked: boolean; summary: string; }; } export declare const MAX_FILE_BYTES: number; export declare const MAX_MARKDOWN_FILES = 100; export declare const SKIP_DIRS: Set; /** * True when `text` carries Markdown that a platform executes as a shell * command — as written, or in the body Claude Code cuts from it (the leading * `\n` stands in for its prefix, so a `!` at body start counts as preceded by * whitespace). */ export declare const shellExecSyntax: (text: string) => boolean; /** Inspect a package directory (the staged temp copy). Never writes. */ export declare function inspectPackage(dir: string, kind: CatalogEntry['kind'], opts: { root: string; fence?: FenceLoader; }): Promise; //# sourceMappingURL=scan.d.ts.map