import type { ScoreResult } from './types.js'; /** True when the .faf text's `project.type` line carries faf's * `# found: no classifying signals — fallback` note: the type is the * `library` detection fell back to, not a fact, and decides no slot. */ export declare function typeIsFallback(text: string): boolean; /** Which hint lines {@link typedNoneHints} gives. */ export interface TypedNoneHintOptions { /** Also give the line for a slot the app-type leaves out (default true). * `faf auto` passes false: by then it has marked those slots. */ outOfType?: boolean; } /** * One line for each slot that `result` scores as empty and that holds typed * words, by the file's app-type (`project.type`): * - a slot the app-type needs: * ` says '' — this app-type needs it, so it counts as empty until filled.` * - a slot the app-type leaves out (before `faf auto` has run): * ` says '' — this app-type doesn't use it; faf auto marks it slotignored.` * A file whose type faf does not know, or whose type is the `library` * detection fell back to (see {@link typeIsFallback}), gives the first line * for the slots a library needs (as faf's detection reads such a file) and no * second line. Reads `yaml` only; nothing is written. YAML that does not parse * to a mapping gives no lines. */ export declare function typedNoneHints(yaml: string, result: Pick, opts?: TypedNoneHintOptions): string[];