export type Slots<T> = {
    [K in keyof T]: (props?: T[K]) => JSX.Element | string | JSX.Element[];
} & {
    [name: string]: (props?: any) => JSX.Element | string | JSX.Element[];
};
export type ScopedSlots<T> = {
    [K in keyof T]: (props?: T[K]) => JSX.Element | string | JSX.Element[];
} & {
    [name: string]: (props?: any) => JSX.Element | string | JSX.Element[];
};
export type EventHandlers<E> = {
    [K in keyof E]?: (payload: E[K]) => void;
};
