import type { DetailedHTMLProps, HTMLAttributes } from "react";
type KcRenderRolesAttrs = HTMLAttributes & {
roles?: string;
match?: string;
resource?: string;
"role-kind"?: string;
};
declare global {
namespace React {
namespace JSX {
interface IntrinsicElements {
"kc-render-authenticated": DetailedHTMLProps<
HTMLAttributes,
HTMLElement
>;
"kc-render-guest": DetailedHTMLProps<
HTMLAttributes,
HTMLElement
>;
"kc-login-button": DetailedHTMLProps<
HTMLAttributes,
HTMLElement
>;
"kc-logout-button": DetailedHTMLProps<
HTMLAttributes,
HTMLElement
>;
"kc-account-link": DetailedHTMLProps<
HTMLAttributes & { "redirect-uri"?: string },
HTMLElement
>;
"kc-render-roles": DetailedHTMLProps<
KcRenderRolesAttrs,
HTMLElement
>;
}
}
}
}
export {};