import type { Config } from "./config.js"; import type { Logger } from "./logger.js"; export declare const DEFAULT_CONFIG_PATH = "sidekiq.json"; export interface CliOptions { configPath: string; configPathProvided: boolean; concurrency?: number; environment?: string; queues?: string[]; requirePaths?: string[]; tag?: string; timeout?: number; verbose: boolean; showHelp: boolean; showVersion: boolean; } export declare const parseArgs: (argv: string[]) => CliOptions; export declare const resolveEnvironment: (cliEnv?: string) => string | undefined; export declare const applyCliOptions: (config: Config, options: CliOptions, loadedRequirePaths?: string[]) => { config: Config; requirePaths: string[]; }; export interface ShutdownDeps { logger: Logger; stop: () => Promise; exit: (code: number) => void; } export interface ShutdownHandler { (signal: string): Promise; isShuttingDown: () => boolean; } export declare const createShutdownHandler: (deps: ShutdownDeps) => ShutdownHandler; //# sourceMappingURL=cli-helpers.d.ts.map