/// /// /** * Class representing a personalized welcome card. */ declare class WelCard { private name; private author; private color; private brightness; private thumbnail; private server; /** * Sets the name for the welcome card. * * @param name - The name to display on the card. * @returns The instance of the WelCard class for method chaining. */ setName(name: string): this; /** * Sets the author for the welcome card. * * @param author - The author to display on the card. * @returns The instance of the WelCard class for method chaining. */ setAuthor(author: string): this; /** * Sets the color for the welcome card. * * @param color - The color to use for text. * @returns The instance of the WelCard class for method chaining. */ setColor(color: string): this; /** * Sets the brightness adjustment for the welcome card. * * @param brightness - The brightness adjustment value. * @returns The instance of the WelCard class for method chaining. */ setBrightness(brightness: number): this; /** * Sets the thumbnail image URL for the welcome card. * * @param thumbnail - The URL of the thumbnail image. * @returns The instance of the WelCard class for method chaining. */ setThumbnail(thumbnail: string): this; /** * Sets the server information for the welcome card. * * @param server - The server information to display. * @returns The instance of the WelCard class for method chaining. */ setServer(server: string): this; /** * Builds and generates the personalized welcome card image. * * @returns A promise that resolves to a PNG image buffer of the welcome card. * @throws Error if required parameters (name or author) are missing. */ build(): Promise; } export { WelCard };