@mdfriday/foundry
Version:
The core engine of MDFriday. Convert Markdown and shortcodes into fully themed static sites – Hugo-style, powered by TypeScript.
23 lines • 569 B
TypeScript
/**
* Author - TypeScript equivalent of Go's Author valueobject
* Represents author information
*/
export declare class Author {
private readonly _name;
private readonly _email;
constructor(name: string, email: string);
/**
* Get author name
*/
name(): string;
/**
* Get author email
*/
email(): string;
}
/**
* Factory function to create new Author
* TypeScript equivalent of NewAuthor function from Go
*/
export declare function newAuthor(name: string, email: string): Author;
//# sourceMappingURL=author.d.ts.map