UNPKG

794 BTypeScriptView Raw
1import { Github, Link } from './types';
2import type { default as Fellow, FormatOptions } from 'fellow';
3export declare function getGithubSlug(data: {
4 homepage?: string;
5 repository?: string | {
6 url?: string;
7 };
8}): string | null;
9export declare function getPeopleHTML(people: Fellow[], opts?: FormatOptions): string;
10export declare function getPeopleTextArray(people: Fellow[], opts?: FormatOptions): string[];
11export declare function getFileUrl(data: {
12 github: Github;
13}, filename: string): string;
14export declare function getLink({ url, text, title }: Link): string;
15export declare function replaceSection(names: string | string[], source: string, inject: string | Function): string;
16export declare function trim(str: string): string;
17//# sourceMappingURL=util.d.ts.map
\No newline at end of file