import type { PackageFileContent } from '../modules/manager/types';
import type { HostRuleSearchResult } from '../types';
export declare function checkGithubToken(packageFiles?: Record<string, PackageFileContent[]>): void;
export declare function isGithubPersonalAccessToken(token: string): boolean;
export declare function isGithubServerToServerToken(token: string): boolean;
export declare function isGithubFineGrainedPersonalAccessToken(token: string): boolean;
export declare function findGithubToken(searchResult: HostRuleSearchResult): string | undefined;
export declare function takePersonalAccessTokenIfPossible(githubToken: string | undefined, gitTagsGithubToken: string | undefined): string | undefined;
