import { Command } from '@oclif/core'; import { OAuthCommand } from '@salesforce/b2c-tooling-sdk/cli'; import { type PreferencesClient } from '@salesforce/b2c-tooling-sdk'; /** * Flag for selecting the SCAPI Preferences instance type. * * Defaults to `development` — a real tier valid for both reads and writes. * `current` is accepted (handy for reads) but the SCAPI Preferences API * rejects it on writes, so it is never the default. */ export declare const instanceTypeFlag: import("@oclif/core/interfaces").OptionFlag; /** Shared `--mask-passwords` (plural) flag used by all instance-scoped preferences commands. */ export declare const maskPasswordsFlag: import("@oclif/core/interfaces").BooleanFlag; export type PreferenceAssignmentValue = boolean | null | number | Record | string | unknown[]; /** * Parse a single assignment expression for the preferences write commands. * * Operators: * - `key=value` string value * - `key:=json` raw JSON (number, bool, array, object) * - `key=@file` file contents as a string value * - `key:=@file` file contents parsed as JSON * - `key=` null (clears/unsets the attribute) * * The Preferences API does not coerce types, so callers must use `:=` to send * non-string JSON types. */ export declare function parsePreferenceAssignment(expr: string): { key: string; value: PreferenceAssignmentValue; }; /** Build a flat `{ [key]: value }` object from assignment expressions. */ export declare function buildAssignmentMap(exprs: string[]): Record; /** * Base command class for SCAPI Configuration Preferences API commands. * * Provides lazy-initialized read-only and read-write clients with proper * OAuth strategy and configuration. */ export declare abstract class PreferencesCommand extends OAuthCommand { private _preferencesClient?; private _preferencesRwClient?; /** Returns a read-only Preferences API client. */ protected get preferencesClient(): PreferencesClient; /** Returns a read-write Preferences API client. */ protected get preferencesRwClient(): PreferencesClient; private preferencesClientConfig; }