/**
 * CLI Types - Type definitions for command-line interface
 */
// ============================================================================
// Output Modes
// ============================================================================
/**
 * Output format modes supported by the CLI
 */
export const OutputMode = {
    /** Human-readable formatted output */
    HUMAN: 'human',
    /** Verbose output with extra details and stack traces for errors */
    VERBOSE: 'verbose',
    /** Machine-parseable JSON output */
    JSON: 'json',
    /** Minimal output, IDs only */
    QUIET: 'quiet',
};
/**
 * Default values for global options
 */
export const DEFAULT_GLOBAL_OPTIONS = {
    db: undefined,
    actor: undefined,
    signKey: undefined,
    signKeyFile: undefined,
    json: false,
    quiet: false,
    verbose: false,
    help: false,
    version: false,
};
/**
 * Factory for successful command results
 */
export function success(data, message) {
    return { exitCode: 0, data, message };
}
/**
 * Factory for error command results
 */
export function failure(error, exitCode = 1) {
    return { exitCode, error };
}
// ============================================================================
// Exit Codes (from spec)
// ============================================================================
export const ExitCode = {
    /** Success */
    SUCCESS: 0,
    /** General error */
    GENERAL_ERROR: 1,
    /** Invalid arguments */
    INVALID_ARGUMENTS: 2,
    /** Not found */
    NOT_FOUND: 3,
    /** Validation error */
    VALIDATION: 4,
    /** Permission error */
    PERMISSION: 5,
};
//# sourceMappingURL=types.js.map