import { GitHubClient } from '../../types/github-client'; import { UpdateMode } from '../../types/update-mode'; import { TagInfo } from '../../types/tag-info'; interface GetCompatibleUpdateParameters { /** * Optional in-memory cache for resolved tag SHAs. */ shaCache?: Map; /** * Update mode that limits which tag can be selected. */ mode: Exclude; /** * Optional in-memory cache for action tags. */ tagsCache?: Map; /** * Current action version used as compatibility baseline. */ currentVersion: string | null; /** * Action name in `owner/repo` format (path suffix is allowed). */ actionName: string; } /** * Resolve the newest compatible update for an action. * * @param client - GitHub client instance. * @param parameters - Lookup parameters. * @returns Compatible target version and SHA, or null when none found. */ export declare function getCompatibleUpdate(client: GitHubClient, parameters: GetCompatibleUpdateParameters): Promise<{ sha: string | null; version: string; } | null>; export {};