import { type ParsedArgs } from "@cotal-ai/core"; import { type OutputWarning, type ResolvedPreference } from "@cotal-ai/workspace"; export declare const configFlags: readonly [{ readonly name: "user"; readonly type: "boolean"; readonly description: "read or write your own defaults, with no space's values"; }, { readonly name: "space"; readonly short: "s"; readonly type: "string"; readonly value: ""; readonly description: "read or write your personal values for one space"; }, { readonly name: "verbose"; readonly short: "v"; readonly type: "boolean"; readonly description: "include the preferences file and revision"; }, { readonly name: "json"; readonly short: "j"; readonly type: "boolean"; readonly description: "structured output on stdout"; }, { readonly name: "plain"; readonly type: "boolean"; readonly description: "plain line-oriented output"; }]; /** * `cotal config [get | set | unset ]`: personal preferences. Bare `config` * and `get` show the value each key resolves to, where it came from and what it shadows. `set` and * `unset` change the user's defaults, or one space's with `--space`. */ export declare function config(args: ParsedArgs): Promise; /** A harness must name a connector this workstation knows, so a typo is refused at the write. * `persona create --harness` takes the same check. */ export declare function checkHarness(value: string): void; /** A variable that wins with a value `config set` refuses still wins, as it always has. It is named * in a warning, so the mistake shows before a launch or an attach reads it. */ export declare function invalidEnvironmentValues(settings: readonly ResolvedPreference[]): OutputWarning[]; //# sourceMappingURL=config.d.ts.map