/**
 * Tries to detect the `platform` from a url.
 *
 * @param url the url to detect `platform` from
 * @returns matched `platform` if found, otherwise `null`
 */
export declare function detectPlatform(url: string): 'azure' | 'bitbucket' | 'gitea' | 'github' | 'gitlab' | null;
export declare function noLeadingAtSymbol(input: string): string;
export declare function parseJson(content: string | null, filename: string): unknown;
export declare function parseJsonWithFallback(content: string, context: string): unknown;
