@mdfriday/foundry
Version:
The core engine of MDFriday. Convert Markdown and shortcodes into fully themed static sites – Hugo-style, powered by TypeScript.
26 lines (25 loc) • 586 B
TypeScript
export interface SuffixInfo {
suffix: string;
fullSuffix: string;
}
export declare class MediaType {
type: string;
mainType: string;
subType: string;
delimiter: string;
firstSuffix: SuffixInfo;
private mimeSuffix;
private suffixesCSV;
constructor(init: {
type: string;
mainType: string;
subType: string;
delimiter: string;
firstSuffix: SuffixInfo;
mimeSuffix: string;
suffixesCSV: string;
});
sub(): string;
getMimeSuffix(): string | undefined;
getSuffixList(): string[];
}