import type { ModuleOptions } from '../../../module'; import type { GithubRawRelease, GithubRepositoryOptions, GithubContributorsQuery, GithubReleasesQuery, GithubRepositoryReadme, GithubRepository, GithubCommitsQuery } from '../../types'; export declare function decodeParams(params?: string): Record; export declare function githubGraphqlQuery(query: string, options: Partial): Promise; export declare const parseRelease: (release: GithubRawRelease, githubConfig: GithubRepositoryOptions) => Promise; export declare function overrideConfig(config: ModuleOptions, query: GithubRepositoryOptions): GithubRepositoryOptions; export declare function fetchRepository({ api, owner, repo, token }: GithubRepositoryOptions): Promise; export declare function fetchRepositoryContributors({ max }: Partial, { api, owner, repo, token }: GithubRepositoryOptions): Promise<{ avatar_url: any; login: any; }[]>; export declare function fetchCommits({ date, source }: Partial & { date: Date; }>, { owner, repo, branch, token }: GithubRepositoryOptions): Promise; export declare function fetchFileContributors({ source, max }: Partial, { owner, repo, branch, token }: GithubRepositoryOptions & { maxContributors?: number; }): Promise<{ avatar_url: string; name: string; login: string; }[]>; export declare function fetchReleases(query: Partial, { api, repo, token, owner }: GithubRepositoryOptions): Promise<{}>; export declare function fetchReadme({ api, owner, repo, token }: GithubRepositoryOptions): Promise;