/**
 * What the project files on this computer prove about the build map, with no
 * agent and no network (plan 2026-11-03-extension-build-map §6.2, phase 1).
 *
 * SYNCED COPY: @extenshi/mcp ships this file byte-identical (with png.ts and
 * build-map-store.ts, which it imports), so its get_build_map reads the same
 * facts when the author's map is not running; build-map-store-sync.test.ts in
 * that package fails when the copies drift. Edit this one, then copy it over.
 * Imports stay inside that set: node, @extenshi/contracts, the store and png.ts.
 * build-map-facts.ts (CLI only) adds the records `extenshi scan` and
 * `extenshi ai-visibility` leave, and the live Dojo readiness.
 *
 * Every fact is a sentence the inspector shows as the reason a step is done,
 * so the author can check it. Probes are conservative: a step is done only
 * when a file says so; anything a file cannot prove (research, the permission
 * audit, which modules the author wants, a store submission) stays to the
 * author's marks and the agents' reports. Settings are what the code and the
 * Dojo decisions suggest; the author's explicit choices win over them.
 *
 * Sources, in order: the extension manifest and the files it names; the source
 * tree (bounded scan for known SDK calls); the project's store folder and
 * packages; the Dojo binding cached in `.extenshi/project.json` — taken from
 * whichever checkout of the repository holds the freshest one, since worktrees
 * bind separately — or the live workspace document in its place.
 *
 * `proof` says where each fact is (the file, relative to the map's home, or the
 * Dojo record), so the evidence journal can point at it (plan §6.2.1).
 */
import { type BuildFactProof, type BuildFacts } from '@extenshi/contracts';
type Json = Record<string, any>;
/**
 * sha256 of the placeholder icons the scaffold commits (16, 32, 48 and 128 px,
 * shared-types/extension-placeholder-icons.ts): loadable, and never an icon the
 * author chose. build-map-files.test.ts pins them to that module.
 */
export declare const PLACEHOLDER_ICON_SHA256: readonly string[];
/** The Dojo record named by facts that the project's store listings prove. */
export declare const DOJO_STORE_LISTINGS_RECORD = "store listings";
/** The bound Dojo project as a live read has it; facts use only its workspace document. */
export type LiveDocument = {
    projectId: string;
    document?: Json;
};
export type ProjectFacts = BuildFacts & {
    proof: Record<string, BuildFactProof>;
    project: {
        name?: string;
        version?: string;
        manifest?: string;
        projectId?: string;
        homepage?: string;
    };
    /** Where the binding came from, when it is not the home checkout. */
    bindingFrom?: string;
};
/** The extension manifest of a project directory, or the first candidate that parses as one. */
export declare function findManifest(dir: string): Promise<{
    file: string;
    manifest: Json;
} | undefined>;
/** The Dojo project id bound in any checkout of the project (the freshest binding wins). */
export declare function boundProjectId(checkouts: readonly string[]): Promise<string | undefined>;
/**
 * Facts the files prove for the project whose map lives in `home`. `checkouts`
 * are the same project directory in every worktree (home first); the binding
 * may sit in any. `live` stands in for the cached workspace document, only for
 * the project the binding names.
 */
export declare function readFileFacts(home: string, checkouts?: readonly string[], live?: LiveDocument): Promise<ProjectFacts>;
export {};
//# sourceMappingURL=build-map-files.d.ts.map