import { type Runtime } from './tiers.js'; import type { CommandResult } from './types.js'; export type { Runtime } from './tiers.js'; export type InitInput = { brand?: string; cwd: string; presets: string[]; runtime?: Runtime; /** Refused by name rather than read as "no preset". */ unknownFlags?: string[]; }; /** One URL so a schema bump is one edit across every door that writes `.oxlintrc.json`. */ export declare const OXLINT_SCHEMA = "https://raw.githubusercontent.com/oxc-project/oxc/main/npm/oxlint/configuration_schema.json"; export declare const runtimeOf: (cwd: string) => Runtime | undefined; export declare const execOf: (runtime: Runtime) => string; export type CountedWorkspace = { dir: string; name: string; }; export declare const REPORT_DIR = ".geonosis"; export declare const countersFor: (runtime: Runtime, law: string, workspaces?: readonly CountedWorkspace[], oxlint?: boolean, scripts?: readonly string[]) => Record[]; type Rules = { rules: Record; unanswered: [string, string][]; }; /** A rule whose option nobody answered is left out and reported (D-084), never written with a placeholder. */ export declare const rulesFor: (presets: string[], answers?: Record) => Rules; export declare const OXLINT_PLUGINS: Set; export declare const oxlintConfigFor: (rules: Record, extraIgnorePatterns?: string[]) => unknown; export declare const INIT_USAGE = "geonosis init --presets (not needed where geonosis.json declares a stack oxlint does not read) [--brand ] [--runtime pnpm|bun] \u2014 writes geonosis.json, .oxlintrc.json, geonosis.ratchet.json and gate-baseline.json where they are absent; a file that exists is kept, never overwritten. It also copies the kit\u2019s rule files into .claude/rules/geonosis/, marked with the kit version. It measures the rules each preset brings census-first (`typescript/no-explicit-any` for `frontend`): at 0 findings the rule is written at error, otherwise it is parked at off beside a census counter that may only shrink."; export declare const runInit: ({ brand, cwd, presets, runtime, unknownFlags }: InitInput) => Promise;