import type { FafData } from '../core/types.js'; /** Detect the project stack from repo facts and build .faf data. A slot with * no evidence is left empty (`''`) — never a default. */ export declare function detectStack(dir: string): FafData; /** * {@link detectStack}'s data, and `facts`: the repo's fact for every stack * slot (by field — `runtime`, `database`), whatever the app-type — `''` when * the repo shows none. detectStack marks a slot its detected type leaves out * `slotignored`; `faf auto` fills such a slot from `facts` when the file's own * type uses it (a `backend` project whose repo reads as a CLI still gets * `runtime: Go` from go.mod). */ export declare function detectStackWithFacts(dir: string): { data: FafData; facts: Record; };