1 | export declare function a_sume<T>(fn: () => Promise<T>, throws: (e: Error) => Error): Promise<T>;
|
2 | export declare function s_sume<T>(fn: () => T, throws: (e: Error) => Error): T;
|
3 | export declare function filenameOutsideFabLocations(filename: string): boolean;
|
4 | export declare function getContentType(pathname: string): string;
|
5 | export declare function getCacheHeaders(immutable: boolean): {
|
6 | 'Cache-Control': string;
|
7 | };
|
8 | export declare function matchPath<T>(lookup_table: {
|
9 | [pathname: string]: T;
|
10 | }, pathname: string): T | undefined;
|
11 | export declare const stripTrailingSlash: (str: string) => string;
|