import type { Diagnostic } from './compiler.js'; export interface CliResult { readonly exitCode: 0 | 1 | 2; readonly stdout: string; readonly stderr: string; } export declare const isMainModule: (moduleUrl: string, entrypoint: string | undefined) => boolean; export declare const packageVersion: string; export declare const versionResult: (binary: string) => CliResult; export declare const usage = "Usage:\n yarramate init [--no-pointer]\n yarramate design [--subject ] [--catalogue ] [--facilitate] [--json]\n yarramate apply [--json]\n yarramate ask [--json]\n yarramate ask \"\" | ... | [--budget ] [--neighbours ] [--json]\n yarramate ask --subjects [--kind ] [--status ] [--json]\n yarramate ask --kinds [--json]\n yarramate ask --advise \"\" [--budget ] [--neighbours ] [--catalogue ] [--json]\n yarramate ask --where \"\" | ... [--json]\n yarramate ask --next [--json]\n yarramate ask --open [--catalogue ] [--json]\n yarramate ask --compare [--json]\n yarramate ask --changed [--budget ] [--neighbours ] [--json]\n yarramate check [source.yaml ...] [--json] [--strict]\n yarramate reconcile [--json | --text]\n yarramate export graph [--out ]\n yarramate export markdown [--out ]\n yarramate export markdown --changed [--out ]\n yarramate export briefs --out [--budget ]\n yarramate export briefs --changed --out [--budget ]\n yarramate export rtm --out \n yarramate export responsibility --out \n yarramate export governance --out \n yarramate export xlsx --out \n yarramate import xlsx [--json]\n yarramate export likec4 [--changed ]\n"; export declare const diagnosticJson: (diagnostics: unknown) => string; export declare const checkResultJson: (ok: boolean, diagnostics: unknown, counted?: { readonly documents: number; readonly concepts: number; readonly relationships: number; readonly states: number; }, strict?: { readonly observations: number; readonly contradicted: number; }) => string; export declare const humanDiagnostics: (diagnostics: readonly Pick[]) => string; export declare const sortDiagnostics: (diagnostics: readonly T[]) => T[]; export declare const resolveCliWorkspaceSources: (paths: readonly string[], cwd: string, options?: { readonly includeAdapterMappings?: boolean; }) => { readonly ok: true; readonly paths: readonly string[]; readonly projections: readonly string[]; readonly evidence: readonly string[]; readonly contracts: readonly string[]; /** Pattern documents, which ride in `paths` and are not documents. */ readonly patterns: readonly string[]; /** * Question catalogues the workspace carries (#345). Handed over rather * than resolved-and-dropped, which is the #268 failure recorded below: * a category a manifest declares and no verb receives is ignored with * no symptom. */ readonly questions: readonly string[]; } | { readonly ok: false; readonly diagnostics: readonly Diagnostic[]; };