import type { Logger } from '../../../../utils/logging.js'; import { type PackageManagerConfig } from '../../../../utils/packageManager.js'; import type { ReadResult } from '../../../configure/types.js'; import type { InternalLintResult } from '../../internal.js'; export type Patches = Patch[]; export type Patch = { apply: PatchFunction; description: string; }; export type PatchReturnType = { result: 'apply'; } | { result: 'skip'; reason?: string; }; export type PatchConfig = { mode: 'format' | 'lint'; manifest: ReadResult; packageManager: PackageManagerConfig; dir?: string; }; export type PatchFunction = (config: PatchConfig) => Promise; export declare const upgradeSkuba: (mode: "lint" | "format", logger: Logger, additionalFlags?: string[]) => Promise;