import type { AVercelConfig } from '../config.js'; /** * Check if a command is disabled via config. * Returns the error message if disabled, null otherwise. * * Matches the top-level command (e.g., "deploy") and also * compound commands (e.g., "env add" matches disabled key "env add"). * * When "deploy" is disabled, also catches implicit deploy forms: * - No args (vercel's default = deploy) * - First arg is a deploy flag (--prod, --yes, etc.) * - First arg is a path (not a known subcommand and not a flag) */ export declare function isDisabled(command: string, args: string[], config: AVercelConfig): string | null; /** * Check for implicit deploy forms — HARDCODED block, not config-dependent. * Returns error message if implicit deploy detected, null otherwise. * * Catches: no args, --prod, --yes, path args (anything not a known subcommand/flag). */ export declare function isImplicitDeploy(args: string[]): string | null; //# sourceMappingURL=disabled.d.ts.map