import type { PackageFileContent } from '../modules/manager/types';
import type { CombinedHostRule } 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: CombinedHostRule): string | undefined;
export declare function takePersonalAccessTokenIfPossible(githubToken: string | undefined, gitTagsGithubToken: string | undefined): string | undefined;
