/** * #toast.ts * * Code generated by ts-proto. DO NOT EDIT. * @packageDocumentation */ export declare enum ToastAppearance { NEUTRAL = 0, SUCCESS = 1, UNRECOGNIZED = -1 } export type ToastLeadingElement = { /** Icon name */ icon?: string | undefined; /** Emoji name */ emoji?: string | undefined; /** Username */ avatar?: string | undefined; }; export type ToastTrailingElement = { /** Text button */ label?: string | undefined; /** Icon button */ icon?: string | undefined; }; export type Toast = { /** Text to display on the toast */ text: string; /** Additional styling based on what this toast represents */ appearance?: ToastAppearance | undefined; /** Content to display before the text */ leadingElement?: ToastLeadingElement | undefined; /** Content to display after the text */ trailingElement?: ToastTrailingElement | undefined; }; //# sourceMappingURL=toast.d.ts.map