deep-chat
Version:
Customizable chat component for AI APIs
14 lines • 456 B
TypeScript
import { StatefulStyles } from './styles';
export type EventToFunction = {
[K in keyof GlobalEventHandlersEventMap]?: (event: Partial<GlobalEventHandlersEventMap[K]>) => void;
} & {
[eventName: string]: (event: CustomEvent) => void;
};
export interface HTMLClassUtility {
events?: EventToFunction;
styles?: StatefulStyles;
}
export type HTMLClassUtilities = {
[className: string]: HTMLClassUtility;
};
//# sourceMappingURL=html.d.ts.map