import type { OptionDefinition } from "./types"; import type { DependencyManager } from "../types"; import type { WorkflowArea } from "./types"; export declare const ACTION_REF = "yowainwright/codependence@v1"; export declare const CHECKOUT_REF = "actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0"; export declare const DEFAULT_ACTION_SCHEDULE = "0 9 * * 1"; export declare const DEFAULT_TOKEN_SECRET: string; export declare const GENERATED_ACTION_HEADER = "# Generated by `codependence init actions`."; export declare const ASSIGNMENT_PATTERN: RegExp; export declare const CRON_SCHEDULE_PATTERN: RegExp; export declare const EXACT_TOOL_VERSION_PATTERN: RegExp; export declare const UPPERCASE_IDENTIFIER_PATTERN: RegExp; export declare const GO_TOOLCHAIN_VERSION_PATTERN: RegExp; export declare const GO_VERSION_PATTERN: RegExp; export declare const GO_MINOR_VERSION_PATTERN: RegExp; export declare const RUST_TOOLCHAIN_CHANNEL_PATTERN: RegExp; export declare const RUST_TOOLCHAIN_VERSION_PATTERN: RegExp; export declare const REGEX_SPECIAL_CHARACTERS_PATTERN: RegExp; export declare const MANAGER_PLACEHOLDER = ""; export declare const MISE_VERSION_PATTERN = "^\\s*\\s*=\\s*[\"']([^\"']+)[\"']\\s*$"; export declare const TOOL_VERSIONS_VERSION_PATTERN = "^\\s+(\\S+)"; export declare const ENVIRONMENT_VERSION_PATTERN = "^=(\\S+)\\s*$"; export declare const NODE_MANAGERS: Set; export declare const ACTION_MANAGERS: Set; export declare const VERSIONED_MANAGERS: Set; export declare const WORKFLOW_AREAS: WorkflowArea[]; export declare const WORKFLOW_LABELS: Record; export declare const OPTION_DEFINITIONS: OptionDefinition[]; export declare const HELP_TEXT = "\nCodependence - Enforce dependency version policy across your project\n\nUsage: codependence [command] [options]\n\nCommands:\n init [type] [items...] Initialize Codependence\n Types: rc, package, default, actions\n\nOptions:\n -t, --isTestingCLI Enable CLI only testing\n --isTesting Enable running fn tests w/o overwriting\n -f, --files [files...] File glob pattern\n --target [managers...] Run only selected manager targets\n --version [manager=version...] Exact tool versions for init actions\n --post-update-command [name=cmd...] Override generated lockfile commands\n --schedule [area=cron...] Override generated workflow schedules\n --token-secret GitHub PAT secret name for generated workflows\n --force Replace generated workflow files\n --lockfile [policy] Require lockfiles, or pass false to allow manifest-only updates\n -u, --update Update dependencies based on check\n -r, --rootDir Root directory to start search\n -i, --ignore [ignore...] Ignore glob pattern\n --debug Enable debugging\n --silent Enable mainly silent logging\n -v, --verbose Enable verbose logging (shows debug info)\n -q, --quiet Suppress all output except errors\n -cds, --codependencies [deps...] Dependencies to check\n -c, --config Path to a config file\n -s, --searchPath Path to do a config file search\n -y, --yarnConfig Enable yarn config support\n --level Update level: patch, minor, or major (default: major)\n -m, --mode verbose: only listed packages; precise: all except listed\n -l, --language Target language (nodejs, go, python, rust, docker, github-actions)\n -h, --help Show this help message\n --dryRun Show what would change without modifying files\n --interactive Choose which packages to update interactively\n --watch Watch for changes and re-check continuously\n --noCache Disable version caching for fresh results\n --format Output format: json, markdown, or table (default: table)\n --outputFile Write output to file instead of stdout\n\nExamples:\n # Get started\n codependence init Interactive setup wizard\n codependence init rc Create .codependencerc with all deps pinned\n codependence init rc react lodash Create .codependencerc with listed deps pinned\n codependence init actions Create split dependency update workflows\n codependence init actions --version uv=0.8.0\n Supply a missing exact tool version\n\n # Check and update\n codependence Check for outdated dependencies\n codependence --update Update all dependencies to latest\n codependence --update --dryRun Preview changes without modifying files\n\n # Check and update only specific packages (0.x compatible behavior)\n codependence --codependencies react lodash --update\n Only update react and lodash\n\n # Pin specific packages, update everything else\n codependence --permissive --codependencies react lodash --update\n Pin react & lodash, update everything else\n\n # Explicit compatibility mode: only check/update listed packages\n codependence --mode verbose --codependencies react lodash --update\n Only update react and lodash\n\n # Update level control\n codependence --level minor --update Only update within same major version\n codependence --level patch --update Only update within same minor version\n\n # Selective updates\n codependence --codependencies react vue --update\n Only update react and vue\n codependence --update --interactive Choose which packages to update\n\n # Monorepo & multi-language\n codependence --files '**/package.json' Update all package.json files in monorepo\n codependence --language python Check Python requirements.txt/pyproject.toml\n codependence --language go Check Go go.mod dependencies\n codependence --language rust Check Cargo.toml dependencies\n codependence --language docker Check Dockerfile image tags\n codependence --language github-actions Check workflow action refs\n\n # Development\n codependence --watch Watch mode - check every 30 seconds\n codependence --verbose Show performance metrics and cache stats\n codependence --noCache Bypass cache for fresh results\n\n # Output formats (useful for CI/CD)\n codependence --format json Output as JSON for programmatic use\n codependence --format markdown Output as Markdown for PR comments\n codependence --format json --outputFile deps.json\n Save JSON output to file\n"; export declare const ARGS_START_INDEX = 2;